Access controls inside header template

2 posts, 0 answers
  1. Roukaya
    Roukaya avatar
    17 posts
    Member since:
    Aug 2012

    Posted 23 Apr 2013 Link to this post

    hi all , 
    I have a radpanel bar with header template (dynamically created) , 
    this header template contains multiple Image button with specific id for each one, 

    my question is : how can i access Image buttons from Item_click event of radpanelbar ..

    thanks in advance 
  2. Kate
    Kate avatar
    1898 posts

    Posted 23 Apr 2013 Link to this post

    Hello Roukaya,

    You can get the needed PanelItem (either by index or using the event argument in the server-side event) and using find the control from the header template by using either of the code lines below:
    // when used with the ItemClick event of the RadPanelBar
    //find panel item by index when used from a different control

    You can also find my simplified runnable page for further reference. 

    All the best,
    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. DevCraft R3 2016 release webinar banner
Back to Top