ShowRefreshButton like RadGrid

3 posts, 1 answers
  1. Thomas
    Thomas avatar
    11 posts
    Member since:
    Sep 2010

    Posted 20 Oct 2011 Link to this post

    Hi,

    is it possible in TreeListe to show a Refresh-Button like in RadGrid?

    <CommandItemSettings ShowRefreshButton="true" ...

    Best Regards

    Tom

  2. Answer
    Andrey
    Admin
    Andrey avatar
    836 posts

    Posted 21 Oct 2011 Link to this post

    Hi Thomas,

    Thank you for contacting us.

    You could use any button to do this job. You just need to declare button and handle its OnClick event. In its body you should use FireCommandEvent method of RadTreeList and execute Rebind command. Note that this method is accessible only through specific item from the treelist. So if there are no items in RadTreeList this approach won't work.

    I am sending you an example project which is demonstrating the aforementioned approach. Let me know if I can assist you any further.

    Regards,
    Andrey
    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Thomas
    Thomas avatar
    11 posts
    Member since:
    Sep 2010

    Posted 24 Oct 2011 Link to this post

    Thank you!
Back to Top