Welcome Guest Search | Active Topics | Sign In | Register

Display a loading message using Dialog when call back Options
Bruce
Posted: Tuesday, February 24, 2009 10:38:32 PM
Rank: Member
Groups: Member

Joined: 2/22/2009
Posts: 13
Hi. I would like to display a message (e.g. "Saving..." , "Loading...") with Dialog Control when callback process is started. So the end user cannot do anything until the callback process is ended. I do it like that.

When user press a toolbar button, a modal dialog will popup by calling the client-side function and inside the function. It actually call "eo_GetObject('Dialog1').show(true)" to show the dialog. After that it will call "eo_Callback('callback1', 'test')" to start callback process. However, it didn't show the dialog.
eo_support
Posted: Wednesday, February 25, 2009 8:42:18 AM
Rank: Administration
Groups: Administration

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

You don't need to write any code for that. All you need to do is to set the CallbackPanel's LoadingDialogID. Here is a working example for this feature:

http://demo.essentialobjects.com/Default.aspx?path=Dialog\_i1\input_blocker

Thanks!
Bruce
Posted: Wednesday, February 25, 2009 8:12:24 PM
Rank: Member
Groups: Member

Joined: 2/22/2009
Posts: 13
Sorry about that. I missed this part


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.