Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
50
UltraWebGrid Looses its style during postback
posted

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>

Parents Reply Children
No Data