AllExperts > Experts 
Search      

Active Server Pages Programming (ASP)

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More Active Server Pages Programming (ASP) Answers
Question Library

Ask a question about Active Server Pages Programming (ASP)
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Boster Sibande
Expertise
I can answer questions in the following areas: ASP.Net, VB.Net, C#.Net, Microsoft Access and SQL Server. These are the technologies I use in my day-to-day work. As such, I am very confident and happy to assist

Experience
I have two years experience with ASP.Net

Organizations
UNDP

Education/Credentials
Currently studying MSc. in IT

 
   

You are here:  Experts > Computing/Technology > Business Software > Active Server Pages Programming (ASP) > disable ie menubar

Topic: Active Server Pages Programming (ASP)



Expert: Boster Sibande
Date: 7/15/2006
Subject: disable ie menubar

Question
but i ve generated datagrid through coding in asp.net where should i put window.open code?
-------------------------

Followup To

Question -
i ve added action property and target=blank in form tag the resultant page should open with no menu bars in this. tnx in advance.

Answer -
The easiest way to open a window without menubars is using javascript window.open. The code should look like:
window.open('http://www.sibande.com', 'popUpWin','menubar=no')

Answer
There must be a caller of your page.
So the easiest way is to create a simple caller page e.g.
<html>
<body>
<script>
window.open('http://www.sibande.com/MyDataGrid.aspx', 'popUpWin','menubar=no')
//Close the caller
var oMe = window.self;
oMe.opener = window.self;
oMe.close();
</script>
</body>
</html>

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.