Hi,
I'm using the following grid. I need to get a reference to the combobox "cboGrdSysAppsFilter" that I have embedded in my filter template. I'm not quite sure how to do it, nor can I find any articles/forum posts that directly reference this. I've tried every way I know to access grid items, to no avail. I'm sure it's easy, just need to be pointed in the right direction.
Thanks,
Marty
I'm using the following grid. I need to get a reference to the combobox "cboGrdSysAppsFilter" that I have embedded in my filter template. I'm not quite sure how to do it, nor can I find any articles/forum posts that directly reference this. I've tried every way I know to access grid items, to no avail. I'm sure it's easy, just need to be pointed in the right direction.
Thanks,
Marty
<telerik:RadGrid OnDetailTableDataBind="GrdSysApps_DetailTableDataBind" ID="GrdSysApps" |
runat="server" OnNeedDataSource="GrdSysApps_OnNeedDataSource" AllowMultiRowSelection="True" |
ClientSettings-Scrolling-AllowScroll="true" AutoGenerateColumns="False" Width="99%" |
ClientSettings-Scrolling-ScrollHeight="150" GridLines="None" ShowGroupPanel="true" |
ClientSettings-Scrolling-SaveScrollPosition="true" ClientSettings-Scrolling-UseStaticHeaders="true" |
AllowFilteringByColumn="true" AllowSorting="true" ClientSettings-AllowColumnsReorder="false"> |
<MasterTableView DataKeyNames="SystemApplicationID" ClientDataKeyNames="SystemApplicationID"> |
<RowIndicatorColumn> |
<HeaderStyle Width="20px"></HeaderStyle> |
</RowIndicatorColumn> |
<ExpandCollapseColumn> |
<HeaderStyle Width="20px"></HeaderStyle> |
</ExpandCollapseColumn> |
<Columns> |
<telerik:GridBoundColumn DataField="SystemApplicationID" EmptyDataText="&nbsp;" |
UniqueName="column" Visible="False"> |
</telerik:GridBoundColumn> |
<custom:CustomClientSelectColumn UniqueName="SelectedRows"> |
<FilterTemplate> |
<asp:DropDownList Font-Size="X-Small" ID="cboGrdSysAppsFilter" AutoPostBack="true" |
runat="server" OnSelectedIndexChanged="cboSelected_SelectedIndexChanged"> |
<asp:ListItem>All</asp:ListItem> |
<asp:ListItem>Selected</asp:ListItem> |
<asp:ListItem>Not Selected</asp:ListItem> |
</asp:DropDownList> |
</FilterTemplate> |
</custom:CustomClientSelectColumn> |
<telerik:GridBoundColumn DataField="Name" EmptyDataText="&nbsp;" HeaderText="Name" |
UniqueName="column2"> |
</telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="Description" EmptyDataText="&nbsp;" HeaderText="Description" |
UniqueName="column3"> |
</telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="ManagerDel" EmptyDataText="&nbsp;" HeaderText="Mgr Approver" |
UniqueName="column5"> |
</telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="DirectorDel" EmptyDataText="&nbsp;" HeaderText="Dir Approver" |
UniqueName="column9"> |
</telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="Director2Del" EmptyDataText="&nbsp;" HeaderText="Dir2 Approver" |
UniqueName="column6"> |
</telerik:GridBoundColumn> |
</Columns> |
<DetailTables> |
<telerik:GridTableView DataKeyNames="SystemApplicationID" HierarchyLoadMode="ServerOnDemand" |
AllowSorting="false" AllowFilteringByColumn="false" Name="OriginalOwners"> |
<ParentTableRelation> |
<telerik:GridRelationFields MasterKeyField="SystemApplicationID" DetailKeyField="SystemApplicationID" /> |
</ParentTableRelation> |
<Columns> |
<telerik:GridBoundColumn HeaderText="Default System Manager" HeaderButtonType="TextButton" |
DataField="Manager"> |
</telerik:GridBoundColumn> |
<telerik:GridBoundColumn HeaderText="Default System Director" HeaderButtonType="TextButton" |
DataField="Director"> |
</telerik:GridBoundColumn> |
<telerik:GridBoundColumn HeaderText="Default System 2nd Director" HeaderButtonType="TextButton" |
DataField="Director2"> |
</telerik:GridBoundColumn> |
</Columns> |
</telerik:GridTableView> |
</DetailTables> |
</MasterTableView> |
<ClientSettings AllowDragToGroup="true"> |
<Selecting AllowRowSelect="true" /> |
<ClientEvents OnRowSelected="GrdSysApps_RowSelected" OnRowDeselected="GrdSysApps_RowDeselected" |
OnRowCreated="GrdSysApps_RowCreated" OnCommand="RaiseCommand" /> |
</ClientSettings> |
<FilterMenu EnableTheming="True"> |
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> |
</FilterMenu> |
</telerik:RadGrid> |