This is a migrated thread and some comments may be shown as answers.

RadGrid in Panel Bar

1 Answer 39 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Larry Mrazek
Top achievements
Rank 1
Larry Mrazek asked on 19 Nov 2011, 04:59 PM
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.

Thanks!

Larry

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 21 Nov 2011, 06:05 AM
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;
}

-Princy.
Tags
PanelBar
Asked by
Larry Mrazek
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or