+2  A: 

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
I have 4 asp button links running the same modal popup. I dont think that will change something that has been selected after the page loads...or would it?
Mitchell Skurnik
That solved it. Thank you!
Mitchell Skurnik
don't really understand your first comment, but if it works you can mark it as answered!
Hrvoje