You must Sign In to post a response.
  • Category: JavaScript

    Onscroll event is not firing in firefox


    I have a gridview and I am attaching an attaching onscorll event to the grid, when ever when I click on horizintal scroll bar fixed header columns should be moved along with body container columns.

    My code is


    function doscrolling()

    doscroll function is not working in firefox. What is the alternate way to make it work both in IE11 and firefox?
  • #764607
    To run it in IE11 you need to turn on 'compatibility view', see how to do it
    To turn on Compatibility View
    1.See if the Compatibility View button Compatibility View button appears in the address bar. (If you don't see the button, there's no need to turn on Compatibility View.)
    2.Click the Compatibility View button Compatibility View button to display the site in Compatibility View.
    Once you turn on Compatibility View, Internet Explorer will automatically show that site in Compatibility View each time you visit. You can turn it off by clicking the button Compatibility View button again. Or, you can clear the entire list of sites using Compatibility View by deleting your browsing history.

    To clear the list of Compatibility View sites
    1.Click the Internet Explorer icon on the taskbar to open Internet Explorer.
    2.Click the Tools button Tools button, and then click Internet options.
    3.Under Browsing history, click Delete.
    4.In the Delete Browsing History dialog box, select the History check box, and then tap or click Delete.

    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • #764674
    Please refer below thread for the alternative approach you have to follow,

    Asheej T K

  • Sign In to post your comments