Hello,
Please have a look at the following code:
I have a TemplateColumn in which I'm using FilterTemplate to apply filter on this column. The functionality is working fine in IE but when I open my page on Firefox or Chrome, all the columns having FilterTemplate become so wide that the grid blows off the page to the right. Once I write AllowFiltering="false" for that column, the column width comes back but obviously filtering is gone too.
A quick response in this regard will be highly appreciated.
Thanks.
~Ahmed
Please have a look at the following code:
<telerik:GridTemplateColumn HeaderText="Update" ItemStyle-Width="8%"> <FilterTemplate> <div class="filter-wrapper"> <div> <telerik:RadComboBox runat="server" ID="ddlUpdateFilter" AutoPostBack="true" OnSelectedIndexChanged="ddlUpdateFilter_SelectedIndexChanged" MarkFirstMatch="true" AllowCustomText="true" ShowToggleImage="false" Width="70px"> </telerik:RadComboBox> <img src="../Resources/Common/filter.png" runat="server" id="imgUpdateFilter" alt="filter" /> <asp:ImageButton runat="server" ID="imgClearUpdateFilter" ImageUrl="~/Resources/Common/clear-filter.gif" CommandName="ClearFilter" /> </div> </div> </FilterTemplate> <ItemTemplate> <asp:CheckBox runat="server" ID="chkEdit" Enabled="false" /> </ItemTemplate></telerik:GridTemplateColumn>I have a TemplateColumn in which I'm using FilterTemplate to apply filter on this column. The functionality is working fine in IE but when I open my page on Firefox or Chrome, all the columns having FilterTemplate become so wide that the grid blows off the page to the right. Once I write AllowFiltering="false" for that column, the column width comes back but obviously filtering is gone too.
A quick response in this regard will be highly appreciated.
Thanks.
~Ahmed