smartnavigation and validation bug

  • Thread starter Thread starter Lewis Edward Moten III
  • Start date 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.
 
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.
 
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.)
 
Back
Top