Issue Re-binding XMLDataSource

2 posts, 0 answers
  1. Kyle
    Kyle  avatar
    2 posts
    Member since:
    Oct 2010

    Posted 16 Dec 2010 Link to this post

    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
  2. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1268 posts

    Posted 21 Dec 2010 Link to this post

    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.
Back to Top