How to hide the addressbar in the showmaodal dailogue?

Posted by Hemanth.Gottipati under ASP.NET on 7/12/2013 | Points: 10 | Views : 1283 | Status : [Member] | Replies : 1
Hi,
How to hide the address bar in the showmodaldailogue,i am applying these settings statusbar:no; toolbar:no; menubar:no; addressbar:no; titlebar:no; but it will not work
Please give reply how to hide?




Responses

Posted by: Jitendrasoft09 on: 7/12/2013 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hello Hemanth,

You need to write below code for hiding
window.showModalDialog('MyPage.aspx','Title','toolbar=no,status=no,resizable=1,scrollbars=1,menubar=no,location=no,width='+screen.width+',height=700'); 


or you can search the control with jquery slector to hide showModelDialog toolbar.

Refer below link for more information-
http://forums.asp.net/t/1350163.aspx/1

Hope you are clear..

Jitendra Kumar
If my post helps you, plz mark as an answer.

Hemanth.Gottipati, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response