.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
abhays
satyapriyanayak
SP
Ashutosh Jha
ASPEvil
Post New Web Links

How to Print the Asp.net Page Contents or Full Page

Posted By:      Posted Date: November 03, 2010    Points: 0   Category :ASP.Net
 

Hi all,

 

How  to Print the Asp.net Page Contents or Full Page in ASp.net . I have to given the facility to user to print the Page with enterd Data .

OR

How to Deal with the Print functionality in Asp.net

Any Article or suggestion is appericated .

 

Best Regards

 




View Complete Post


More Related Resource Links

Reporting services in 2008 r2 how to get a report in a print button click event in my c#.net page

  

how to  get a report in my c#.net page button lick event also steps to call a report from asp.net to reporting services

 

Thanks in advance


Change part of a page without full postback

  

I have a page with two columns. Initially, the left column will contain a list of links that are article titles. Clicking on one of the links will display the text of the article in the right column, keeping the list of titles in the left column. Clicking on another title will clear the text of the first article and display the second. Is there a way to accomplish this without having to repaint the whole page? I would rather not have the whole page resent each time a title is clicked, but rather have the page stay as is and only the contents of the right column get cleared and redisplayed. I assume there's a way to do this with JavaScript, but I don't know how and would appreciate some help. Thanks!


Consistently running out of page file memory with full text indexer

  
Using MS SQL Server 2008 SP1 x64 Standard Edtion on Windows 2008 R2 Enterprise, I'm about to full-text index for the first time 1 table and 2 views. The table contains about 250'000 entries with a data space of 180 MB. As soon as I activate the full text indexing, the fdhost.exe task starts to consume slowly but surely all the available page file space (this can be easily watched using the Resource Monitor and the Commit Charge graph on the memory tab). Once all the virtual memory has been consumed, the server becomes unusable since it can't open any new windows any more, and RDP stops working. The machine specs are as follows: 12 GB of RAM 80 GB free on hard disk out of 136 GB 8 CPUs Custom size paging file with sizes between 24 GB - 60 GB (originally, this was system managed size, but then the server ran out of memory sooner) Max SQL server memory set to 6 GB (first 10 GB, then 8 GB) I've set the max fulltext crawl range to 8. During the indexing, the 8 CPUs are bit busy for a while, but not excessively. What is astonishing is that there is almost no use of physical memory during the indexing (I can see an increase from 2 GB to 3 GB which still leaves plenty of RAM available). Does anybody have an idea how I can convince fdhost.exe to consume physical memory and leave the paging memory alone? Or what else can I try?

PageViewerWebPart content url redirects to a full page

  
I have a many pages that contain the mentiond webpart, and it works swimmingly.  However there are a few links that re-direct and open a full page in the browser, and not in the webpart :( I am fairly sure that there is no way to stop this with out access to the javascript or url (which i may have access to eventually). I am curious if anyone else has experinced this small snafu and what, if any, was your work around. Regards, max   ps i coded and added this in C#, hence the post in the programming sub-forum.

change contents of page based on choices

  
Hi,I am using AppCode and have 6 arrays of information I want to display on my web page. However I only want three to be visible at any one time. ________________________________ |                    |                       |                 | |                    |                       |                 | ________________________________      button             button            button i.e. a table like the above.   I have created the layout and the choice buttons etc I am using querystrings to pass the changes to the webpage.The problem comes however when trying to write the code for the table diplay. Now each has a slightly different layout.My initial thought was to write

Full Control users only able to edit Shared Version of page in MOSS 2007

  
Hi, In MOSS 2007 we have a site collection that does not allow the owners to edit pages. There is no broken inheritance in the permissions, and when a user clicks "Site Actions" and then "Edit" they get a toolbar saying they are only editing the Shared Version of the page. No pages are checked out to any other users either and the users attempting this (including the Farm account) are not able to edit these pages. What would be the next steps to debugging this problem as it is not one I have encountered previously?  

have print friendly page, want to hide columns of gridview

  
using vb.net/asp.net 2005I have linkbuttons calling the javascript function at the bottom of this post to print out the contents of a div and this is working ok but theissue that i have is inside the div is a gridview that displays links and another text column (among other colums) and I would like tohide the links and the text column next to it using css.Has anyone done this?btw, here is the javascript print function# function printThisDiv() # { # try{ # var sOption="toolbar=yes,location=no,directories=yes,menubar=yes,"; # sOption+="scrollbars=yes,width=750,height=600,left=100,top=25"; # # var sWinHTML = document.getElementById('dvTheDivIWantToPrint').innerHTML; # # # var winprint=window.open("","",sOption); # winprint.document.open(); # winprint.document.write('<html><body>'); # winprint.document.write(sWinHTML); # winprint.document.write('</body></html>'); # winprint.document.close(); # winprint.focus(); # # }catch(err){ # txt="There was an error on this page.\n\n"; # txt+="Error description: " + err.description + "\n\n"; # txt+="Click OK to continue.\n\n"; # alert(txt); # } }

UpdatePanel in .Net 4 - Causing Full Page Postbacks

  
Hi Guys,I've just updated a website from 3.5 to 4.0 and I've noticed that paging controls and command buttons in update panels cause full page postbacks (where they never use to in my 3.5 version).Any ideas why this might be?Cheers,Andrew

Print PDF from my page .aspx C# VS-2008

  
Hello I have a aspx page with Charts and DataGrips and I want to print all my page in a pdf just like it look in my page.

how to print Test-page on default Printer ?

  
hi how to print Test-page on default Printer  using C# Winform Code ? thank's in advance

pass datas from one page to another to print

  
i have a page default.aspx ..... i am getting user information for our college symposium through that page..... when the user click the save and print button......it should be saved to the database and the form should be printed... saving is working correctly......wat i want is when the user click the print button then the information should be opened in a pop u window and the user shoul print that popup window application form awaiting for reply.....very urgenthi developers.....i have a page default.aspx .....i am getting user information for our college symposium through that page.....when the user click the save and print button......it should be saved to the database and the form should be printed...saving is working correctly......wat i want is when the user click the print button then the information should be opened in a pop u window and the user shoul print that popup window application form after registration.awaiting for reply.....very urgent

how to print current page and all pages of listview?

  

hi,

I have a listview.When I click a "Print" button It should be  print only listview items (current page & all pages).


how to do this pls tell me?


many thanks in advance.



Cannot see contents on the page

  

User cannot see contents (web part) on the page even though he has full control access. I have checked all the permission levels. In addition, i verified the publishing feature. Page is published as a major version. Could not see any reason why he cannot see contents. User did not get any error. He just see plan page without any contents.


Kindly, guide me on this.

 


Br Prashant

How to show left menu and center of page contents in an ASPX page?

  

Scenario : Within sharepoint site user will click on a hyperlink which should take him to a new page and this new page will have the same header/footer (so I will create a copy of the masterpage with just header,footer) but the left side menu navigation will dynamically change and for each click event within the menu, the center of the page will show varying texts plus videos.

Need some directions as how I can acheive the above? What should I use to build menu control and similarly how to control the center text of the page.  

Can I acheive the entire above using webpart and if so how? Do I need to use user control for menu and for center text display webpart ? or else any other best options?  

Please suggest.


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend