Let's use Grid / Hierarchy with templates demo as example and let's say that I want to add image on contact information tab for all users that are older than 30 on the server side in RadGrid1_ItemCreated event:
How I would find the dob data to check if current item person is older than ... 30?
Thanks
protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e) { if (e.Item is GridNestedViewItem) { GridNestedViewItem gnvItem = (GridNestedViewItem)e.Item; e.Item.FindControl("InnerContainer").Visible = gnvItem.ParentItem.Expanded; }
How I would find the dob data to check if current item person is older than ... 30?
Thanks