TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Haneef Ahmad
NA
7
1.3k
Save File Dialog Box (Auto populating File Name)
Feb 3 2015 6:35 AM
I am having a hard time finding solution to this problem, I am trying to save a PDF file using iText Sharp in Windows Form Application however everytime I try to save the file I have to feed the file name manually, What i want to do is that when "Save As" Dialog Box appears the file name should auto populate by concatenating values from 3 different textboxes as a file name.
For eg. File Name:
CID1CON4INV125
(
CID
stands for
Customer ID
which is
1
,
CON
stands for
Contract ID
which is
4
,
INV
stands for
Invoice ID
which is
125 and is unique
)
Above example may be very tedious to remember if i have to chose a file name everytime, is there a way that i can automate this process by taking the file name from txtCustomerID.Text and txtContractID.Text and txtInvoiceID.Text and prepare a file name to be saved as PDF.
Thanks.
Reply
Answers (
6
)
How to use angular js in an MVC application
Text files not displaying according to date