Last Updated: 17 Apr 2024 10:05 by ADMIN
Created on: 17 Apr 2024 09:49
Category: PdfViewer
Type: Feature Request
RadPdfViewer: Add opportunity to specify FileName in SaveAs command
Provide a new property that specifies FileName in SaveAs command.
1 comment
Nadya | Tech Support Engineer
Posted on: 17 Apr 2024 10:05

Hello, Chris,

Currently, you can set FileName of the SaveFileDialog in the following way:

this.radPdfViewerNavigator1.SaveButton.MouseDown += SaveButton_MouseDown;

private void SaveButton_MouseDown(object sender, MouseEventArgs e)
    SaveFileDialog savefile = new SaveFileDialog();
    savefile.FileName = "MyFileName";
    savefile.Filter = "PDF files (*.pdf)|*.pdf|All files (*.*)|*.*";

    if (savefile.ShowDialog() == DialogResult.OK)

I hope this helps. 

Nadya | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.