To perform scrolling on an Asp.net page

A

Anil Abraham

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
 
J

Justin Dutoit

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,436
Messages
2,571,696
Members
48,796
Latest member
Greg L.
Top