Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Opening a page in a separate browser

Reply
Thread Tools

Opening a page in a separate browser

 
 
Uriah Piddle
Guest
Posts: n/a
 
      11-09-2006
Hi,

Does anyone know how to open an ASP.NET 2.0 page in a separate browser
window? I'm trying to show images when the user clicks a thumbnail and I
want the user to be able to see the image and the thumbnail at the same
time.

Thanks.

Steve


 
Reply With Quote
 
 
 
 
Laurent Bugnion
Guest
Posts: n/a
 
      11-09-2006
Hi,

Uriah Piddle wrote:
> Hi,
>
> Does anyone know how to open an ASP.NET 2.0 page in a separate browser
> window? I'm trying to show images when the user clicks a thumbnail and I
> want the user to be able to see the image and the thumbnail at the same
> time.
>
> Thanks.
>
> Steve


ASP.NET is irrelevant in this case. Opening the new window happens on
the client, so it's a HTML and/or JavaScript issue.

For example:

<a href="image01.jpg" target="_blank"><img src="thumbnails/image01.jpg"></a>

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
 
Reply With Quote
 
 
 
 
Alvin Bruney [MVP]
Guest
Posts: n/a
 
      11-09-2006
Have you tried Response.Write("<script>window.open('page.aspx')</script>")?
that should do a popup style window. The window.open call also allows you to
size and customize the window as appropriate.

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------


"Uriah Piddle" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi,
>
> Does anyone know how to open an ASP.NET 2.0 page in a separate browser
> window? I'm trying to show images when the user clicks a thumbnail and I
> want the user to be able to see the image and the thumbnail at the same
> time.
>
> Thanks.
>
> Steve
>



 
Reply With Quote
 
bruce barker \(sqlwork.com\)
Guest
Posts: n/a
 
      11-09-2006
most popup blockers will prevent this approach. it is not a good practice.

-- bruce (sqlwork.com)


"Alvin Bruney [MVP]" <www.lulu.com/owc> wrote in message
news:(E-Mail Removed)...
> Have you tried
> Response.Write("<script>window.open('page.aspx')</script>")? that should
> do a popup style window. The window.open call also allows you to size and
> customize the window as appropriate.
>
> --
> ________________________
> Warm regards,
> Alvin Bruney [MVP ASP.NET]
>
> [Shameless Author plug]
> Professional VSTO.NET - Wrox/Wiley
> The O.W.C. Black Book with .NET
> www.lulu.com/owc, Amazon
> Blog: http://www.msmvps.com/blogs/alvin
> -------------------------------------------------------
>
>
> "Uriah Piddle" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> Hi,
>>
>> Does anyone know how to open an ASP.NET 2.0 page in a separate browser
>> window? I'm trying to show images when the user clicks a thumbnail and I
>> want the user to be able to see the image and the thumbnail at the same
>> time.
>>
>> Thanks.
>>
>> Steve
>>

>
>



 
Reply With Quote
 
Uriah Piddle
Guest
Posts: n/a
 
      11-10-2006
Thanks everybody.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Separate Tabs, Separate Sessions BigAndy Firefox 0 05-09-2007 09:27 AM
Separate Tabs, Separate Sessions BigAndy Firefox 0 05-09-2007 09:26 AM
Using separate classpaths for separate classes? Frank Fredstone Java 1 06-27-2006 06:46 AM
Anyone resolved links opening blank page? or box opening in Outlook 2000? S.Rodgers Firefox 13 12-16-2005 03:07 PM
How to use several separate classes (separate files) to be executed in one class (another file) EvgueniB Java 1 12-15-2003 01:18 AM



Advertisments