Wednesday, August 28, 2013
Monday, August 26, 2013
Friday, November 13, 2009
How to find current RadTabStrip in radgrid
- Go through all the RadTabStrip in grid
2. Following code for accessing the RadTabStrip placed in NestedViewTemplate on expanding the item.protected void RadGrid1_ItemCommand(object source, GridCommandEventArgs e)
{
foreach( GridNestedViewItem item in RadGrid1.MasterTableView.GetItems(GridItemType.NestedView))
{
RadTabStrip TabStrip = (RadTabStrip) item.FindControl("RadTabStrip1");
}
}
protected void RadGrid1_ItemCommand(object source, GridCommandEventArgs e)
{
if (e.CommandName == RadGrid.ExpandCollapseCommandName)
{
GridDataItem item = (GridDataItem)e.Item;
GridNestedViewItem nestedItem = (GridNestedViewItem)item.ChildItem;
RadTabStrip TabStrip = (RadTabStrip)nestedItem.FindControl("RadTabStrip1");
}
}
Labels:
display,
findcontrol,
how to,
radgrid,
RadTabStrip,
repeater,
telerik,
textbox,
value
Subscribe to:
Posts (Atom)