Welcome Guest Search | Active Topics | Sign In | Register

Calling eo_GetObject from Code Behind Options
rader_rick
Posted: Thursday, October 18, 2007 12:35:40 PM
Rank: Member
Groups: Member

Joined: 10/10/2007
Posts: 10
Is it possible to fire the "javascript:eo_GetObject('Dialog1').show(true)" from codebehind from within a button_click method?
eo_support
Posted: Thursday, October 18, 2007 12:37:44 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,083
It's possible but there is an easier way to do it. You can simply set the dialog's InitialState to Visible and that should display the dialog for you.

rader_rick
Posted: Thursday, October 18, 2007 12:40:28 PM
Rank: Member
Groups: Member

Joined: 10/10/2007
Posts: 10
I'm trying to only display the dialog after the user clicks the button with the Dialog displaying the results.
rader_rick
Posted: Thursday, October 18, 2007 12:44:29 PM
Rank: Member
Groups: Member

Joined: 10/10/2007
Posts: 10
Ok, that worked for me. I just set the IntialState to hidden and then in the code behind used "Dialog1.InitialState = EO.Web.DialogState.Visible;" to then show the dialog. thanks!!


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.