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

How to ajaxify a multiview that contains a RadScheduler and GridView?

1 Answer 77 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
asimptota
Top achievements
Rank 1
asimptota asked on 04 Jul 2012, 08:35 AM
I have a MultiView control, and on View2 I have several LinkButtons, GridView, RadScheduler and RadListBox with check boxes on every item. I want to be able to update the whole View2 on  RadScheduler_AppointmentUpdate event. How can I accomplish that? I've used RadAjaxManager and have set AjaxControlID="RadScheduler" . For AjaxUpdatedControl I've set View2 and got the error: "Controls added to a ViewCollection must be of type View"
On THIS thread you said that I should wrap the whole MultiView with a Panel. But after I do that, I'm not able to check any checkbox inside RadListBox. Edit: Checking RadListBox items is essential for populating appointments in RadScheduler.
Is it possible to refresh a MultiView's view on RadScheduler_AppointmentUpdate event?

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 09 Jul 2012, 02:36 PM
Hi asimptota,

You cannot ajaxify a single View. You should either ajaxify the whole MultiView control or the controls in the specific View. I assume that for your case it would be set to set the RadScheduler as ajax initiator and list all control you need to affect after the ajax call in the UpdatedControls collection.
However note that when working with MultiPage controls, it is suggested to ajaxify the whole MultiPage instead of making some of it's Views' controls initiators or updated controls.

Greetings,
Iana Tsolova
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Ajax
Asked by
asimptota
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or