6 Answers, 1 is accepted
0
Obi-Wan Kenobi
Top achievements
Rank 1
answered on 11 Mar 2010, 11:56 AM
The RadRotator for ASP.NET AJAX control doesn't support client-side binding.
My suggestion is to add RadRotator in an UpdatePanel, get results from the WebService on the server and rebind the grid to the results on every ajax call.
My suggestion is to add RadRotator in an UpdatePanel, get results from the WebService on the server and rebind the grid to the results on every ajax call.
0
MOD MOD
Top achievements
Rank 1
answered on 11 Mar 2010, 01:53 PM
Hi ,
Can you help me with a sample ?
thanks in advance !
0
Hello,
You can see a similar scenario in our Live XML rotator example - http://demos.telerik.com/aspnet-ajax/rotator/examples/livexml/defaultcs.aspx
The rotator datasource is retrieved from a remote location - in this case a RSS feed, but it can be a web service request as well. The returned XML is used as data for the rotator. If your web service returns a different type of data (e.g. JSON), you will need to do some processing before you can feed it to the rotator.
To prevent the whole page from updating when you wish to update the rotator, simply wrap it and the button in a ajax panel or use the RadAjaxManager control to ajaxify it.
Best wishes,
Lini
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.
You can see a similar scenario in our Live XML rotator example - http://demos.telerik.com/aspnet-ajax/rotator/examples/livexml/defaultcs.aspx
The rotator datasource is retrieved from a remote location - in this case a RSS feed, but it can be a web service request as well. The returned XML is used as data for the rotator. If your web service returns a different type of data (e.g. JSON), you will need to do some processing before you can feed it to the rotator.
To prevent the whole page from updating when you wish to update the rotator, simply wrap it and the button in a ajax panel or use the RadAjaxManager control to ajaxify it.
Best wishes,
Lini
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
MOD MOD
Top achievements
Rank 1
answered on 16 Mar 2010, 09:29 AM
what I need is to display attachment file names . I have a page (similar to outlook) which contains a list of attachments . the number of files can be relatively big , about 10- 20 and I want to call a web service to get those names.
Each time when a page opened I need to get a file name list and fill a rotator with them .
Could you help me with a sample ?
thanks in advance .
0
Hi,
I have implemented a project retrieves a string from a Web Service method, splits it into a string array and binds the array to a RadRotator control. The demo is attached to the thread.
Kind regards,
Pero
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.
I have implemented a project retrieves a string from a Web Service method, splits it into a string array and binds the array to a RadRotator control. The demo is attached to the thread.
Kind regards,
Pero
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
MOD MOD
Top achievements
Rank 1
answered on 20 Mar 2010, 07:33 PM
Thanks for your replay .
Is it possible to data bind on client side ? all my logic is on client side .