smartnavigation and validation bug

  • Thread starter Lewis Edward Moten III
  • Start date
L

Lewis Edward Moten III

I am using smart navigation. I have a form with multiple panels.
These panels are displayed and hidden, depending on links that a user
may press at the top of the page. One panel has validation controls
for some fields within it.

Problem - every post back to the server for command buttons tries to
validate the controls. If the controls are not visible (because the
panel is hidden), then I get the validation warnings.

is there a patch or hotfix available that I can download for
smartnavigation to bypass this bug? We are using Visual Studio 2003
and Microsoft Framework 1.1.4322. My smartnav.js file is 8,728 bytes.
 
J

John Saunders

Lewis Edward Moten III said:
I am using smart navigation. I have a form with multiple panels.
These panels are displayed and hidden, depending on links that a user
may press at the top of the page. One panel has validation controls
for some fields within it.

Problem - every post back to the server for command buttons tries to
validate the controls. If the controls are not visible (because the
panel is hidden), then I get the validation warnings.

is there a patch or hotfix available that I can download for
smartnavigation to bypass this bug? We are using Visual Studio 2003
and Microsoft Framework 1.1.4322. My smartnav.js file is 8,728 bytes.

Smart Navigation is known to be buggy, and I don't believe there are any
fixes or workarounds.
 
A

Alvin Bruney

why don't you try disabling causesValidation property for some of the
controls
 
M

MSFT

Hi Lewis,

Have you made some progress on the issue? From my opinio, If you hide the
panel in server-side code, then you can easily disable the validation
controls at the same time. If you hide the panel in client-side code, then
you need to use client-side code to also disable the validation controls.
With client-side, it's not well known how to do this. Use the
ValidatorEnable function. For more information on this, see:

http://msdn.microsoft.com/library/en-us/dnaspp/html/aspplusvalid.asp

Luke
Microsoft Online Partner Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

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
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top