A
Adam Right
Hi All
How can i write dynamic parameter for a java script function in<asp:image>
tag?
for static usage like ;
onmouseover="ChangePicture('images/blue.gif')"
works fine.
I have to use single quotes because the parameter must be string. If i try
like that;
onmouseover='<%# "ChangePicture('" + Eval("BIG_PICTURE_PATH") + "')" %>'
it raises "The server tag is not well formed" error ....
What should I do?
Thanks,
Adam
How can i write dynamic parameter for a java script function in<asp:image>
tag?
for static usage like ;
onmouseover="ChangePicture('images/blue.gif')"
works fine.
I have to use single quotes because the parameter must be string. If i try
like that;
onmouseover='<%# "ChangePicture('" + Eval("BIG_PICTURE_PATH") + "')" %>'
it raises "The server tag is not well formed" error ....
What should I do?
Thanks,
Adam