Re: How do I open a new browser window programmatically?
- From: "Nathan Sokalski" <njsokalski@xxxxxxxxxxx>
- Date: Fri, 3 Jun 2005 19:58:22 -0400
I understand everything about the Javascript window.open method and how
popup blockers may cause problems when using it. This is why I have been
looking for a way to open a new browser window using ASP.NET without
manually writing the Javascript. But if I do use Javascript, how do I tell
ASP.NET code written in VB.NET to call it? The specific purpose I plan to
use this for is when to open a printable version of a page when the user
clicks a button. I would rather use an ImageButton control than nest and
Image control inside of a HyperLink control with a Target property of
_blank. This way I can use less controls and I would also like to use the
CommandArgument property of the ImageButton control. Thanks.
--
Nathan Sokalski
njsokalski@xxxxxxxxxxx
http://www.nathansokalski.com/
"Steve C. Orr [MVP, MCSD]" <Steve@xxxxxxx> wrote in message
news:OPITS%23IaFHA.4040@xxxxxxxxxxxxxxxxxxxxxxx
> You can open windows with the javascript window.open method.
> Here's more info:
> http://SteveOrr.net/articles/ClientSideSuite.aspx
> http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/open_0.asp
>
> Some popup blockers may foil your plans however, so consider alternate
> designs.
>
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://SteveOrr.net
>
>
> "Nathan Sokalski" <njsokalski@xxxxxxxxxxx> wrote in message
> news:uP4gcJIaFHA.2420@xxxxxxxxxxxxxxxxxxxxxxx
>> How do I open and change properties of (such as size, position, scroll
>> position, visibility of toolbars, etc.) a browser window? Thanks.
>> --
>> Nathan Sokalski
>> njsokalski@xxxxxxxxxxx
>> http://www.nathansokalski.com/
>>
>
>
.
- References:
- How do I open a new browser window programmatically?
- From: Nathan Sokalski
- Re: How do I open a new browser window programmatically?
- From: Steve C. Orr [MVP, MCSD]
- How do I open a new browser window programmatically?
- Prev by Date: Re: windows form controls in place of web controls in .net 2.0
- Next by Date: problem on causeValidation property on dialog form
- Previous by thread: Re: How do I open a new browser window programmatically?
- Next by thread: How to create this string?
- Index(es):
Relevant Pages
|