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 May 30th, 2014, 12:36 PM
Registered User
 
Join Date: Apr 2014
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default " requires a ScriptResourceMapping for 'jquery' "

Hello,

So I am currently on Chapter 9 where you create a RequiredFieldValidator to insert an users' name. I have everything created on the Contact page and everything is laid out, but when I try to follow the example by leaving the name field blank and clicking the "send" button that I created, I am brought to an error message on my site.

Webforms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery (case-sensitive).

I googled around a little bit to see if anyone else had a similar problem, and a few people were saying to add an <appsettings> field in the web.config, yet when I try to enter this in <appsettings> isn't defined in my solution.

This is what other users are saying to insert in the .config:
Quote:
<appSettings>
<add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
</appSettings>
I am using Visual Studio Professional 2012.
 
Old May 30th, 2014, 12:46 PM
Registered User
 
Join Date: Apr 2014
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Nevermind, I figured the issue out.

Before I was adding the <appSettings> control after <system.web>, if I place it under <configuration> but before <system.web> and define the key and value, it works just fine.

Imar, I just wanted to say I appreciate this book. It has helped me out a ton so far and has actually assisted me in finding a job as a .NET developer. I continue to read your book to help further my knowledge as a developer. I also find it awesome that you get in contact with your readers directly if they have any questions.

Keep up the good work. We all appreciate everything you do!

-Thanks
 
Old May 31st, 2014, 03:01 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
It has helped me out a ton so far and has actually assisted me in finding a job as a .NET developer.
That's great to hear. Congratulations!

Quote:
Keep up the good work. We all appreciate everything you do!
Thanks!

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!





Similar Threads
Thread Thread Starter Forum Replies Last Post
MSXSL gives error message for "for" inside "select" ilyaz XSLT 1 December 9th, 2010 05:02 PM
What is "Reference to a non-shared member requires an object reference"? Waterharbin Visual Basic 2008 Essentials 2 November 14th, 2010 09:48 PM
How to theme the "Browse" button of "FileUpload" control? varunbwj BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 October 14th, 2009 01:22 AM
Add a CheckBox DataColumn to my DataGridView, Null format: "" or "True" but Error: F ismailc C# 2005 0 September 25th, 2009 04:56 AM
Code not going as planned: "icicle" vs "savedinstancestate" joopthecat BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 3 May 3rd, 2009 03:09 PM





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