Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics 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 July 19th, 2007, 06:11 AM
Authorized User
 
Join Date: Mar 2007
Location: ahmedabad, gujarat, India.
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default open new browser window

hi friends!!

i want to open a new window to display data.

how it can be possible with linkbutton or asp button control??

thanks in advance.....

Bhavesh.

 
Old July 19th, 2007, 07:25 AM
Friend of Wrox
Points: 1,935, Level: 17
Points: 1,935, Level: 17 Points: 1,935, Level: 17 Points: 1,935, Level: 17
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2004
Location: United Kingdom
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

Couldn't get you clearly, you can open a new window using the javascript's window.open() method, let us know if you want to ask something in specific...

Regards
Mike

Don't expect too much, too soon.
 
Old July 19th, 2007, 07:34 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

In your code behind you can do something like this:

lb.Attributes.Add("onClick", "window.open('url','windowName');");

hth.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========




Similar Threads
Thread Thread Starter Forum Replies Last Post
browser wouldn't open b00k12 Visual Basic 2005 Basics 0 July 11th, 2007 12:57 AM
Open new browser window amatytfc ASP.NET 2.0 Basics 2 February 22nd, 2007 06:03 AM
File Browser window Figgis Access 2 November 20th, 2005 01:49 PM
Launch default browser in a new browser window haiying Beginning VB 6 1 August 30th, 2005 05:48 PM
How to open window browser in ASP? Andraw Classic ASP Basics 6 March 31st, 2005 07:31 PM





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