Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > PanelBar > Add/Remove controls dynamically from client side

Not answered Add/Remove controls dynamically from client side

Feed from this thread
  • mirang Intermediate avatar

    Posted on Feb 8, 2012 (permalink)

    Is it possible to add and remove radtreeview to the radpanelbaritem dynamically from client side using javascript. I wanted to have a radpanel to which when the user expands a radpanelbaritem, a treeview is dynamically added to that from client side using javascript. Simillarly the panelbaritem which is being collapsed can go and remove all its children from client side using javascript. 
    In short i was looking at a solution to add/remove item templates dynamically from client side using javascript.

    Reply

  • Kate Kate admin's avatar

    Posted on Feb 8, 2012 (permalink)

    Hi Mirang,

    In general the scenario that you need to achieve is not officially supported, however, you could try using the jQuery - Templates as exemplified in this demo. Furthermore you can take a look at the following forum posts where a similar scenario is being described:
    http://www.telerik.com/community/forums/aspnet-ajax/treeview/adding-a-template-to-a-node-client-side.aspx 

    Regards,
    Kate
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > PanelBar > Add/Remove controls dynamically from client side
Related resources for "Add/Remove controls dynamically from client side"

[  ASP.NET PanelBar Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]