I am working on an ASP.NET page, I have datetime pickers and other drop down lists, on selection change of drop down lists the datetime textchanged events get fired. However nothing is calling the events explicitly and there are no changes on the datetime pickers text that are causing the events to fire.
[UPDATE] - It seems this is happening only with the first DDL selection change event, the next time the datetime picker event doesn't get fired.
How can I know who is calling it? Is there some call stack for asp.net events?
new StackTrace(int).GetFrame(int)and tweak theintvalues to find the caller. Events also have asenderobject you can inspect which should be whatever triggered the event.senderparameter you should find it's a reference to the DDL.