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

Ajax in RadWindow

5 Answers 123 Views
Window
This is a migrated thread and some comments may be shown as answers.
Debashis Pyne
Top achievements
Rank 1
Debashis Pyne asked on 29 Jul 2010, 03:22 PM
Hi,

I have a couple of Radio buttons and drop downs in a Radwindow.
Now since these controls have "Auto postback" set to true, the radwindow refreshes whenever the values of the drop downs or radio buttons are changed.

How I stop these page refreshes?
Please suggest.

Thanks!

5 Answers, 1 is accepted

Sort by
0
Tom M
Top achievements
Rank 1
answered on 29 Jul 2010, 09:53 PM
Hi Debashis,

You could place the contents of the RadWindow in a RadAjaxPanel. This will take your postbacks and turn them into Ajax requests. Alternatively you could use the RadAjaxManager to accomplish the same.

Regards.
Tom
0
Graham
Top achievements
Rank 1
answered on 30 Jul 2010, 10:51 AM
Hello,

Folowing Debashis comment I am attempting to acchieve the same AJAX functionality within a RadWindow.

I have a simple project that contains a RadWindow containing a control with a RadListBox set to AutoPostback and update a TextBox on selection changed.

I have attempted to place the contents of the control (used within the RadWindow) inside a RadAjaxPanel however this caused some errors so I have commented that code out. I have now placed the whole RadWindowManager inside a RadAjaxPanel hower as the previous post by Debashis mentioned the RadWindow always re-loads (refreshes) on a control input click, in my example case when an item is selected from the RadListBox and the AutoPostback event is fired.

I would like to know if it is possible to use AJAX within the RadWindow without it refreshing on control AutoPostback.

Any advice you can provide would be greatly apreciated.

Graham Cannell,
Software Developer
0
Georgi Tunev
Telerik team
answered on 04 Aug 2010, 12:07 PM
Hello Graham,

I just answered your support ticket on the subject. In my reply I suggest to use RadAjaxManager that is set so the user control in RadWindow's template updates itself.


Kind regards,
Georgi Tunev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Daniel Gioulakis
Top achievements
Rank 1
answered on 14 Sep 2010, 01:23 AM
Please elaborate if you can how to properly configure RadAjaxManager settings for content within a RadWindow.  The only way I can get loading panels to work properly are when using a RadAjaxPanel within the RadWindow.  I'd like however to maintain use of RadAjaxManager instead.
0
Georgi Tunev
Telerik team
answered on 16 Sep 2010, 02:59 PM
Hi Daniel,

Could you please provide more details about your exact setup? How are currently RadAjaxManager and RadWindow configured?

Greetings,
Georgi Tunev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Window
Asked by
Debashis Pyne
Top achievements
Rank 1
Answers by
Tom M
Top achievements
Rank 1
Graham
Top achievements
Rank 1
Georgi Tunev
Telerik team
Daniel Gioulakis
Top achievements
Rank 1
Share this question
or