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

Issue Re-binding XMLDataSource

1 Answer 51 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Kyle
Top achievements
Rank 1
Kyle asked on 16 Dec 2010, 10:19 PM
Hi,

I have a TreeView on my page which is bound to an XMLDataSource that is generated from a SQL Stored Procedure within a static method.  The method takes a single parameter and returns the XML tree-structure based on the parameter.  This all works great.

If I change the root parameter for the XMLDataSource, the resulting XML is all good, but I cannot get the TreeView to update with the new data!  I've tried everything I can think of, setting the XMLDataSource to NULL beforehand, removing any caching, etc.

Any help would be greatly appreciated.

Thanks

1 Answer, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 21 Dec 2010, 04:03 PM
Hi Kyle ,

I've prepared a small example showing how to bind a TreeView to a different XML files based on a button click. I hope this will help, but if you continue to experience your problem send us a support ticket with your project.

All the best,
Dimitar Terziev
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
TreeView
Asked by
Kyle
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Share this question
or