Rank: Member Groups: Member
Joined: 2/24/2008 Posts: 27
|
How to write a javascirpt from code behind and execute on the client ?
example:
(server side) Somehing like this: Page.ClientScript.Register... blabhalb lah
or
scriptManager.Register blahbla...
??? but in eo ??
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi,
You can put an asp:Label in the page and set it's text to the JavaScript you want to run (You need to include both the opening and closing <script> tag). This is a general ASP.NET programming technique that would have nothing to do with our controls though.
Thanks
|