Welcome Guest Search | Active Topics | Sign In | Register

How to write a javascirpt from code behind and execute on the client Options
xtremexploit
Posted: Friday, April 4, 2008 7:50:23 PM
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 ??
eo_support
Posted: Friday, April 4, 2008 7:59:52 PM
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


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.