Welcome Guest Search | Active Topics | Sign In | Register

Dynamic dialog, show at creation? Options
Tbone
Posted: Sunday, August 12, 2007 10:31:13 AM
Rank: Newbie
Groups: Member

Joined: 7/17/2007
Posts: 5
Hi, and thanks for the great support here on the forums.

I'm creating a dialog dynamically like this: (in a method like Page_Load or myButton_Click or any other method for that matter)

Dialog myDialog = new Dialog();
myDialog.InitialState = DialogState.Visible;
myDialog.ContentHtml ="Some html";
myDialog.HeaderHtml = "Some header html..";

-- What can I do to make this dialog appear? (I can't bind it to a specific button, I just want it to appear right here when I create it)
- Note, I can't create a reference to the dialog in the aspx-file either, I can only create the dialog fully dynamically like this.

Thanks alot!


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.