Welcome Guest Search | Active Topics | Sign In | Register

Open dialog from callbackpanel postback Options
Scott
Posted: Monday, February 21, 2011 12:59:10 AM
Rank: Member
Groups: Member

Joined: 1/23/2011
Posts: 10
Hopefully very simple - I have a server control (i.e. button) inside a CallbackPanel. This button is attempting to call dialog.Show(). The dialog is not displaying. It will display if the button is not inside the CBP. I have moved the dialog into the CBP to no avail. Am I missing something simple?
eo_support
Posted: Monday, February 21, 2011 8:58:32 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Scott
Posted: Monday, February 21, 2011 9:54:02 AM
Rank: Member
Groups: Member

Joined: 1/23/2011
Posts: 10

I have grid inside a callbackpanel. The grid contains a button (shown below). I want to pre-populate a dialog window via a query to the database (server side) with respect to the datafield in the button. Once populated I would like to show the dialog. I can only make this work if I remove the callback panel and capture the Grid ItemCommand.

<eo:ButtonColumn ButtonText="Edit" Width="60" CommandName="Edit" DataField="estimate_task_id" >
</eo:ButtonColumn>
eo_support
Posted: Monday, February 21, 2011 11:36:13 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

The conditions for that to work are:

1. The Grid must be set as a trigger;
2. The dialog must be inside the CallbackPanel;

If both conditions are met, then it should work. If it does not work, please create a test page and we will be happy to take a look.

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.