ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
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