If you absolutely don't want to reload the page, you could use some clever JavaScript to get the contents of the current document (the one you want to print), open a new window, and write that content of the document to the new window.
Mark -----Original Message----- From: Chris Hynes [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 12:08 PM To: [EMAIL PROTECTED] Subject: RE: [AspNetAnyQuestionIsOk] How to have "Printer Friendly" button -- simple question I don't think you can change the layout of a frameset without reloading the page. Chris -----Original Message----- From: Burak Gunay [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 2:06 PM To: [EMAIL PROTECTED] Subject: RE: [AspNetAnyQuestionIsOk] How to have "Printer Friendly" button -- simple question The problem is I don't want to reload the page. I just want the current panel in the page to take up the entire screen, instead of just right side of the screen. --- Chris Hynes <[EMAIL PROTECTED]> wrote: > Use an use the querystring to determine what mode to be in. For > example, you might have the url be "YourPage.Aspx?mode=print" and then > in the page load check Request.QueryString["mode"] to show the correct > panel. > > Chris > > -----Original Message----- > From: Burak Gunay [mailto:[EMAIL PROTECTED] > Sent: Friday, May 21, 2004 12:08 PM > To: [EMAIL PROTECTED] > Subject: RE: [AspNetAnyQuestionIsOk] How to have "Printer Friendly" > button > -- simple question > > > Hello Chris, > > I am using a hypelrink button > > <asp:HyperLink id="imgPrint" NavigateUrl="#" > Runat="server" ImageUrl="images/b_print_friend.gif" > Target="_top"></asp:HyperLink> > > when I click on it, the page take sup the whole screen but > unfortunately gets reloaded so I end up seeign the first panel instead > of the last. > > Do you know how to get around this? > > Thanks, > > Burak > > --- Chris Hynes <[EMAIL PROTECTED]> wrote: > > What about navigating to _top? > > > > Chris > > > > -----Original Message----- > > From: Burak Gunay [mailto:[EMAIL PROTECTED] > > Sent: Friday, May 21, 2004 11:13 AM > > To: [EMAIL PROTECTED] > > Subject: [AspNetAnyQuestionIsOk] How to have > "Printer Friendly" button > > -- simple question > > > > > > Hello, > > > > I have a web page with multiple panels. On one > of the panels I want > > to put a "Printer Friendly Version" > > button. > > > > The web page I am working on might be inserted in > the right frame of > > a frameset. > > > > How can I have my aspx page take up the whole > page when the printer > > friendly version button is clicked, without > knowing any frame names? > > > > Thank you, > > > > Burak > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Domains Claim yours for only $14.70/year > > http://smallbusiness.promotions.yahoo.com/offer > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Domains Claim yours for only $14.70/year > http://smallbusiness.promotions.yahoo.com/offer > > > > > Yahoo! Groups Links > > > > > > > __________________________________ Do you Yahoo!? Yahoo! Domains Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer Yahoo! Groups Links Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor ---------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM ---------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
