In Grid View when clicked on a row I need to show a message Using RadAlert (telerik)controls, the popup message contains angle brackets in them like "this is <swathi> "
. But messsage is being showed as "this is "
The string within including angle brackets are missing.
Can anyone give clue how to show pop up message including angle brackets
I think RadAlert tries to parse your string as a HTML string...
If that is the case, replace the < characters with the string < and > characters with >
Also, you might face other issues too, so you should escape other characters too: this question has good answers
Quoting the accepted answer:
You can use
System.Web.HttpUtility.HtmlEncode()
andHtmlDecode()
for these purposes