Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For 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
 
Old April 18th, 2007, 04:14 AM
Registered User
 
Join Date: Apr 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default postback in deployment server

Hi all



            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 ..??

 
Old April 18th, 2007, 07:54 AM
Registered User
 
Join Date: Apr 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hai all,

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.
 
Old April 30th, 2007, 10:47 AM
Registered User
 
Join Date: Apr 2007
Location: Belfast, , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.





Similar Threads
Thread Thread Starter Forum Replies Last Post
deployment - error with sql server authenication ezhil BOOK: Expert SQL Server 2005 Integration Services ISBN: 978-0-470-13411-5 0 November 22nd, 2007 07:28 AM
After deployment to server slas7713 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 August 24th, 2006 04:29 PM
Moving db to SQL Server 2005 for deployment LoneStar1 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 4 March 3rd, 2006 01:52 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.