Client side and server side

We have a application, where we have some validation on the clientside using EnableClientSideValidation.

If you don't have fullscreen you can't see some of the error-messages. What we want is to jump to the place on the page where the message is displayed.

One problem is that the button is a serverbutton (runat="server"). How can we accomplish this on the clientside using the same button. I have tried to use "onClientClick" and a link something like this:


form and then name="form"

0 net777 4/25/2008 10:45:06 AM

The JavaScript code to scroll to a named anchor is like this:

0 johram 4/25/2008 10:55:37 AM

Well, johram, your solution seemed to work fine , thank you!

The other solution from Jagar probebly works too, but haven't tried that.

 So thank you both for your answers!

0 net777 4/25/2008 11:22:28 AM

(Thread closed)