Hi all, when i try to sort any column of Grid.. every column was disappeared. once i refresh the page its working f9.. this happens only in Firefox
below am giving the code
<igtbl:UltraWebGrid ID="UltraWebGrid_Asset" runat="server" EnableViewState="False" align="center" Width="100%" OnInitializeRow="UltraWebGrid_Asset_InitializeRow" OnPageIndexChanged="UltraWebGrid_Asset_PageIndexChanged"> <Bands> <igtbl:UltraGridBand> <Columns> <igtbl:TemplatedColumn IsBound="false" Key="Code" SortIndicator="Ascending" Width="7%"> <Header Fixed="false" Caption="Code" Title="Sort"> </Header> <CellTemplate> <%--<asp:HyperLink ID="HyperLink_Name" runat="server" ToolTip="View Asset" NavigateUrl='<%# Eval("Id", "~/view/pages/user/manage-asset-details.aspx?viewid={0}") %>' Text='<%# Eval("AssetCode") %>'> </asp:HyperLink>--%> <asp:HyperLink ID="HyperLink_Name" runat="server" ToolTip="View Asset" NavigateUrl='<%# GetUrl(Eval("Id"))%>' Text='<%# Eval("AssetCode") %>'> </asp:HyperLink> </CellTemplate> </igtbl:TemplatedColumn> <igtbl:TemplatedColumn IsBound="false" Key="Title" SortIndicator="Ascending" Width="20%"> <Header Fixed="false" Caption="Asset Name" Title="Sort"> <RowLayoutColumnInfo OriginX="1"></RowLayoutColumnInfo> </Header> <HeaderStyle CssClass="headerLeftAlign" HorizontalAlign="Left" /> <CellTemplate> <div style="float: left; padding-left: 8px;"> <asp:Label ID="Label_AssetName" runat="server" Text='<%# new RMS.Util.StringUtil().ShortenString((string)(new RMS.Util.StringUtil().StripHTML((string)(Eval("Name")))),45) %>' ToolTip='<%#Eval("Name") %>'></asp:Label> <asp:HyperLink runat="server" ID="HyperLink_more_Asset" Style="cursor: pointer;" CssClass="trigger" Text="more.." Visible="false" /> </div> </CellTemplate> <Footer> <RowLayoutColumnInfo OriginX="1"></RowLayoutColumnInfo> </Footer> </igtbl:TemplatedColumn> <igtbl:TemplatedColumn IsBound="false" Key="Parent" Width="8%" SortIndicator="Ascending"> <Header Fixed="false" Caption="Parent" Title="Sort"> <RowLayoutColumnInfo OriginX="2"></RowLayoutColumnInfo> </Header> <CellTemplate> <asp:Label ID="Label_Parent" runat="server"></asp:Label> </CellTemplate> <Footer> <RowLayoutColumnInfo OriginX="2"></RowLayoutColumnInfo> </Footer> </igtbl:TemplatedColumn> <igtbl:TemplatedColumn IsBound="false" Key="Owner" Width="8%" SortIndicator="Ascending"> <Header Fixed="false" Caption="Owner" Title="Sort"> <RowLayoutColumnInfo OriginX="2"></RowLayoutColumnInfo> </Header> <CellTemplate> <asp:Label ID="Label_Owner" runat="server"></asp:Label> </CellTemplate> <Footer> <RowLayoutColumnInfo OriginX="2"></RowLayoutColumnInfo> </Footer> </igtbl:TemplatedColumn> <igtbl:TemplatedColumn IsBound="false" Key="Tag" Width="8%" SortIndicator="Ascending"> <Header Fixed="false" Caption="Asset Tag" Title="Sort"> <RowLayoutColumnInfo OriginX="2"></RowLayoutColumnInfo> </Header> <CellTemplate> <asp:Label ID="Label_Tag" runat="server" Text='<%# Eval("AssetTag") %>'></asp:Label> </CellTemplate> <Footer> <RowLayoutColumnInfo OriginX="2"></RowLayoutColumnInfo> </Footer> </igtbl:TemplatedColumn> <igtbl:TemplatedColumn IsBound="false" Key="Cost" Width="8%" SortIndicator="Disabled"> <Header Fixed="false" Caption="Asset Cost" Title="Sort"> <RowLayoutColumnInfo OriginX="2"></RowLayoutColumnInfo> </Header> <CellTemplate> <asp:Label ID="Label_Cost" runat="server" Text='<%# Eval("AssetCosts") %>'></asp:Label> </CellTemplate> <Footer> <RowLayoutColumnInfo OriginX="2"></RowLayoutColumnInfo> </Footer> </igtbl:TemplatedColumn> <igtbl:TemplatedColumn IsBound="false" Key="Links" Width="6%" SortIndicator="Disabled"> <Header Fixed="false" Caption="Links" Title="Linked Entities"> <RowLayoutColumnInfo OriginX="2"></RowLayoutColumnInfo> </Header> <CellTemplate> <asp:HyperLink ID="HyperLink_LinkedDepartments" runat="server"><img src="../../static/images/rms1/department_icon13x15.png" alt="Linked Department(s)" title="Linked Department(s)" /></asp:HyperLink> <asp:HyperLink ID="HyperLink_LinkedRisks" runat="server"><img src="../../static/images/rms1/risk_icon13x15.png" alt="Linked Risk(s)" title="Linked Risk(s)" /></asp:HyperLink></div> </CellTemplate> <Footer> <RowLayoutColumnInfo OriginX="2"></RowLayoutColumnInfo> </Footer> </igtbl:TemplatedColumn> <igtbl:TemplatedColumn IsBound="false" Key="Actions" Width="7%" SortIndicator="Disabled"> <Header Fixed="false" Caption="Actions"> <RowLayoutColumnInfo OriginX="2"></RowLayoutColumnInfo> </Header> <HeaderStyle CssClass="borderNone" /> <CellTemplate> <div> <%--<asp:ImageButton ID="HyperLink_Edit" runat="server" ToolTip="Edit Asset" PostBackUrl='<%# Eval("Id", "~/view/pages/user/manage-asset-details.aspx?id={0}") %>' ImageUrl="~/view/static/images/rms1/icon_edit.png"></asp:ImageButton>--%> <asp:ImageButton ID="HyperLink_Edit" runat="server" ToolTip="Edit Asset" PostBackUrl='<%# GetEditUrl(Eval("Id"))%>' ImageUrl="~/view/static/images/rms1/icon_edit.png"></asp:ImageButton> <asp:LinkButton runat="server" ID="ImageButton_EntityDelete" AlternateText="Delete Asset" ToolTip="Delete Asset" OnClick='ImageButton_EntityDelete_Click' CommandArgument='<%#Eval("Id") %>'> <img src="../../static/images/trash_16x16.gif" /> </asp:LinkButton> </div> </CellTemplate> <Footer> <RowLayoutColumnInfo OriginX="2"></RowLayoutColumnInfo> </Footer> </igtbl:TemplatedColumn> </Columns> </igtbl:UltraGridBand> </Bands> <DisplayLayout AllowColSizingDefault="NotSet" AllowAddNewDefault="No" AllowSortingDefault="OnClient" BorderCollapseDefault="Separate" FixedHeaderIndicatorDefault="Button" NoDataMessage="No Data Found" NullTextDefault="No Data Found" HeaderClickActionDefault="SortMulti" LoadOnDemand="Xml" Name="UltraWebGrid_Asset" StationaryMargins="No" UseFixedHeaders="false" StationaryMarginsOutlookGroupBy="false" TableLayout="Auto" Version="4.00" AutoGenerateColumns="false" RowSelectorsDefault="No" RowSizingDefault="Free" CellPaddingDefault="0" CellSpacingDefault="0" GridLinesDefault="Both" Pager-PageSize="50"> <FrameStyle BackColor="Transparent" BorderColor="#EDEDED" BorderStyle="None" BorderWidth="0" CssClass="gridview_center borderNone" /> <Pager AllowPaging="True" MinimumPagesForDisplay="2" StyleMode="QuickPages"> <PagerStyle BorderStyle="None" BackColor="Transparent" ForeColor="#000000" HorizontalAlign="Center" /> </Pager> <EditCellStyleDefault HorizontalAlign="Center" VerticalAlign="Top" BorderStyle="None" BorderWidth="0px" BackColor="#999999" /> <FooterStyleDefault BackColor="#2183c0" ForeColor="White" Font-Bold="True" /> <HeaderStyleDefault Font-Bold="True" ForeColor="Black" CssClass="gridHeader" HorizontalAlign="Center" /> <RowStyleDefault BackColor="#FFFFFF" ForeColor="#000000" Height="24px" HorizontalAlign="Center" /> <GroupByRowStyleDefault BackColor="Control" BorderColor="Window"> </GroupByRowStyleDefault> <GroupByBox Hidden="True"> <BoxStyle BackColor="ActiveBorder" BorderColor="Window"> </BoxStyle> </GroupByBox> <AddNewBox> <BoxStyle BackColor="#FFFFFF"> <BorderDetails WidthTop="1px" /> </BoxStyle> </AddNewBox> <ActivationObject BorderColor="" BorderWidth=""> </ActivationObject> <FilterOptionsDefault> <FilterDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="None" BorderWidth="1px" CustomRules="overflow:auto;" Height="300px" Width="200px"> <Padding Left="2px" /> </FilterDropDownStyle> <FilterHighlightRowStyle BackColor="#151C55" ForeColor="White"> </FilterHighlightRowStyle> <FilterOperandDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="None" BorderWidth="1px" CustomRules="overflow:auto;"> <Padding Left="2px" /> </FilterOperandDropDownStyle> </FilterOptionsDefault> </DisplayLayout> </igtbl:UltraWebGrid>
Regards
Naag
Hi NaagC,
Please refer to the following thread:
http://community.infragistics.com/forums/p/56992/318838.aspx#318838
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://es.infragistics.com/support