Tolong pilih kategori sesuai, jenis posting (diskusi atau bukan) dan sertakan tag/topik yang sesuai seperti komputer, java, php, mysql, dll. Promosi atau posting tidak pada tempatnya akan kami hapus!
- Bagi Anda yang ingin mendaftar, baca link berikut:
http://diskusiweb.com/discussion/50491/how-to-registrasi-diskusiweb-com-baca-ini-terlebih-dahulu
- Cara menyisipkan kode program supaya tampil rapi dan terformat dengan baik di diskusiweb.com: http://www.diskusiweb.com/discussion/50415/cara-menyisipkan-kode-program-di-diskusiweb-com
- Cara posting gambar/image di post Anda: http://www.diskusiweb.com/discussion/47345/cara-menyisipkan-menyertakan-image-pada-posting/p1

PDF....

Hi all,
does anyone know how to define the default save as name after pressing on Export/Print button in the report viewer?
for example, when you press on Export, it create the pdf file and ask you to save.

E.g i want to name the file XC-9999.pdf
when I press on Export/Print, it should automatically pick up as XC-9999.pdf rather than i have to type it again.

Regards,
Rio

Comments

  • You can use Common Dialog component. It have Filter property

    CommonDialog.Filter = "PDF|*.pdf"

    To set file name use Filename property

    CommonDialog1.Filename = "aaa.pdf"
Sign In or Register to comment.