Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4.5.1 > BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
|
BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5.1: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-84677-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5.1 : 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 September 20th, 2016, 06:21 PM
Registered User
 
Join Date: Aug 2016
Posts: 6
Thanks: 0
Thanked 4 Times in 3 Posts
Default Chapter 9: Client-side alert not showing on my browsers

Hello Imar,
I followed the steps in chapter 9 to validate user input but when i got to page 317 step 8 and 9. i noticed after setting ValidationSummary control property ShowMessageBox to True and ShowSummary to False, the errors don't display using the client-side alert. i tested it using recent version of Google Chrome, Firefox and Microsoft edge but still it didn't work.
what do you think i'm doing wrong, i would like to get this to work because it looks more professional to display wrong user inputs in a client-side alert as oppose to the inline list. the inline list works but i want the client-side alert.
please help
 
Old September 21st, 2016, 08:06 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Take a look at these posts and see if they help. If they don't please post your full code and the resulting HTML from the browser's view source command.

ShowMessageBox does not appear
Chapter 9 - Validating User Controls (P.317)


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!
 
Old September 21st, 2016, 06:19 PM
Registered User
 
Join Date: Aug 2016
Posts: 6
Thanks: 0
Thanked 4 Times in 3 Posts
Default Error corrected

Hi Imar,
Thanks for making out time to reply. After i read the links you sent to me and a guy fixed the same problem by correcting a wrongly named function. i carefully looked at my codes and immediately i noticed i wrongly typed "function" as "funtion" lol. i just fixed the errors and everything is working fine. thank you
The Following User Says Thank You to zinedu5 For This Useful Post:
Imar (September 23rd, 2016)





Similar Threads
Thread Thread Starter Forum Replies Last Post
JavaScript - client side or both client & sever side Avenger625 Javascript 3 February 3rd, 2012 10:46 AM
Chapter 9 Custom validator - client siden not working; popup for phone not showing nkem BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 9 January 23rd, 2012 10:11 AM
Problem Converting Client-side to Server-side Code kwilliams ASP.NET 2.0 Professional 1 November 21st, 2007 05:25 PM
asp variables not showing in mac browsers monstermash Classic ASP Professional 2 November 8th, 2006 02:50 PM





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