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

    How to stop Parent window Scrolling when child window will open

    Hi Everybody,

    I have an one issue, In my project I'm having 2 pages, one is parent page another one is child page. When I click parent Grid record then I need to populate child page. Up to know I did this, now my problem is I want to stop parent window scrolling when I open the child page.

    Or else

    If I scrolldown parent window then child window should appear for visible.

    How to do this can any one give me some suggestion out of this...
  • #748114
    check if below link helps or if possible send me code if any,,,


    http://aspsnippets.com/Articles/Open-PopUps-and-exchange-data-between-parent-page-and-PopUp-using-JavaScript.aspx

    http://stackoverflow.com/questions/7391080/asp-net-child-window-opens-up-on-a-new-window-on-every-post-back
    http://www.aspdotnet-suresh.com/2010/08/opening-child-window-from-parent-window.html

    cheers
    Kush

  • #748155
    Hi,

    Please try opening the child window using window.showModalDialog(). It will not allow access to the parent page.

    Hope it helps.

    Regards,Mahe
    Happy Coding


  • Sign In to post your comments