To perform scrolling on an Asp.net page

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Anil Abraham

    To perform scrolling on an Asp.net page

    I have an asp.net page, i want to set the cursor at a particular
    postion on the click of abutton in an
    Asp.ne tpage.

    Can anyone help me in this matter

    Thanks in advance
  • Justin Dutoit

    #2
    Re: To perform scrolling on an Asp.net page

    Hi. This is a client side problem, so do this:

    <asp:button runat="server" OnClientClick=" window.scrollTo (0, 500)" ... />

    (if you want to scroll 500 pixels below the start of the web page).

    To help more, we'd need to see the page. Showing it in your next post would
    help a lot...

    HTH
    JDT


    "Anil Abraham" <anilabraham30@ gmail.comwrote in message
    news:a751a084-ddee-4d5e-82fe-65f3082d2207@r9 g2000prd.google groups.com...
    >I have an asp.net page, i want to set the cursor at a particular
    postion on the click of abutton in an
    Asp.ne tpage.
    >
    Can anyone help me in this matter
    >
    Thanks in advance

    Comment

    • Alexey Smirnov

      #3
      Re: To perform scrolling on an Asp.net page

      On Apr 4, 8:15 am, Anil Abraham <anilabraha...@ gmail.comwrote:
      I have an asp.net page, i  want to set the cursor at a particular
      postion on the click of  abutton in an
      Asp.ne tpage.
      >
      Can anyone help me in this matter
      >
      Thanks in advance
      If it's because of a postback behavior, look here

      Comment

      Working...