javascript - A potentially dangerous Request.Form value was detected from the client (ctl00$cphMain$txCourseDescription="...ace="'MS Sans Serif&#...") -
my screen has telrik rad popup populate on button click(btncoursedescription)
. have taken label show html formated data , textbox work code behind file. when click on btncoursedescription
; telrik's popup opens , and after submit shows data on label , assign value textbox using javascript ... here javascript code...
<script type="text/javascript"> function clientshow(sender, eventargs) { //$find(); var txtinput = document.getelementbyid("<%=lbcoursedescription.clientid%>"); sender.argument = txtinput.innerhtml; } function clientclose(sender, args) { if (args.get_argument() != null) { var lbinput = document.getelementbyid("<%=lbcoursedescription.clientid%>"); var txtinput = document.getelementbyid("<%=txcoursedescription.clientid%>"); lbinput.innerhtml = args.get_argument(); txtinput.value = args.get_argument.htmlencode(); } } </script>
now when click on btncoursedescription
, and assign value using popup data submits when want update other field means not updating html formatted data, harderror occurs:
a potentially dangerous request.form value detected client (ctl00$cphmain$txcoursedescription="...ace="'ms sans serif&#...").
please suggest me should do?
Comments
Post a Comment