I have searched the internet and can't find out what my final problem is. What I have is RadGrid and I am creating a sub-column that is a bound column. Now, when I select the icon to open the sub-column the relation field's bound column appearing but even
though I am binding a List<> to it I get the message: No child records to display. Below is the code so if anyone can help with my final problem that would be great!
public partial class _Default : System.Web.UI.Page
{
protected RadGrid grid;
protectedstatic List<TestListItem> list = new List<TestListItem>();
protectedstatic List<TestListItem2> list2 = new List<TestListItem2>();
overrideprotectedvoid OnInit(EventArgs e)
{
DefineGridStructure();
base.OnInit(e);
}
privatevoid DefineGridStructure()
{
this.grid = new RadGrid();
this.grid.AutoGenerateColumns = false;
this.grid.NeedDataSource += new GridNeedDataSourceEventHandler(OnNeedDataSource);
this.grid.ItemDataBound += new GridItemEventHandler(grid_ItemDataBound);
this.grid.DetailTableDataBind += new GridDetailTableDataBindEventHandler(grid_DetailTableDataBind);
Member
29 Points
134 Posts
RadGrid: dynamically building a grid and adding a hierarchy with declarative relations row?
Apr 25, 2010 08:04 PM|sholdorf|LINK
I have searched the internet and can't find out what my final problem is. What I have is RadGrid and I am creating a sub-column that is a bound column. Now, when I select the icon to open the sub-column the relation field's bound column appearing but even though I am binding a List<> to it I get the message: No child records to display. Below is the code so if anyone can help with my final problem that would be great!
Participant
1780 Points
470 Posts
Re: RadGrid: dynamically building a grid and adding a hierarchy with declarative relations row?
May 12, 2010 04:01 AM|bloggernext|LINK
dude post it in their forum http://www.telerik.com/community/forums/aspnet-ajax/grid.aspx
the response is always quick.
Participant
1780 Points
470 Posts
Re: RadGrid: dynamically building a grid and adding a hierarchy with declarative relations row?
May 12, 2010 04:01 AM|bloggernext|LINK
dude post it in their forum http://www.telerik.com/community/forums/aspnet-ajax/grid.aspx
their response is always quick.