Hi there!
I'm a total newbie at web development, so I started bydownloading and
installing Visual Web Developer 2005 Express Edition as well as SQL Server
2005 Express Edition. I also downloaded several starterkits and studied the
MSDN articles on these starterkits. I learned quite a lot from them and got
things started nicely. There is one thing that I hoped to find, however, but
didn't. That is how to implement printing in my web application. Just
printing the web page itself is one thing, but I'd also like to enable my
users to print reports, preferably in some sort of company housestyle.
I already looked into the options of the ReportViewer object, which seem to
cover what I need for my application. However, when I include the object in
my web page, the Print button doesn't show, so for some weird reason that
doesn't work. Maybe I'm doing something wrong.
Are there any whitepapers or other technical articles that can help me get
what I want? Or can anyone provide me with an example (ASP.NET/C#) that I can
use?
Any help will be greatly appreciated!!
Greetings, Vera 4 4211
Vera,
There's a ShowPrintButton property that can be set to true/false.
Now, because it's a web app, you really don't have the same control over
printing that you would with a desktop app. HTML and Javascritp only enable
so much with printing as the basic design of a web browser precludes this
kind of access (security hazard and all). You could control certain aspects
using CSS as most modern browsers support the ability to define a special
print set of styles that define the appearance of the document when it's
printed out, but doesn't show it when it's being viewed in the browser.
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
"Vera" <Ve**@discussio ns.microsoft.co mwrote in message
news:35******** *************** ***********@mic rosoft.com...
Hi there!
I'm a total newbie at web development, so I started bydownloading and
installing Visual Web Developer 2005 Express Edition as well as SQL Server
2005 Express Edition. I also downloaded several starterkits and studied
the
MSDN articles on these starterkits. I learned quite a lot from them and
got
things started nicely. There is one thing that I hoped to find, however,
but
didn't. That is how to implement printing in my web application. Just
printing the web page itself is one thing, but I'd also like to enable my
users to print reports, preferably in some sort of company housestyle.
I already looked into the options of the ReportViewer object, which seem
to
cover what I need for my application. However, when I include the object
in
my web page, the Print button doesn't show, so for some weird reason that
doesn't work. Maybe I'm doing something wrong.
Are there any whitepapers or other technical articles that can help me get
what I want? Or can anyone provide me with an example (ASP.NET/C#) that I
can
use?
Any help will be greatly appreciated!!
Greetings, Vera
<A href="javascrip t:window.print( )">
Print Me!</A"Vera" <Ve**@discussio ns.microsoft.co mwrote in message news:35******** *************** ***********@mic rosoft.com...
Hi there!
I'm a total newbie at web development, so I started bydownloading and
installing Visual Web Developer 2005 Express Edition as well as SQL Server
2005 Express Edition. I also downloaded several starterkits and studied the
MSDN articles on these starterkits. I learned quite a lot from them and got
things started nicely. There is one thing that I hoped to find, however, but
didn't. That is how to implement printing in my web application. Just
printing the web page itself is one thing, but I'd also like to enable my
users to print reports, preferably in some sort of company housestyle.
I already looked into the options of the ReportViewer object, which seem to
cover what I need for my application. However, when I include the object in
my web page, the Print button doesn't show, so for some weird reason that
doesn't work. Maybe I'm doing something wrong.
Are there any whitepapers or other technical articles that can help me get
what I want? Or can anyone provide me with an example (ASP.NET/C#) that I can
use?
Any help will be greatly appreciated!!
Greetings, Vera
I tried the ShowPrintButton property. Even if I set it to true, the button
doesn't show.
There must be some way to get some printing done from a web page. Even this
page from which I entered my question has a button saying 'Print Post'. So
it's obviously not impossible. But how does it work? What objects and/or
classes do I need and how do I use them? And you say something about CSS. How
do I use that? Do you have an example?
Vera
"Mark Fitzpatrick" wrote:
Vera,
There's a ShowPrintButton property that can be set to true/false.
Now, because it's a web app, you really don't have the same control over
printing that you would with a desktop app. HTML and Javascritp only enable
so much with printing as the basic design of a web browser precludes this
kind of access (security hazard and all). You could control certain aspects
using CSS as most modern browsers support the ability to define a special
print set of styles that define the appearance of the document when it's
printed out, but doesn't show it when it's being viewed in the browser.
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
"Vera" <Ve**@discussio ns.microsoft.co mwrote in message
news:35******** *************** ***********@mic rosoft.com...
Hi there!
I'm a total newbie at web development, so I started bydownloading and
installing Visual Web Developer 2005 Express Edition as well as SQL Server
2005 Express Edition. I also downloaded several starterkits and studied
the
MSDN articles on these starterkits. I learned quite a lot from them and
got
things started nicely. There is one thing that I hoped to find, however,
but
didn't. That is how to implement printing in my web application. Just
printing the web page itself is one thing, but I'd also like to enable my
users to print reports, preferably in some sort of company housestyle.
I already looked into the options of the ReportViewer object, which seem
to
cover what I need for my application. However, when I include the object
in
my web page, the Print button doesn't show, so for some weird reason that
doesn't work. Maybe I'm doing something wrong.
Are there any whitepapers or other technical articles that can help me get
what I want? Or can anyone provide me with an example (ASP.NET/C#) that I
can
use?
Any help will be greatly appreciated!!
Greetings, Vera
Vera,
No object or class will do it. The Print Post button I believe
you're seeing (I don't see it as I'm accessing the group through a
newsreader directly and not a web interface) will only use a JavaScript on
the client to invoke the print dialog. There's not much else that is or can
be done as you can't create server-side print code because that won't affect
the browser, and the browser is designed to prevent any malicious code from
running features of the OS.
Run a search over at www.dynamicdrive.com for some JavaScript print
functions. There are a few, but all they can really do is invoke the print
dialog. There's one implementation at: http://www.dynamicdrive.com/dynamicindex9/other1.htm A little more complex
than some, but supposedly cross-browser compatible.
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
"Vera" <Ve**@discussio ns.microsoft.co mwrote in message
news:F2******** *************** ***********@mic rosoft.com...
>I tried the ShowPrintButton property. Even if I set it to true, the button
doesn't show.
There must be some way to get some printing done from a web page. Even
this
page from which I entered my question has a button saying 'Print Post'. So
it's obviously not impossible. But how does it work? What objects and/or
classes do I need and how do I use them? And you say something about CSS.
How
do I use that? Do you have an example?
Vera
"Mark Fitzpatrick" wrote:
>Vera, There's a ShowPrintButton property that can be set to true/false. Now, because it's a web app, you really don't have the same control over printing that you would with a desktop app. HTML and Javascritp only enable so much with printing as the basic design of a web browser precludes this kind of access (security hazard and all). You could control certain aspects using CSS as most modern browsers support the ability to define a special print set of styles that define the appearance of the document when it's printed out, but doesn't show it when it's being viewed in the browser.
-- Hope this helps, Mark Fitzpatrick Former Microsoft FrontPage MVP 199?-2006
"Vera" <Ve**@discussio ns.microsoft.co mwrote in message news:35******* *************** ************@mi crosoft.com...
Hi there!
I'm a total newbie at web development, so I started bydownloading and
installing Visual Web Developer 2005 Express Edition as well as SQL
Server
2005 Express Edition. I also downloaded several starterkits and studied
the
MSDN articles on these starterkits. I learned quite a lot from them and
got
things started nicely. There is one thing that I hoped to find,
however,
but
didn't. That is how to implement printing in my web application. Just
printing the web page itself is one thing, but I'd also like to enable
my
users to print reports, preferably in some sort of company housestyle.
I already looked into the options of the ReportViewer object, which
seem
to
cover what I need for my application. However, when I include the
object
in
my web page, the Print button doesn't show, so for some weird reason
that
doesn't work. Maybe I'm doing something wrong.
Are there any whitepapers or other technical articles that can help me
get
what I want? Or can anyone provide me with an example (ASP.NET/C#) that
I
can
use?
Any help will be greatly appreciated!!
Greetings, Vera
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ben |
last post by:
Hi all,
I implemented a stack in C++ in 2 different ways and I'd like to know
which approach is better than the other.. and if there is any
difference between the two? I'd also like to know if the destructor
i'm using is correct.. I got segmentation fault in my second approach
while I quit the program. I appreciate any help....
My first appoach goes like this:
|
by: Wendy Elizabeth |
last post by:
I would like to know how to print a crystal report that was generated in the
..NET framework using a Visual Basic.NET web application and/or a Visual
basic.NET windows application.
When crystal reports runs by itself, you can do a print preview to see what
the report will look like. I would like to know how to do this using crystal
reports that is embedded in the Visual Studio.net 1.1 professional and
enterprise architect versions.
...
|
by: philip.mckee |
last post by:
Hi
Looking for some very general advice. I have a classic asp content
management application which I am porting to ASP.NET. The database is
SQL server, and it is hoped that we can leverage this without
significant alterations. There is approx 30 users accessing and
managing information using the application. Currently users log on to
the system using group logins. A general connection string is used with
all communication with the...
|
by: Joseph Geretz |
last post by:
I have the following class which I am serializing and passing back and forth
between my Web Service application and the client.
public class Token : SoapHeader
{
public string SID;
public string UID;
public string PWD;
}
|
by: Edward K Ream |
last post by:
The pros and cons of making 'print' a function in Python 3.x are well
discussed at:
http://mail.python.org/pipermail/python-dev/2005-September/056154.html
Alas, it appears that the effect of this pep would be to make it impossible
to use the name 'print' in a backward compatible manner. Indeed, if a
program is to compile in both Python 2.x and Python 3.x, the print function
(or the print statement with parentheses) can not use the...
| |
by: koonda |
last post by:
Hi all,
I am a student and I have a project due 20th of this month, I mean May 20, 2007 after 8 days. The project is about creating a Connect Four Game. I have found some code examples on the internet which helped me little bit. But there are lot of problems I am facing developing the whole game. I have drawn the Board and the two players can play. The players numbers can fill the board, but I have problem implementing the winner for the...
|
by: zacks |
last post by:
Most applications whose purpose is to work with various types of files
implement a "Most Recent Files" list, where the last, say, four files
accessed by the application can quickly be re-opened by clicking on
the file name in the File menu. Thist list is usually just above the
typical Exit menu item.
I take it there is no "automatic" way of implementing this, that each
application has to have code that manually does this. I have a good...
|
by: xr0krx |
last post by:
Hi, Im having some problems with my program. I'm kinda new to this stuff; only been doing this for about a month. What it's suppose to do is ask the user to input a word, and then print out the word in reverse order. It's basically using the pop/push idea...sorta. I've tried a variety of ways to convert the string to char to get it to print, but all of them havent worked. Any ideas?
Here's where I ended up...
#include <iostream.h>...
|
by: nickooooola |
last post by:
Hello to all
I'm about to write a simulator for a microcontroller in python
(why python? because I love it!!!)
but I have a problem.
The registry of this processor are all 8 bit long (and 10 bit for some
other strange register)
and I need to simulate the fixed point behaviour of the register,
and to access the single bit.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |