ASP.NET 1.0 and 1.1 ProfessionalFor advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
We have created an asp.net application (developed in framework 1.1 and visual studio 2003) and hosted it in a Win 2003 server (IIS6, ASP.NET 1.1).
Problem: No postback event happening while clicking on web button. In local IIS server (in developer machine) application is working fine.
We are using field validaton controls. When we make EnableClientScript property of these validators to âfalseâ, application is working fine. But we need these validators in page. Can anybody help us ..??
We added " return true; "to the ValidatorCommonOnSubmit() function of webUIvalidation .js file which is available under the aspnet client folder in IIS and now the application works fine.
You can add javascript events to controls that cause a postback. Returning True from the javascript function will allow the postback to continue. Returning false will stop the postback. It can be a neat way to add client side validation, or add pleas-wait images before a long postback.