Menu Control and Page Validation

K

Ken McBryde

Is there a simple way in which I can get the Menu control to cause page
validation to happen on the client side - thus causing client side validator
components to execute before a postback is attempted?

Reason:
I have a web app that will always be accessed by the client group from IE
therefore I can fully take advantage of client side validation. To simplify
the UI I have created a tabbed dialog and have used the menu control to
manage the tabs. I'd like the client side validation to fire if the user
attempts to switch tabs whilst there is invalid data on the current tab.

I can achieve the desired Tabbed effect using panels and linkbuttons but its
not a neat as the menu control.

Thanks
 
W

Wouter van Vugt

Hi Ken,

maybe you should reconsider the behavior. The users might just close
the browser, reopen it and then go to the tab they are after. But if
you really do want this behavior, it will be difficult to add
validation logic, the Menu doesn't support this by default. I am also
doubtfull it will work using the extensibility model of the Menu
control.

Grtz, Wouter van Vugt
Trainer - Info Support
blogs.infosupport.com/wouterv
 

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,008
Messages
2,570,271
Members
46,874
Latest member
CyberGateway

Latest Threads

Top