I have a multiline textbox from which I am updating my sql store procedure. In my store procedure I'm sending email(Html Formated) to user via SQL Job. Problem is when I try to put below code in my textbox my submit button is stop working and perform no action.
Set @link = ' <br> URL: <a href=abc.com/default4.aspx> abc.com/default4.aspx</a> <br> ' -- For Test
I'm also tried to put validateRequest="false"
in my page directive but nothing happened.
Sorry here I mentioned one thing more that when I remove <br>
tag from above code my submit button works fine. But when I put only <br>
in my ASP.Net Textbox submit button again perform no action on submit.
How can I able to insert HTML Tags in ASP.Net Textbox.
Also I found below links regarding to my question but these links not works for me.
Allow HTML tags in TextBox control
ASP.Net Text with LineBreak from Multi-Line-TextBox to save in a database