StartTime.SelectedDate = TheScheduler.UtcToDisplay(master.Start);EndTime.SelectedDate = TheScheduler.UtcToDisplay(master.End);SubjectText.Text = master.Subject;DescriptionText.Text = master.Description;//On Load (RecurrenceRuleText retrieved from VS2010 Immediate Window)"DTSTART:20101227T000000Z\r\nDTEND:20101228T000000Z\r\nRRULE:FREQ=DAILY;COUNT=4;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR,SA,SU\r\n"//On Post-back (RecurrenceRuleText retrieved from VS2010 Immediate Window)"DTSTART:20000101T000000Z\r\nDTEND:20000102T000000Z\r\nRRULE:FREQ=DAILY;COUNT=4;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR,SA,SU\r\n"<label>Project : </label> <telerik:RadComboBox ID="ComboBoxProjects" Width="180px" runat="server" />protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { this.ComboBoxProjects.Items.Add(new RadComboBoxItem("- Search in -")); this.ComboBoxProjects.Items.Add(new RadComboBoxItem("All Platforms")); this.ComboBoxProjects.Items.Add(new RadComboBoxItem("ASP.NET")); this.ComboBoxProjects.Items.Add(new RadComboBoxItem("WinForms")); this.ComboBoxProjects.Items.Add(new RadComboBoxItem("Silverlight")); this.ComboBoxProjects.Items.Add(new RadComboBoxItem("WPF")); this.ComboBoxProjects.Items.Add(new RadComboBoxItem("Reporting")); }}I am trying to figure out how to determine which item parent or child grid item is being process in the ItemDataBound event. My data set has two tables and unique names but trying to use: e.Item.OwnerTableView.DataMember does not give me the name of the table. For the detail records I am using Dim parentItem As GridDataItem = e.Item.OwnerTableView.ParentItem to determine if it is a parent or child item but I need to change the header property but can not figure out how to do this. I tried using Dim headeritem As GridHeaderItem = DirectCast(e.Item, GridHeaderItem) to determine parent or child but am not sure how to accomplish.
Any ideas how I can easily determine at the header level if I am processing the parent or child header?
Thanks
John