We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

formatDDL="<p>"

Thread ID:

Created:

Updated:

Platform:

Replies:

129713 Mar 29,2017 09:08 PM UTC Mar 30,2017 05:43 AM UTC ASP.NET Web Forms 1
loading
Tags: RichTextEditor
emanuele
Asked On March 29, 2017 09:08 PM UTC

Hi,


I added a RichTextEdit in my site. In particolar i added in a 

Accordion


But when i send a post back the site go in error, with this errore:


Valore potenzialmente pericoloso Request.Form rilevato dal client (MainContent_UCImmobile_Accordion1_txtSito_formatDDL="<p>").

Descrizione: ASP.NET ha rilevato nella richiesta dati potenzialmente pericolosi perché potrebbero includere script o markup HTML. I dati potrebbero rappresentare un tentativo di compromettere la sicurezza dell'applicazione, ad esempio un attacco di tipo cross-site scripting (XSS). Se il tipo di input è appropriato per l'applicazione, è possibile includere in una pagina Web il codice per autorizzarlo in modo esplicito. Per ulteriori informazioni, visitare il sito Web all'indirizzo http://go.microsoft.com/fwlink/?LinkID=212874. 

Dettagli eccezione: System.Web.HttpRequestValidationException: Valore potenzialmente pericoloso Request.Form rilevato dal client (MainContent_UCImmobile_Accordion1_txtSito_formatDDL="<p>").


I try to insert this control out of accordion but the problem didn't resolve.


Some one can help me?


Thanks 

Emanuele




Karthikeyan Viswanathan [Syncfusion]
Replied On March 30, 2017 05:43 AM UTC

Hi Emanuele,

Thanks for contacting Syncfusion support.
  
If you receive an error as “A potentially dangerous Request.Form value was detected from the client (MainContent_UCImmobile_Accordion1_txtSito_formatDDL="<p>").”, we suggest you to include the below lines in your web.config file as a workaround
.  
  
<code>  
  
Web.config  
  
<system.web>
<
httpRuntime  requestValidationMode="2.0" />
.....................
..............
<
pages validateRequest="false">
.........................
.........................
</
pages>
</
system.web>  
  
</code>  
  
This error occurs because ASP.NET 4 validates every request that it is receives. Older versions of ASP.NET only validate the requests to ASPX pages. 
If this is not your error, then we request you to share us an error’s detailed description. And also, we request you to share us a screenshot or your code snippets of an error so that we would isolate the issue and help you out better.
 
Regards,
Karthikeyan V. 
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;