Postback Problem

2 posts, 0 answers
  1. ajit
    ajit avatar
    46 posts
    Member since:
    Jun 2009

    Posted 16 Jun 2009 Link to this post

          I am have been trying to implement the "My portal " functionality as a user control. So i have a user control call master dock control. ascx in which i m calling the exchangerates.ascx. This entrire control is being rendered inside a sliding rad pane.  Well when i click submit on the exchange rate submit button it is creating an ugly poastback. However if i set the content page url of the pane to an aspx page on which i call this  call master dock control. ascx then it works fine.  Could you provide me any feedback on this...

  2. Pero
    Pero avatar
    1156 posts

    Posted 19 Jun 2009 Link to this post

    Hello Ajit,

    I have created a sample project that implements your idea. RadDocks are dynamically created in a WebControl (the contents of the DefaultCS.aspx file of "My Portal" example are in the Master.ascx file of my project), which is called in other WebControl (CallMaster.ascx). This last web control is called on the .aspx page in a RadSlidingPane. The submit button of the ExchangeRates.ascx is making an AJAX post back, the same way as in the online demo.

    I am not really sure what might cause the problem on your side, but a possible problem is when the docks are dragged rapidly (as is a case with the SlidingPane), before the previous request is finished, a JavaScript exception is thrown. So, my suggestion is to show loading panels during the AJAX post back. This way there will be enough time for any previous requests to be completed.


    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top