有没有办法做ASP.NET回发的低级调试 [英] Is there a way to do low-level debugging of ASP.NET PostBacks
问题描述
我在与我开发一个用户控件包含一个问题的ListView
绑定到一个的ICollection< T>
和 DataPager的
。什么我的发现是,被点击寻呼机链接时,回发启动和的Page_Load
和 Page_ preRender
事件打击,但我DataPager的的 PagePropertiesChanging
事件处理方法不会被解雇。我正在开发的控制是在Sitecore的网站,这有可能会导致使用客户端ID
的得到搞砸preventing回发事件进行正确的处理。
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.
我已经看到了下列问题,但他们似乎不是有一个解决这个问题的根本。 <一href=\"http://stackoverflow.com/questions/2153668/asp-net-postback-processed-without-events-being-fired\">Question 1 ,<一个href=\"http://stackoverflow.com/questions/2999817/listview-not-firing-onitemcommand-nor-iteminserting-after-$p$pventing-postback\">Question 2 。
I've already seen the following questions but they don't seem have a solution to this problem. Question 1, Question 2.
还有<一个href=\"http://connect.microsoft.com/VisualStudio/feedback/details/328680/problem-accessing-controls-clientid-on-asp-net-listviews-itemcreated\"相对=nofollow>这个bug 报道有关的ListView
。
推荐答案
你核对这个问题?
<一个href=\"http://stackoverflow.com/questions/2599100/gridview-empty-when-selectedindexchanged-called\">Gridview空当的SelectedIndexChanged称为
进一步阅读
这篇关于有没有办法做ASP.NET回发的低级调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!