c# - UpdatePanel and Repeater render page unresponsive after post-back -


I have an UpdatePanel page wherein the repeater has a repeater with a number of objects and a text box when I value If I change, then posting back the page and underline the repeater with the number of updater items. It works in principle, but the page post is frozen after the back and does not accept any input - only in IE8 It works perfectly fine in Firefox. For example, the context menu is not visible when I right-click on the controls, and I can not enter text in the text box.

When I remove the update panel, the page works fine, but definitely refreshes. Each post back event is not related to the repeater on this page. I think I see it on other pages. What's the trick here?

  & lt; Asp: UpdatePanel id = "uPanel" runat = "server" UpdateMode = "conditionitional" EnableViewState = "true" ChildrenAsTriggers = "true" & gt; & Lt; ContentTemplate & gt; & Lt; ASP: Panel ID = "Panel 1" Runat = "Server" DefaultButton = "btn Submit" & gt; & Lt; ASP: Text Box ID = "TBITs" Rootat = "Server" AutoPostback = "True" On-Touch Changez = "Text-Change_ITOM" /> & Lt; Asp: Repeater id = "rptItems" runat = "server" OnItemDataBound = "repeaterItem_Databound" & gt; & Lt; ... & gt; & Lt; / ASP: Repeater & gt; Safe void textchanged_Items (Object Sender, EventArgs E) {try to change the method after // Repeat the repeater in a list / // list in the number of items in ReflowItemRepeater (); // This is not really necessary, since the database () // appears, the reason for an update. I tried it anyway uPanel.Update (); } Hold (Exception Pre) {ShowError (this, "error displaying item list.", Pre, true); }}  

I removed the update panel.

A month later, a different page, I'm still fighting again and again. The situation is similar to an updated panel, a repeater (actually 2 nested reporter), and a control in the repeater which activates a postback event. The server correctly processes the event and gives control, but the browser (IE8) never refreshes the update panel. The page is unresponsive, such as in some dead lock situation I can unlock it by clicking on a button that spreads another postback event (also in the update panel). But when this happens, the text boxes in the panel are not clickable or editable. Also, this happens only for the first time once I have "freed" the lock, or whatever it is, this page will not happen again, even when I repeat the same steps that do it Used to inspire

When this happens, the JIT debugger does not report anything.

I really set the trigger within your update panel.

I'm sure you do not have to call. Will be updated as updated panel when triggered

Try this:


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -