writing parameter dynamically
- From: "Adam Right" <AdamRight>
- Date: Sun, 10 Feb 2008 04:04:54 +0200
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
.
- Follow-Ups:
- Re: writing parameter dynamically
- From: Nathan Sokalski
- Re: writing parameter dynamically
- Prev by Date: Re: binding format
- Next by Date: Re: String Reference Type
- Previous by thread: Custom databinding of a text box
- Next by thread: Re: writing parameter dynamically
- Index(es):
Relevant Pages
|