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
Anil Abraham [ Fr, 04 April 2008 08:15 ] [ ID #1935378 ]

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 [at] gmail.com> wrote in message
news:a751a084-ddee-4d5e-82fe-65f3082d2207 [at] r9g2000prd.googleg roups.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
Todd_Calhoun [ Fr, 04 April 2008 08:28 ] [ ID #1935382 ]

Re: To perform scrolling on an Asp.net page

On Apr 4, 8:15=A0am, Anil Abraham <anilabraha... [at] gmail.com> wrote:
> I have an asp.net page, i =A0want to set the cursor at a particular
> postion on the click of =A0abutton 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
http://www.google.com/search?hl=3Den&q=3Dkeep+scroll+positio n+asp.net
lexa [ Fr, 04 April 2008 08:56 ] [ ID #1935383 ]
Microsoft » microsoft.public.dotnet.framework.aspnet » To perform scrolling on an Asp.net page

Vorheriges Thema: Comparing Images
Nächstes Thema: js file not loading in Firefox, Netscape