Posted on: 9/30/2012 2:33:07 AM | Views : 187

I have the following code that adds a new-line to the browser prompt:
RectangleHotSpot rhs = new RectangleHotSpot(); rhs.HotSpotMode = HotSpotMode.Navigate; rhs.AlternateText = "Line one
Line Two"; //New-line to conform with FF rhs.NavigateUrl = "my URL"; ImageMap.HotSpots.Add(rhs);
But for some reason 'rhs.AlternateText' gets escaped into "Line one
Line Two" when I view source in the web browser.
Is there any way to prevent that?
...

Go to the complete details ...