|
-
Jan 3rd, 2010, 07:49 AM
#1
Thread Starter
Addicted Member
Re: Run Java in code behind using ClientScript.RegisterStartupScript
I guess that was my other question. The way I did it worked but it seemed redunant. I had the java script in the page, then 2 register scripts in the code behind.
I had no reason to put the javascript in the page other than to idenity the javascript file. I experimented trying several different ways and this is the first way I found that worked. If you know another way without the redundancy I would love to hear it. I assume you were talking about an include statement something like the one below.
<!--#INCLUDE virtual="jsscript.js"-->
Could you give me an example? All of my code is posted
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|