Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Beginning ASP.NET 4 : in C# and VB
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB 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
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 21st, 2010, 01:01 PM
Friend of Wrox
 
Join Date: Mar 2010
Posts: 99
Thanks: 21
Thanked 6 Times in 4 Posts
Default Chapter 9 - Validation question

Hello,

I finished the chapter 9 and i had few questions :)

1- I wanna know if its possible to easily set a gray * asterisk when the form launch so poeple know which fields are required.. then if there is an error the * become red or something..?

2- Also it is possible to show an image instead of a * if there is an error ?

3- Are client side validation are automaticly generated when using validation controls ?

P.S: Also, it is me or the "ControlToValidate" Property aren't in the properties show table in page 306-307 ?

Thanks.

Last edited by Rushino; April 21st, 2010 at 02:53 PM.. Reason: more infos...
Reply With Quote
  #2 (permalink)  
Old April 23rd, 2010, 11:59 AM
Imar's Avatar
Wrox Author
Points: 72,019, Level: 100
Points: 72,019, Level: 100 Points: 72,019, Level: 100 Points: 72,019, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,075
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Quote:
1- I wanna know if its possible to easily set a gray * asterisk when the form launch so poeple know which fields are required.. then if there is an error the * become red or something..?
Probably not that easy. A common technique is to place extra asterisks in front of the contorls

Quote:
2- Also it is possible to show an image instead of a * if there is an error ?
Certainly. Take a look at the section titled "Using Images for Your Error Messages" here: http://msdn.microsoft.com/en-us/library/aa479013.aspx

Quote:
3- Are client side validation are automaticly generated when using validation controls ?
Yes, provided that the EnableClientScript property is on, which is the case by default.

Quote:
P.S: Also, it is me or the "ControlToValidate" Property aren't in the properties show table in page 306-307 ?
Nope, you are correct. But take a look at the last sentence before the table:

Quote:
The following table lists the additional properties for the CompareValidator control.
The ControlToValidate property is shared by all validators and is discussed on page 304.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote
  #3 (permalink)  
Old April 26th, 2010, 03:06 AM
Registered User
 
Join Date: Apr 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Form Authentication Over internet

Can anyone give me solution for login security(Asp.net).

how can i send my user id & password over the internet from browser to web server. I'm using Form Authentication . Without SSL is it possible?
Reply With Quote
  #4 (permalink)  
Old April 26th, 2010, 03:47 AM
Imar's Avatar
Wrox Author
Points: 72,019, Level: 100
Points: 72,019, Level: 100 Points: 72,019, Level: 100 Points: 72,019, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,075
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Cross post. Please see here for replies: Login Security (Form Authentication)

Please don't cross post, and please don't post new topics under existing and unrelated threads.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote
Reply


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
About a question with validation nealwang1019 XML 7 May 7th, 2009 03:52 PM
About a question with validation nealwang1019 BOOK: Beginning XML, 4th Ed ISBN: 978-0-470-11487-2 0 May 4th, 2009 10:58 AM
Validation Question mar0364 VBScript 8 July 26th, 2004 02:37 PM
Validation question savoym C# 2 July 19th, 2004 07:23 AM



All times are GMT -4. The time now is 03:58 AM.


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