first displays a string of fixed length (not a complete message -> for example: mes ...).
Declare a secure line in the page load, and then bind it in each page load. After that, directly assign the protected string to the javascript array.
see code below:
In page load mode
protected string protectedString = "";
In the Javascript function to be called in the MouseOver event:
JavascriptArray = "<%= protectedString %>";
Define the array as innerHTML DIV.
Hope this helps ...
source share