locked
Not able to set scroll position of Girdview

    Question

  • Hi,

     i am not able to set scroll position of gridview 

    using  below commands

      function EndRequestHandler(sender, args) {
                if (args.get_error() != undefined) {
                    args.set_errorHandled(true);
                }
            }

            function BeginRequestHandler() { debugger
                if ($get('<%= GridView1.ClientID%>') != null) {
                    yPos = $get('<%= GridView1.ClientID%>').scrollHeight;
                }
            }

            function EndRequestHandler() {
                if ($get('<%= GridView1.ClientID%>') != null) {
           
                    $get('<%= GridView1.ClientID%>').scrollTop = yPos;
                 
                }

            }

    • Moved by Ryan MoldenMicrosoft employee Monday, June 3, 2013 2:09 PM Nothing to do with VS Extensibility, perhaps Windows Store App in JS/HTML5?
    Monday, June 3, 2013 1:05 PM

Answers