this will do the same thing with what msgbox does. It will disable the other controls and show the user the msgbox panel you designed. You can design the panel as you like. Afther user click on the "ok " button you will use panelmsgbox.visible=false and Page1.RootPanel.UserInteractionEnabled=true . so your panel will be acting like a msgbox.