Click here to Skip to main content
15,897,226 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am unable to maintain the freeze of the rows/columns created by the following javascript:

XML
<script type="text/javascript">
        $(document).ready(function () {
            gridviewScroll();
        });

        function gridviewScroll() {
            $('#<%=gvSupv.ClientID%>').gridviewScroll({
                width: 660,
                height: 200,
                freezesize: 2
            });
        }
    </script>


The gridview is within a ModalPopup panel that also contains an "OK" and "Cancel" button. These buttons are not visible until you scroll down the panel. Below listed is the header code for the panel:

CSS
<asp:Panel ID="pnlSupervision" runat="server"
    Width="1300px" Height="300px" ScrollBars="Both"
    Style="position: absolute; top: 50px;
    left: 25px;">


The ModalPopupExtender code is as follows:

VB
<cc1:ModalPopupExtender ID="mpopupSupv" runat="server" TargetControlID="btnOffcrDistrb"
    PopupControlID="pnlSupervision" DropShadow="true"
    EnableViewState="true" />


Appreciate the assistance.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900