Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Beginning ASP.NET 4 : in C# and VB
|
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 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 March 1st, 2012, 01:08 PM
Friend of Wrox
 
Join Date: Mar 2011
Posts: 126
Thanks: 39
Thanked 2 Times in 2 Posts
Default Chapter 9 - p.311 - ValidationSummary control?

Hi Imar,

I was testing out how the validation controls automatically work both on the client and server side by toggling the value of "EnableClientScript" property for each of the controls.

I noticed that when I sent EnableClientScript = false for the ValidationSummaryControl, no summary with error messages is displayed on the contactForm. Is this supposed to happen?

Thanks.
Tulsi
 
Old March 1st, 2012, 01:21 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Not at the client,but it should pop up after a postback. Is your server code checking the IsValid property?

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!
 
Old March 5th, 2012, 02:07 PM
Friend of Wrox
 
Join Date: Mar 2011
Posts: 126
Thanks: 39
Thanked 2 Times in 2 Posts
Default

Sorry...I did not realize that I needed to check the IsValid property.

I will try this out.

Thank you.

Tulsi





Similar Threads
Thread Thread Starter Forum Replies Last Post
Try it out Ch9 pgs 311-312 tjsully BOOK: Beginning ASP.NET 4 : in C# and VB 2 July 16th, 2011 04:46 PM
vs2003 ValidationSummary not working in firefox dinesh ASP.NET 1.0 and 1.1 Professional 0 June 7th, 2011 01:29 AM
Chap. 9 - ValidationSummary Ciupaz BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 6 May 28th, 2008 09:58 PM
validationsummary prob leo_vinay ASP.NET 1.0 and 1.1 Basics 1 October 7th, 2005 12:39 PM
ValidationSummary vmaila ASP.NET 1.0 and 1.1 Basics 0 September 14th, 2003 11:08 AM





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