Re: reading from text area throwing exception with <p>

Tech-Archive recommends: Speed Up your PC by fixing your registry



Yup, that is what ASP.NET will give you.
Go to Google.
Type "A potentially dangerous Request.Form value was detected from " into the search bar
and click search.

Tons of articles about this.


Vikas Kumar wrote:
propertyDescription += "<br>" + lblpropertyDescription.Text; //here i am reading some text from text area


i test wrting "p" in my text area it wrks fine but when i write
<p> in my text area it gives the following error

Error Message:A potentially dangerous Request.Form value was detected from the client (lblpropertyDescription="
"). Stack Trace: at System.Web.HttpRequest.ValidateString(String s, String valueName, String collectionName) at System.Web.HttpRequest.ValidateNameValueCollection(NameValueCollection nvc, String collectionName) at System.Web.HttpRequest.get_Form() at System.Web.UI.Page.GetCollectionBasedOnMethod() at System.Web.UI.Page.DeterminePostBackMode() at System.Web.UI.Page.ProcessRequestMain() at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


.



Relevant Pages

  • Re: reading from text area throwing exception with


    ... i mean it should stop the user from entering ... the search bar ... String valueName, String collectionName) at ...
    (microsoft.public.dotnet.framework.aspnet)

  • Google Featrue You May Not Like
    ... telephone number into the search bar and hit enter and then you will be ... actually now look it up to find out where he/she lives. ... without spaces or dashes) and hit enter. ... If you want to BLOCK Google from divulging your private information, ...
    (sci.astro.amateur)
  • RE: Windows XP SP2, IE 7, Google
    ... I use IE 7.0 and go to Google, ... In the registry Editor click on these KEYs and change the search Bar and ... Search Bar REG_SZ http://www.microsoft.com ... When all else fails, HijackThis v1.99.1 ...
    (microsoft.public.windowsxp.help_and_support)
  • Protect your privacy from Googlers
    ... map quest will actually put a star on your house on your street. ... and type your phone number in the search bar with dashes ... and hit enter. ... If you want to BLOCK Google from divulging your private information, ...
    (microsoft.public.security)
  • Off Topic,can I have help w Google settings?
    ... I apologize for being off topic but I can not find an answer to this ... I am perplexed as to how,, I can change my Google beginning ... the search bar, it lists "Web, Images,Video,News,,Maps,Desktop,and ... post and then the responses. ...
    (microsoft.public.windowsxp.general)