I am developing a project with ASP.net c#. I want RequiredFieldValidator to check my textbox. I am adding validator, and it works perfectly fine in Visual Studio 2010. But once
See here
It looks like you have to either remove this line:
Or change it to this:
Which will disable it for you.
Alternatively you could add something like this to your Global.asax
ScriptManager.ScriptResourceMapping.AddDefinition("jquery", new ScriptResourceDefinition {
Path = "~/scripts/jquery-1.4.1.min.js",
DebugPath = "~/scripts/jquery-1.4.1.js",
CdnPath = "http://ajax.microsoft.com/ajax/jQuery/jquery-1.4.1.min.js",
CdnDebugPath = "http://ajax.microsoft.com/ajax/jQuery/jquery-1.4.1.js"
});
Hopefully this gets you squared away!