Hi,
I am using Ultrawebgrid inside WARP, but during any postback or even when the hyperlink column is clicked, it looses its layout style.
Code is given below.
<igmisc:WebAsyncRefreshPanel ID="WebAsyncRefreshPanel1" runat="server" Height="100%" Width="100%"> <igtbl:UltraWebGrid ID="UltraWebGrid1" runat="server"> <Bands> <igtbl:UltraGridBand> <AddNewRow View="NotSet" Visible="NotSet"> </AddNewRow> <Columns> <igtbl:TemplatedColumn BaseColumnName="spec_id" Key="spec_id"> <CellTemplate> <asp:LinkButton ID="lnk" runat="server" Text="View" CommandArgument="<%# Container.Text %>" onclick="lnk_Click"></asp:LinkButton> </CellTemplate> </igtbl:TemplatedColumn> </Columns> </igtbl:UltraGridBand> </Bands> <DisplayLayout Name="UltraWebGrid1" RowHeightDefault="20px" RowSelectorsDefault="No" Version="4.00" SelectTypeRowDefault="Single"> <FrameStyle BorderColor="#999999" BorderStyle="Double" BorderWidth="3px" Cursor="Default"> </FrameStyle> <RowAlternateStyleDefault BackColor="Khaki"> <BorderDetails ColorLeft="Khaki" ColorTop="Khaki" /> </RowAlternateStyleDefault> <HeaderStyleDefault BackColor="#D4950D" BorderColor="Khaki" BorderStyle="Solid" ForeColor="Khaki"> <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" /> </HeaderStyleDefault> <RowStyleDefault BackColor="White" BorderColor="#D4950D" BorderStyle="Solid" BorderWidth="1px" ForeColor="#D4950D"> <Padding Left="3px" /> <BorderDetails ColorLeft="White" ColorTop="White" /> </RowStyleDefault> <SelectedRowStyleDefault BackColor="#F0CE86" ForeColor="White"> </SelectedRowStyleDefault> <ActivationObject BorderColor="Black" BorderWidth="" BorderStyle="Dotted"> </ActivationObject> <FilterOptionsDefault> <FilterDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px" CustomRules="overflow:auto;" Font-Names="Verdana,Arial,Helvetica,sans-serif" Font-Size="11px" Width="200px"> <Padding Left="2px" /> </FilterDropDownStyle> <FilterHighlightRowStyle BackColor="#151C55" ForeColor="White"> </FilterHighlightRowStyle> <FilterOperandDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px" CustomRules="overflow:auto;" Font-Names="Verdana,Arial,Helvetica,sans-serif" Font-Size="11px"> <Padding Left="2px" /> </FilterOperandDropDownStyle> </FilterOptionsDefault> </DisplayLayout> </igtbl:UltraWebGrid> </igmisc:WebAsyncRefreshPanel>
Hello,
You can have a look here.
With WARP panels and Update panels, the UltraWebCombo loses its style.
Probably the UltraWebGrid does the same, unfortunately.
https://es.infragistics.com/community/forums/f/retired-products-and-controls/54894/wcf-exception#54894
Try to use the uwg_InitializeLayout(object sender, LayoutEventArgs e) UltraWebGrid event handler to set the .css styles all the time (when postback and when not postback)