Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > opening new window

Reply
Thread Tools

opening new window

 
 
JohnE
Guest
Posts: n/a
 
      01-04-2010
Hello. I am working on having a commandfield link on a gridview open another
window but in a more smaller regulated style (specified height, width,
sizable, etc). An example is the window that opens up here to enter the new
question/reply in. I seek help on how this is accomplished.
Thanks.
John
 
Reply With Quote
 
 
 
 
Abdul Sami
Guest
Posts: n/a
 
      01-04-2010
You can bind a javascript function to commandField link on rowDataBound
event. Inside javascript you can use this script
window.open ("newpage.aspx",
"mywindow","menubar=0,resizable=1,width=450,height =250");



--
Abdul Sami


"JohnE" wrote:

> Hello. I am working on having a commandfield link on a gridview open another
> window but in a more smaller regulated style (specified height, width,
> sizable, etc). An example is the window that opens up here to enter the new
> question/reply in. I seek help on how this is accomplished.
> Thanks.
> John

 
Reply With Quote
 
 
 
 
JohnE
Guest
Posts: n/a
 
      01-04-2010
Thanks to the both of you. Each comment gave me more ideas to use for this
and else where.
John


"JohnE" wrote:

> Hello. I am working on having a commandfield link on a gridview open another
> window but in a more smaller regulated style (specified height, width,
> sizable, etc). An example is the window that opens up here to enter the new
> question/reply in. I seek help on how this is accomplished.
> Thanks.
> John

 
Reply With Quote
 
JohnE
Guest
Posts: n/a
 
      01-04-2010


"Mark Rae [MVP]" wrote:

> "JohnE" <> wrote in message
> news:5FC1C264-4C37-4336-B72B-...
>
> [please don't top-post]
>
> >> Hello. I am working on having a commandfield link on a gridview open
> >> another
> >> window but in a more smaller regulated style (specified height, width,
> >> sizable, etc). An example is the window that opens up here to enter the
> >> new
> >> question/reply in. I seek help on how this is accomplished.

>
> > Thanks to the both of you. Each comment gave me more ideas to use for
> > this
> > and else where.

>
> Bear in mind that, whereas the window.open method will probably work OK on
> an internal intranet site, it is liable to cause you huge problems on a
> public Internet site due to popup blockers, etc...
>
>
> --
> Mark Rae
> ASP.NET MVP
> http://www.markrae.net
>
> .
>


I realized that just after I sent the email back. I thought back to the
SSRS project and I used something similar there and it did not work. I've
been googling some more and found a possible way of opening a new window.

Do have another question tho. I have a master page that has a row of
linkbuttons on it. These linkbuttons open up the different applications that
are being developed. The webapps are using a nested master page inheriting
from the master page, including the css. Is there a way to not show the row
of linkbuttons when the webapps are opened up?
.... John
 
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
Opening a new browser window to a specific size without the menu bar and address window. UJ ASP .Net 2 06-27-2005 08:21 PM
opening new window in one window using Tkinter -- Help please Clara Python 6 04-25-2005 03:09 AM
Opening a new page (i.e., spawning new IE window) via JavaScript kills the Session variable? POL8985 ASP .Net 1 01-31-2005 04:05 PM
Closing child window when opening a new Window Patrick Olurotimi Ige ASP .Net 2 12-14-2004 04:59 AM
Browswer Window moving when opening a new window Allan Javascript 1 08-05-2004 11:13 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57