views:

532

answers:

0

The title pretty much says it all. I have a grid with columns that start freezing only after a command event has triggered a postback to the AjaxManager. Here is a sample of my markup...

<PagerStyle Mode="NextPrevNumericAndAdvanced"/>

<ClientSettings>
    <Scrolling AllowScroll="true" UseStaticHeaders="true" FrozenColumnsCount="2"  />
</ClientSettings>

<MasterTableView DataKeyNames="AssignmentID" EditMode="InPlace" TableLayout="Fixed" >

    <EditItemStyle Width="165px" />
    <ItemStyle Width="165px" />
    <HeaderStyle Width="165px" HorizontalAlign="Center" VerticalAlign="Middle" Font-Bold="true" />

    <Columns >

        <rad1:GridTemplateColumn HeaderButtonType="None" HeaderText="Discard" UniqueName="DiscardColumn">
            <HeaderStyle Width="105px" />
            <ItemStyle Width="105px" HorizontalAlign="Center" />
            <HeaderTemplate>
                <input type="checkbox" class="DiscardCheckbox" id="HeaderCheckbox" onclick="" />
                <label for="HeaderCheckbox" id="HeaderCheckBoxLabel" >Check All</label>
            </HeaderTemplate>
            <ItemTemplate>
                <asp:CheckBox runat="server" CssClass="DiscardCheckBox" ID="chkDiscard" />
            </ItemTemplate>
        </rad1:GridTemplateColumn>

        <rad1:GridEditCommandColumn UniqueName="EditColumn" >
            <HeaderStyle Width="100px" HorizontalAlign="Center" VerticalAlign="Middle" Font-Bold="true" />
            <ItemStyle Width="100px" HorizontalAlign="Center" />
        </rad1:GridEditCommandColumn>

        <rad1:GridBoundColumn UniqueName="LoanNumber">
            <HeaderStyle Width="165px" HorizontalAlign="Center" VerticalAlign="Middle" Font-Bold="true" />
            <ItemStyle Width="165px" />
        </rad1:GridBoundColumn>

        <rad1:GridBoundColumn UniqueName="InvestorLoanNumber"  >
            <HeaderStyle Width="165px" HorizontalAlign="Center" VerticalAlign="Middle" Font-Bold="true" />
            <ItemStyle Width="165px" />
        </rad1:GridBoundColumn>

    </Columns>

</MasterTableView>

Thanks for any help.