Menubar not getting displayed with window.open()
Posted on 2008-10-22
I have used following code to open a window using c#:
Page.ClientScript.RegisterStartupScript(GetType(Page), "OnClientClick", "<script>window.open('ViewFile.aspx',null,'height=500','width=800','resizable=yes','scrollbars=yes','toolbar=yes','menubar=1','status=yes');</script>")
But problem is that the menubar is not getting displayed on the window. I dont know why it is happenning. is there any solution for it?
Please help me.
Thanx in advance.