473,588 Members | 2,635 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dynamically create PDF from URL click

Hi,

This is what we want to achieve:

1. The user clicks on url.
2. The web server produces a PDF file based on information in a database.
3. This PDF file is sent back to the client, who can then choose to save it
or open it.

Is this feasible?

The reason for this is that the web application will be used in closed
environment,
the PDF files can then be used outside this closed system.

Other soultions and recommendations for PDF toolkits are also welcome.
Chris
Nov 18 '05 #1
4 2921
If you have crystal reports, which comes with visual studio, this should be relatively straight forward to accomplish.

"Christophe r Kimbell" <c_*******@onli ne.nospam> wrote in message news:41******** @news.broadpark .no...
Hi,

This is what we want to achieve:

1. The user clicks on url.
2. The web server produces a PDF file based on information in a database.
3. This PDF file is sent back to the client, who can then choose to save it
or open it.

Is this feasible?

The reason for this is that the web application will be used in closed
environment,
the PDF files can then be used outside this closed system.

Other soultions and recommendations for PDF toolkits are also welcome.


Chris

Nov 18 '05 #2
"Christophe r Kimbell" <c_*******@onli ne.nospam> wrote in
news:41******** @news.broadpark .no:
This is what we want to achieve:

1. The user clicks on url.
2. The web server produces a PDF file based on information in a
database. 3. This PDF file is sent back to the client, who can then
choose to save it or open it.

Is this feasible?


Yes.

You can use Crystal Reprots (included with VS.NET) to generate PDF reports
with formatting.

--
Lucas Tam (RE********@rog ers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 18 '05 #3
are you able to build an HTML doc of the info you want to send to PDF? if
so, I have successfully used htmldoc to do exactly what you are talking
about to build some online contracts.

Here is a link to an example of what I'm talking about:
http://www.codeproject.com/aspnet/HTML2PDF.asp

and here is a link to the tool actually doing the work, but make sure to
read the codeproject one: http://easysw.com/

--
Thanks
Levi Rosol
"Christophe r Kimbell" <c_*******@onli ne.nospam> wrote in message
news:41******** @news.broadpark .no...
Hi,

This is what we want to achieve:

1. The user clicks on url.
2. The web server produces a PDF file based on information in a database.
3. This PDF file is sent back to the client, who can then choose to save
it
or open it.

Is this feasible?

The reason for this is that the web application will be used in closed
environment,
the PDF files can then be used outside this closed system.

Other soultions and recommendations for PDF toolkits are also welcome.
Chris

Nov 18 '05 #4
Thanks guys,

I think I have enough to get me started.

CHris
On Tue, 17 Aug 2004 18:20:24 +0200, Christopher Kimbell
<c_*******@onli ne.nospam> wrote:
Hi,

This is what we want to achieve:

1. The user clicks on url.
2. The web server produces a PDF file based on information in a database.
3. This PDF file is sent back to the client, who can then choose to save
it
or open it.

Is this feasible?

The reason for this is that the web application will be used in closed
environment,
the PDF files can then be used outside this closed system.

Other soultions and recommendations for PDF toolkits are also welcome.
Chris


--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
10790
by: Kiyomi | last post by:
Hello, I create a Table1 dynamically at run time, and at the same time, I would like to create LinkButton controls, also dynamically, and insert them into each line in my Table1. I would then like that, when clicking the LinkButton, the user can be navigated to another page, carrying a variable. I would like to use server.transfer method instead of QueryString as I don't want the carried variable to be visible for the user.
2
2534
by: macca | last post by:
Hi, I am writing a GUI application. It will have a number of user defined controls( I plan to use/create a user defined control that will output alarm states that the user can also select and will open a dialog to give more detailed information) . The number of controls on the main GUI will vary from client site to client site. I would therefore like to populate the dialog with these controls dynamically.
8
4304
by: Donald Xie | last post by:
Hi, I noticed an interesting effect when working with controls that are dynamically loaded. For instance, on a web form with a PlaceHolder control named ImageHolder, I dynamically add an image button at runtime: //----- Code snippet protected System.Web.UI.WebControls.PlaceHolder ImageHolder; private void Page_Load(object sender, System.EventArgs e)
8
10787
by: simon | last post by:
On code behind file: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load If Not Page.IsPostBack Then Dim ctrl As New LinkButton ctrl.ID = "link1" ctrl.Text = "link create" ctrl.CommandArgument = "myargument"
4
2492
by: Bas Groeneveld | last post by:
I am developing an ASP.NET application part of which consists of a data entry wizard defined by entries in a data table - ie the controls on each page of the wizard are determined by definitions in the table. I know that I can dynamically add controls (eg a textbox) to the page controls collection of a web form in a server event which will then be rendered onto the form, as in the following snippet: System.Web.UI.WebControls.TextBox...
1
2562
by: Kamal Jeet Singh | last post by:
Hi Friends !! I am facing problem in controlling the dynamically created controls on web page. The problem Scenario is Scenario:- My requirement is to load the web user controls on the web page dynamically. To do this, First I including a web page (MainPage.aspx) and I made form tag to Runat=Server. I included one table tag and also made this table Runat=Server side. Second I created three Web User Controls e.g. wucCustomerInfo.ascx,
6
1486
by: Bjorn Sagbakken | last post by:
Hello In VS2005: I am adding buttons and textboxes dynamically into a table, that also dynamically expands. So far, so good, actually very nice. But I am having trouble starting the desired subroutine on postback. To me it seems like the button click event looks for a client script instead of going to the aspx codepage and execute the sub there. The same thing happens with textboxes, where I programatically add
2
1905
by: Lou | last post by:
I want to dynamically create an unknown amount of buttons into a panel. I want each button to respond to the same click event. In VB6 I would just create an array of buttons. I do know how to have multiple buttons respond to the same click event in ..NET but not if the number of buttons are not know until runtime are created dynamically . Example App starts and a reg setting says create 25 buttons.
4
2961
by: mohaaron | last post by:
I can think of a lot of reasons why this might need to be done but as far as I can tell it's not possible. I've been looking for a way to add HtmlTableRows to a table using a button click for a while and it seems it's not possible because the row that gets added with each click won't get recreated after a post back. After all the reading it seems that any dynamically created controls must be created in the Init event to be recreated after...
0
1368
by: Syoam4ka | last post by:
My project is about jewellery. I have devided my jewelery into main types, which each one of them has sub types, and each one those sub types has the jewellery. I have a tabcontainer. It includes tabpanels such as:Catalog,Terms,SiteMap.ViewCart ,etc. All the jewellery Intro is in the Catalog panel. when I first click the Catalog panel it Introduces me all the main types of the jewellery(It's all done dynamically from the cs file).The...
0
7927
marktang
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...
0
7857
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,...
0
8220
Oralloy
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...
0
8352
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7981
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6632
agi2029
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...
1
5723
isladogs
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...
1
2367
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1457
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.