RadSaveFileDialog FilterIndex doesn't get set

1 Answer 100 Views
FileDialogs
Gina
Top achievements
Rank 1
Gina asked on 11 Sep 2021, 12:53 AM

Hi,

I want to call different functions based on RadSaveFileDialog's FilterIndex but I'm having trouble getting the correct FilterIndex when trying to save a file. The filter shows up correctly on the dialog but whenever I click Save button, the dialog's FilterIndex is 0, instead of the expected values 1 or 2.

Using the same code, FilterDialog correctly gets set with Windows SaveFileDialog. Is there a known issue with this or could this be related to not setting the Owner property?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 15 Sep 2021, 10:20 AM

Hi Gina,

Thank you for the provided information.

This scenario is already logged in our feedback portal: FileDialogs: OpenFileDialog does not update FilterIndex and InitialSelectedLayout. With the current implementation of the control, you can utilize the approach suggested in the item in order to get the updated FilterIndex. 

I hope you find this helpful.

Regards,
Vladimir Stoyanov
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.

Tags
FileDialogs
Asked by
Gina
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Share this question
or