Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution 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 September 8th, 2006, 03:54 PM
Friend of Wrox
 
Join Date: Mar 2006
Posts: 310
Thanks: 0
Thanked 0 Times in 0 Posts
Default Big Problem - Validator don't work online

Hello!

Recently i made upload of my site!

But i have problems with validators... :(

For example, in the register.aspx page i have:

Code:
Password:                                <asp:RequiredFieldValidator id="PasswordRequired" runat="server" ControlToValidate="Password" ErrorMessage="Need password." Display="Dynamic">
*</asp:RequiredFieldValidator>
<br />
<asp:TextBox id="Password" runat="server" Width="128px" MaxLength="10" TextMode="Password" /></P>
(8 chars max.)
If i don't write anything on password field and try to send new regist i get an error saing that i forgot to write password...

But when i do the samething on my site uploaded... i don't receive any error and mail goes to the recipient of the new user with a blank password!!! :(

I have this error on other pages...
When a user try send a new topic whitout title... etc etc

Can anyone help me please?
I have some people to complain !

Any idea to make validators work?

 
Old September 10th, 2006, 08:31 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Does this problem occur with all browsers?

Make a small page that is separate from your website to see if the validators work as they should.

If so, the problem is in the event wireup of your main site, or perhaps less likely, your client scripts may not be installed right.

You client scripts are under the aspnet_client folder under your main site or virtual directory (or at least they should be there).

If it's your own server you can easily re-install the client scripts with aspnet_regiis.exe - run it with /? to see the options.

 
Old September 12th, 2006, 06:59 PM
Friend of Wrox
 
Join Date: Mar 2006
Posts: 310
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks englere!

My site is on freewebdot server... i can't acess this file!

But i resolved!

I use:

Code:
Page.Validate
If (Page.IsValid = true) Then
    my button command()
End If





Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to work with documents online dotnetuser ASP.NET 2.0 Basics 1 April 24th, 2007 03:51 AM
Formulas work in preview not online andiadmin Infopath 0 April 16th, 2007 12:01 PM
facing big problem Manish Malhotra Classic ASP Basics 1 June 19th, 2006 01:35 PM
Big problem with VB + MSDE 7 predal Pro VB 6 2 April 2nd, 2004 03:44 AM
Getting at Access2000 with DAO - big problem Iblys Access VBA 1 September 25th, 2003 01:03 AM





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