RadGrid in Panel Bar

2 posts, 0 answers
  1. Larry Mrazek
    Larry Mrazek avatar
    4 posts
    Member since:
    Aug 2009

    Posted 19 Nov 2011 Link to this post

    Having trouble databinding a radGrid using the NeedDataStore ... using C#, but am having trouble with the syntax. I know that I should probably use the FindControl or FindItemByText ... but just need a kick in the right direction.



  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 21 Nov 2011 Link to this post

    Hello Larry,

    Check the following help documentation which explains Advanced data binding using NeedDataSource event.
    Advanced Data-binding (using NeedDataSource event)

    Also you can access the PanelBarItems as explained in this documentation.
    Sample Code -C#:
    protected void RadPanelBar2_ItemClick(object sender, Telerik.Web.UI.RadPanelBarEventArgs e)
     string val = RadPanelBar2.FindItemByValue("1").Text;

Back to Top