This is a migrated thread and some comments may be shown as answers.

RadDoc causes full postback inside RadAjaxPanel

1 Answer 75 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Gary
Top achievements
Rank 1
Gary asked on 21 Jul 2009, 02:08 AM
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).

Thanks!

1 Answer, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 22 Jul 2009, 09:31 AM
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,
Pero
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.
Tags
Dock
Asked by
Gary
Top achievements
Rank 1
Answers by
Pero
Telerik team
Share this question
or