Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 8th, 2006, 03:54 PM
Friend of Wrox
 
Join Date: Mar 2006
Location: , , Portugal.
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?

  #2 (permalink)  
Old September 10th, 2006, 08:31 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
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.

  #3 (permalink)  
Old September 12th, 2006, 06:59 PM
Friend of Wrox
 
Join Date: Mar 2006
Location: , , Portugal.
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
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 07:52 AM.


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