Get button click from dynamically added usercontrol

2 posts, 0 answers
  1. Joe
    Joe avatar
    10 posts
    Member since:
    Jun 2011

    Posted 09 Aug 2011 Link to this post


    I started working with this demo ( ) to help me with a method to create a new user account. What I have (in C#) is:

    master page
    content page

    So when the content page is loaded:

    1. I create root and child panelItems and load them into the radpanelbar
    2. load a previously created user control .ascx into the first panelItem.
    3. The user control will do some stuff (accept user input) and a button within the user control will be enabled to go to the next portion of the process.

    I want that button, (on the user control), to tell the radpanelbar control (on the content page) that it's OK to expand the next panelitem. How can I make that happen?
  2. Nikolay Tsenkov
    Nikolay Tsenkov avatar
    734 posts

    Posted 11 Aug 2011 Link to this post

    Hello Joe,

    You can handle the click of the button either server or client-side and then expand the appropriate item in the PanelBar.

    I assume that server side wouldn't make a challenge, so I will give few resources for the Client-Side API of RadPanelBar:
     - Basics:
     - RadPanelBar object API:
     - Demo of Client-Side API:

    I hope this helps.

    Nikolay Tsenkov
    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.

  3. DevCraft R3 2016 release webinar banner
Back to Top