This is a migrated thread and some comments may be shown as answers.

Displaying MsgBox On TOP of Modal RadWindow

1 Answer 21 Views
Window
This is a migrated thread and some comments may be shown as answers.
Shawn
Top achievements
Rank 1
Shawn asked on 18 May 2011, 12:37 AM
I have a number of forms that open in a modal RadWindow.  On the popup window, there are a number of other forms that can be edited individually.  When they are saved, I wanted just a standard MsgBox to appear like so:

MsgBox("Information has been updated. ", MsgBoxStyle.Information, "Information Update")

That works fine, however it does NOT open over the top (or take focus) over the RadWindow.

Also, once the user clicks ok on the msgbox, how can I also close the RadWindow?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 20 May 2011, 09:52 AM

Hello Shawn,

Please note that the fact that the message box stays hidden or minimized in the taskbar is a general behavior of the MsgBox and is not related to our controls. You can reproduce it by simply adding a button to the main page.

To make a MsgBox stay on top you could set its style to SystemModal (or any other of the available which suits your needs). I believe you may find the following search: http://www.google.com/search?hl=en&client=opera&rls=en&channel=suggest&q=vb+msgbox+on+top&aq=1sv&aqi=g-v1g-sv1g-v1g-j1&aql=&oq=vb+MsgBox+on and site: http://www.autohotkey.com/docs/commands/MsgBox.htm useful.

As for closing the RadWindow - You can set its VisibleOnPageLoad property to false in the code-behind, yet I would recommend simply opening it on the client via JavaScript and it will not open automatically after the postback (unless the VisibleOnPageLoad proeprty is set to true, of course).



Best wishes,
Marin
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Window
Asked by
Shawn
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or