Last post Jul 21, 2014 03:27 AM by Kevin Shen - MSFT
Jul 19, 2014 05:05 AM|talhumy|LINK
I am facing a very weird scenario lately. I have page that uses several update panels, which some of them are nested inside of the others.
Each update panel is using ChildrenAsTriggers="False" and UpdateMode="Conditional".
The main Update Panel wraps a RadGrid control (Telerik control for DataGrid) .
Inside the EditFormTemplate of this control , I have another UserControl that imports data from a WCF service and display it.
Until now, this site was published in Server2003 , and lately we published it on another server using Server2012.
The problem is that in the new server (Server 2012) , the update panel stop rendering after opening some of the rows to edit mode.
The weird thing is that when I open firebug , to see the traffic , I can see that the request are send and received with no error.
More over, I couldn't find a common scenario for rows that are failed to open . Some times that page freeze after 5 successful attempts , and sometimes after 7 or 10.
Sometimes after the page freeze ,I can open another rows , and some times I can't.
Also, some times a specific attempt to open the same row for edit is successful and sometimes it doesn't ,but all the time the traffic is being sent and received correctly.
Any help will be appreciated,
Jul 19, 2014 05:48 AM|RagavanB|LINK
when UpdateMode="Conditional" then you have to update the update panel explicitly after the process complete. in the server method do all and at end of the method update the update panel using updatepanelname.Update().
Jul 20, 2014 03:26 AM|talhumy|LINK
Hi RagavanB ,Thank you for helping.
Server side code is working fine. I know that I should use the Update method.
I want to emphasize that this code is already running smooth my computer (Windows 8 ) and on our old server that is using server 2003
Jul 21, 2014 03:27 AM|Kevin Shen - MSFT|LINK
Since your project have been running very smooth in Server 2003 all the time,but It can not in the server 2012.
it is really werid . It is maybe related your environment settings in your server 2012.
The best option is that you can debug your application in your server 2012.