Hello Rupesh,
From the code snippet that you have provided and the linked project, I am assuming that you are still using the Classic RadControls for ASP.NET. My suggestion is to upgrade them to the RadControls for ASP.NET AJAX via the approach, described in the following articles:
-
Migration from RadWindow for ASP.NET ("Classic") to RadWindow for ASP.NET AJAX.
-
Migrating From RadDock ASP.NET To ASP.NET AJAX.
Note that these resources are related to other RadControls, but the principle is the same.
Also, you may refer to the help article
Upgrading RadControls Trial to RadControls Developer license or newer version in order to upgrade to the latest version of the RadControls for ASP.NET AJAX.
As for rebinding the RadRotator on a click of a particular button, I recommend the online demo
Rotator / Image Gallery. The difference is that in your case, in the method
RebindRotator you will have to set your XMLDataSource as a DataSource for the RadRotator, instead of a
DataTable.
I hope that helps.
Regards,
Slav
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