I have a simple issue. I have a filedialog in a wpf application. Things works fine when I run the application for the first time. But when I change the file extension, and change back, I dont see anything.
This is the code:
Filedlg.FileName = "*.msr"; // Default file name
Filedlg.DefaultExt = ".msr"; // Default file extension
Filedlg.Filter = "Raw (.msr)| *.msr | All files |*.*" ; // Filter files by extension
I see .msr files. Then I choose to see all files and then switch back to .msr extension. But I dont see any files.
Thoughts?
Kindly ask details if required.