Hi,
I was refering to some example of hierarchical grid at "http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/nestedviewtemplate/defaultcs.aspx".
One of the code line is as shown below bolded.
protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e)
{
if (e.Item is GridNestedViewItem)
{
e.Item.FindControl("InnerContainer").Visible = ((GridNestedViewItem)e.Item).ParentItem.Expanded;
}
}
When have this particular piece of code in my application it's throwing compilation error.
I am using "2008.2 1001" version of telerik dlls.
Do let me know the work around
I was refering to some example of hierarchical grid at "http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/nestedviewtemplate/defaultcs.aspx".
One of the code line is as shown below bolded.
protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e)
{
if (e.Item is GridNestedViewItem)
{
e.Item.FindControl("InnerContainer").Visible = ((GridNestedViewItem)e.Item).ParentItem.Expanded;
}
}
When have this particular piece of code in my application it's throwing compilation error.
I am using "2008.2 1001" version of telerik dlls.
Do let me know the work around