Question: You are developing an ASP.NET MVC application. The application must allow users to enter JavaScript in a feedback text box only. You need to disable
You are developing an ASP.NET MVC application.
The application must allow users to enter JavaScript in a feedback text box only.
You need to disable request validation.
What should you do
Apply and set the CausesClientSideValidation attribute on the text box to FALSE.
Apply and set the ValidateInput attributeon the text box to FALSE.
Use the HttpRequest. Unvalidated property to read the unvalidated form value.
Use the HttpRequest.Form property to read the unvalidated form value.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
