Search code examples
asp.netdebuggingpostbacksitecore

Is there a way to do low-level debugging of ASP.NET PostBacks


I'm having a problem with a user control I'm developing which contains a ListView bound to an ICollection<T> and a DataPager. What I'm finding is that when the pager links are clicked, a PostBack is initiated and the Page_Load and Page_PreRender events are hit, but my DataPager's PagePropertiesChanging event handler method is never fired. The control I'm developing is used in a Sitecore website which may possibly be causing ClientID's to get messed up preventing postback events to be handled correctly.

What I want to know is if there is any way to debug, at a low-level, the postbacks to see how postback information is mapped to the different event handlers.

I've already seen the following questions but they don't seem have a solution to this problem. Question 1, Question 2.

Also this bug (archived) reported about the ListView.


Solution

  • Did you check against this issue?

    Gridview empty when SelectedIndexChanged called

    Further reading

    typesThatShouldNotBeExpanded