RadDoc causes full postback inside RadAjaxPanel

2 posts, 0 answers
  1. Jay O'Brien
    Jay O'Brien avatar
    39 posts
    Member since:
    Dec 2008

    Posted 20 Jul 2009 Link to this post

    I am just trying to create a simple RadDoc inside a RadDocLayout that has some asp:TextBoxs and asp:Checkboxes. Some of the checkboxes are autopostback=true, so I wrapped the RadDockLayout inside a RadAjaxPanel. It kind of works ... most of the postbacks are AJAX calls (not full page postbacks). But if I move the doc window, then hit the checkbox (with AutoPostBack=true), it causes a full page postback rather than an AJAX call.

    Am I doing something wrong? Is there an easy way to "ajaxify" a simple RadDock (I only want 1 movable window and dont even use the RadDockZone). Perhaps RadDock is not the right class if I just want a single movable "floating" window on my page (the RadWindow seems to be best for pointing to other URLs).

  2. Pero
    Pero avatar
    1156 posts

    Posted 22 Jul 2009 Link to this post

    Hello Jay,

    If you need to ajaxify only the content of the RadDock, our suggestion is to place the RadAjaxPanel inside the RadDock's <ContentTemplate> and place the content itself (the ASP.NET Buttons and Checkboxes) in the AJAX Panel. This way the AJAX requests are always fired. 

    I hope this helps.

    Kind regards,
    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