Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 7th, 2004, 09:45 AM
Authorized User
 
Join Date: Jul 2003
Location: , , .
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Default Page Without Toolbars

Hello everyone and thanks for your help in advance. I need to develop a page that, upon opening, doe not display any of the toolbars. Basically, this is similar to the window.open feature of javascript with toolbars='no'. But I have two questions. Is there an ASP.Net equivalent for this. If not, the only way I know how to do this is with window.open, which I think means I would have to open one page, the redirect to the page without toolbars, since I don't think the window.open works for the inital page load. Any help on this would be greatly appreciated. Thanks.

 
Old February 9th, 2004, 12:18 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You are exacly right. You have to do this with window.open on the first page's resulting HTML. This is a client-side process so there is little (if any) alternative.

You can use ASP.net Page.RegisterStartupScript to get the necessary javascipt on the page if you need to do so programmatically. Otherwise, you could just put it directly into the first web form of your application.

Peter
------------------------------------------------------
Work smarter, not harder.




Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal Report toolbars not showing ching0418 ASP.NET 2.0 Basics 2 July 19th, 2006 10:56 PM
creating toolbars ozPATT Excel VBA 1 October 23rd, 2005 02:52 AM
remove Excel Toolbars using an ActiveX DLL maxpotters Pro VB 6 1 September 11th, 2005 08:05 AM
Chapter 8 - Toolbars (tech question) RobMeade BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 2 August 10th, 2004 11:40 AM
Toolbars the_it_guru VB How-To 1 January 19th, 2004 05:41 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.