Insert Javascript

Insert Javascript

am 27.12.2007 16:45:50 von mdb

Hello all, I have a web user control that displays a single image from
javascript. In order to insert the javascript into the webcontrol, I use
the page.registrer script call in the code behind since the images are
dynamically created. This works however, I can not figure out how to get it
to insert the script where the user control is located rather than the top
of the page. Can someone please point me into the right direction?

TIA

Re: Insert Javascript

am 27.12.2007 18:24:11 von George Ter-Saakov

Just have it in your ascx file.
Like
MYUSERCONTROL


George.




"MDB" wrote in message
news:eb0u2cLSIHA.6036@TK2MSFTNGP03.phx.gbl...
>I can't the script is created dynamically.
>
>
> "George Ter-Saakov" wrote in message
> news:eZdWM1KSIHA.6036@TK2MSFTNGP03.phx.gbl...
>> Just have it in your ascx file.
>> Like
>> MYUSERCONTROL
>>
>
> George.
>
>
>
>
> "MDB" wrote in message
> news:eb0u2cLSIHA.6036@TK2MSFTNGP03.phx.gbl...
>>I can't the script is created dynamically.
>>
>>
>> "George Ter-Saakov" wrote in message
>> news:eZdWM1KSIHA.6036@TK2MSFTNGP03.phx.gbl...
>>> Just have it in your ascx file.
>>> Like
>>> MYUSERCONTROL
>>>







--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Re: Insert Javascript

am 27.12.2007 22:50:41 von mark

"George Ter-Saakov" wrote in message
news:OCc8azLSIHA.4684@TK2MSFTNGP02.phx.gbl...

>