We've expanded our news coverage and improved our search! Visit
oreilly.com for the latest or search for all things across O'Reilly!
Article:
 |
|
Enhancing ASP.NET Pages with JavaScript
|
| Subject: |
|
Dynamic youtube plugin in asp.net with c# |
| Date: |
|
2008-04-25 06:33:47 |
| From: |
|
Keisham
|
Response to: Dynamic youtube plugin in asp.net with c#
|
|
I have found the solution to this, Am posting this to help someone who faces similar problem.
you got to create a function say
public void passurl(string url)
{
"<script language=javascript>" +
"document.getElementById('elementID').src='"+ url+ "'; </script>";
page.RegisterStartupScript("put the params here"};
}
call this on some event.
Cheers,
Keisham
|