Welcome Guest Search | Active Topics | Sign In | Register

Passing a value to another webpage inside a Dialog control Options
mburolla
Posted: Thursday, July 16, 2009 11:24:55 AM
Rank: Advanced Member
Groups: Member

Joined: 4/13/2009
Posts: 37
Hello,

What's the best way to transfer a value from a webpage to another webpage that resides in a Dialog control? In other words, I'd like to do something like the following:

//
// Pass the value from test.aspx.
//
dlgUpload.ContentUrl = "Upload.aspx";
dlgUpload.QueryString.Add( "Age", "32" );
dlgUpload.InitialState = EO.Web.DialogState.Visible;

//
// Grab the value in Upload.aspx.
//
protected void Page_Load(object sender, EventArgs e)
{
string theAge = Request.QueryString[ "Age" ].ToString();
}


Thanks,
Marty
mburolla
Posted: Thursday, July 16, 2009 11:42:02 AM
Rank: Advanced Member
Groups: Member

Joined: 4/13/2009
Posts: 37
Nevermind. I found the answer in my question.

MB


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.