| Article: |
Enhancing ASP.NET Pages with JavaScript | |
| Subject: | Dynamic youtube plugin in asp.net with c# | |
| Date: | 2008-04-24 06:40:30 | |
| From: | Keisham | |
|
I have embedded the youtube plugin in the asp.net using
|
||
Showing messages 1 through 1 of 1.
| Article: |
Enhancing ASP.NET Pages with JavaScript | |
| Subject: | Dynamic youtube plugin in asp.net with c# | |
| Date: | 2008-04-24 06:40:30 | |
| From: | Keisham | |
|
I have embedded the youtube plugin in the asp.net using
|
||
Showing messages 1 through 1 of 1.
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