locked
Update Panel isn't rendering correctly RRS feed

  • Question

  • User-684972718 posted

    Hello,

    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,

    Kind regards,

    Tal Humy

    Saturday, July 19, 2014 5:05 AM

All replies

  • User-46109667 posted

    Hi

    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().

    Saturday, July 19, 2014 5:48 AM
  • User-684972718 posted

    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

    Sunday, July 20, 2014 3:26 AM
  • User1918509225 posted

    Hi talhumy,

    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.

    Best Regards,

    Kevin Shen. 

    Monday, July 21, 2014 3:27 AM