or
| <input id="hdnProduct" runat="server" type="hidden" /> |
| <telerik:RadComboBox ID="rcbProduct" runat="server" EmptyMessage="All" HighlightTemplatedItems="true" AllowCustomText="true" |
| OnClientDropDownOpening="rcb_ClientDropDownOpening" OnClientDropDownClosing="rcb_ClientDropDownClosing" |
| OnClientSelectedIndexChanging="rcb_ClientSelectedIndexChanging" OnClientBlur="rcb_ClientBlur"> |
| <ItemTemplate> |
| <asp:CheckBox ID="chk" runat="server" onclick="rcbProduct_CheckBoxClicked();" /> |
| </ItemTemplate> |
| </telerik:RadComboBox> |
hi I have a radgrid with 1 detailtable. The master table is Members, the datakey is MemberId, the detailtable is Students, the datakey is StudentID. At runtime i can expand any mastertableview record to view the detailtable records. However once I click on export button i get this error: StudentID is neither a DataColumn nor a DataRelation for table Members. StudentID only exist in the StudentTable, not the Member table.... I could not understand why the Grid Exporting tries to find the StudentID in Members Table?
my export code is:
| RadGrid1.MasterTableView.HierarchyDefaultExpanded = true; |
| RadGrid1.MasterTableView.DetailTables[0].HierarchyDefaultExpanded = true; |
| RadGrid1.AllowPaging = false; |
| RadGrid1.MasterTableView.Rebind(); |
| RadGrid1.ExportSettings.OpenInNewWindow = true; |
| RadGrid1.MasterTableView.ExportToCSV(); |

| //temp way to rebind scheduler on the client |
| function refreshSchedulerClientSide() { |
| var scheduler = $find('RadScheduler1'); |
| scheduler.set_selectedDate(scheduler.get_selectedDate()); |
| } |