This may be a very simple question.
I have some old java code that uses scripting to dynamically create a <MAP>
in my HTML.
<map name="Map">
<script>
var i;
for (i=0; i<arr.length; i++)
{
document.write( "<area onmouseover='On MouseOver(" + i + ")'
href='javascrip t:ShowDetails(" + arr[i].Id + ")' shape=circle coords='" +
arr[i].X + "," + arr[i].Y + ",5'>\r\n") ;
}
</script>
</map>
I am now converting this code to C# and trying to use Code Behind. How can
I achieve the same result?
Thanks
Jeronimo
I have some old java code that uses scripting to dynamically create a <MAP>
in my HTML.
<map name="Map">
<script>
var i;
for (i=0; i<arr.length; i++)
{
document.write( "<area onmouseover='On MouseOver(" + i + ")'
href='javascrip t:ShowDetails(" + arr[i].Id + ")' shape=circle coords='" +
arr[i].X + "," + arr[i].Y + ",5'>\r\n") ;
}
</script>
</map>
I am now converting this code to C# and trying to use Code Behind. How can
I achieve the same result?
Thanks
Jeronimo
Comment