I use Object tag, and init params injected to aspx like this :
<%= initparams %>
initparams is protected variable of my Page class:
public partial class _Default : System.Web.UI.Page
{
protected string initparams;
protected void Page_Load(object sender, EventArgs e)
{
initparams = "m=video.asx";
}
you can also change that variable in any event, it will be injected to rendered HTML.
Hrvoje
2009-03-26 17:51:59