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

RadGrid to update RadRotator

2 Answers 14 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lars
Top achievements
Rank 1
Lars asked on 08 Nov 2013, 10:18 AM
I have a Master RadGrid containing databound items. When selecting an item i change content in two child grids (contained in a TabStrip), this works fine. 
Like with the Grids, I would like to change the content on a Rotator (which is also in a tab), when one of the items in the grid is selected. I have tried to Rebind the datasource on my rotator in a item selected event on the grid. This however didn't work. Binding Rotator on Page_Load() works, but this is not what i want. 
Is it possible to do this async? (I want to get images for rotator when an item is selected)

2 Answers, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 13 Nov 2013, 11:38 AM
Hi Lars,

If SqlDataSource is used for the RadRotator you could use SelectParameters to filter the results. Similar approach is used in this online demo. The difference would be that the bound control would be RadRotator. This approach should work without the need to rebind RadRotator on Page_Load.

In order to Ajax-ify the RadTabStrip you could use an approach like the one illustrated in this demo. There RadAjaxManager is used to configure the the controls to perform Ajax requests.

If I have misunderstood your scenario could you provide a sample project where the problem is observed? This would enable us to further investigate the issue and provide an appropriate solution.

Regards,
Viktor Tachev
Telerik
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 the blog feed now.
0
Lars
Top achievements
Rank 1
answered on 14 Nov 2013, 08:18 AM
Thank you for your response Viktor,
I figured out a solution, similar to what you descibe. Although i use a webservice for picture source.
Tags
Grid
Asked by
Lars
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Lars
Top achievements
Rank 1
Share this question
or