|
Rank: Advanced Member Groups: Member
Joined: 1/9/2009 Posts: 97
|
I just downloaded the new build to try this new Msgbox which is awesome to finally have someone build. Here my problem I can get the message Box to show after a Normal Postback. However I wanted the Message to come up after the Callback Panel has been triggered. It seems the MsgBox will only show during Postback not callbacks. Have you guys tested to confirm this?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
In order to use MsgBox with CallbackPanel, you must put the MsgBox control inside the CallbackPanel. This is the same rule for any control when you use it with CallbackPanel, and MsgBox is no exception.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 1/9/2009 Posts: 97
|
Yes I did that. Also the Message Box Height in Width are going off the defaults of 216x320. I had to specify them in the Markup code. I never had to do that with the Dialog. So the MsgBox control should work and show itself with the Callback Panel? because on my Development box i go the Windows msgBox() to show and yours didnt.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, You may want to take a look of our samples. Open this sample on your local machine: http://demo.essentialobjects.com/Default.aspx?path=MsgBox\_i0\_i0Then place a CallbackPanel around the MsgBox control and set the Button as a trigger for the CallbackPanel. You will see it works fine. MsgBox IS a Dialog. So there is really nothing particular about it as to CallbackPanel. If you continue to have problem, you will need to create a test page that reproduces the problem so that we can look into it. Thanks
|
|
Rank: Advanced Member Groups: Member
Joined: 1/9/2009 Posts: 97
|
It finally works. Took like a minute or so after the Callback was complete to pop-up the window. I am going to ry this on a different dev box. Quick question though. The Dialog Box with Vista Style has a Red X in the corner to close the box. I noticed the MsgBox Shows it in the Preview but when display its not there anymore. Is there a Reason for this, like to force them to click the "OK" button? Because it leaves this weird black line where the end of the RED X box would be. You may want to look into fixing the size for that
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
We verified this with our sample page (the same sample we gave to you in our previous post) and it works fine. So you may want to always check with the samples first. That can at least tell you whether the problem is related to your environment or not.
|
|