G
Guest
I'm using asp.net c#
in my code behind I coded the following:
ButtonAsynchronous.Attributes.Add("onclick", @" setTimeout(
""UpdateImg('AnimatedProgress','images/running.gif');"" , 50); ");
This renders into:
onclick=" setTimeout( "UpdateImg('AnimatedProgress','images/running.gif');"
, 50); ;" id="ButtonAsynchronous" />
I see the quotes have been escaped, which is in this case wrong as they need
to be preserved.
How should I do this?
in my code behind I coded the following:
ButtonAsynchronous.Attributes.Add("onclick", @" setTimeout(
""UpdateImg('AnimatedProgress','images/running.gif');"" , 50); ");
This renders into:
onclick=" setTimeout( "UpdateImg('AnimatedProgress','images/running.gif');"
, 50); ;" id="ButtonAsynchronous" />
I see the quotes have been escaped, which is in this case wrong as they need
to be preserved.
How should I do this?