Telerik Forums
UI for WPF Forum
1 answer
20 views

Hi,

I used ExplorerControl to create a custom FileOpen Dialog.

Now I want to include a file preview when clicking on a file of specific type.
Unfortunately I cannot find a way to get notified by a change of selected Filename.

Is there a way to do that?

 

Best Regards,

Dominic

 

Martin Ivanov
Telerik team
 answered on 22 Jan 2024
1 answer
20 views

Hello,

is it possible to manipulate or clear the navigation history of the explorer control?

Best regards,

Philipp

Martin Ivanov
Telerik team
 answered on 27 Nov 2023
1 answer
35 views
I'm using a RadFilePathPicker to select a file. This gives a choice of dialogs to use via the DialogType property. Each of these dialog types have the LoadDrivesInBackground property but this is not available at the RadFilePathPicker level. Is it possible and if so how can I set this property at the RadFilePathPicker control level so that whichever dialog I use has this property set? 
Petar Mladenov
Telerik team
 answered on 16 Aug 2023
1 answer
34 views

Hello,

Our application has a requirement to automatically log a user out after a period of input inactivity, e.g. keyboard or mouse events for security reasons.

When we automatically log out a user, we also want to close any open modal dialogs in our application, including any modal dialogs open in the Telerik ReportViewer - such as the Export / Print dialogs.

Is there a way for cancel/close these modal dialogs?

I looked at the specific events such as ExportBegin  as it provides a way to cancel the export, but I need a way to close the dialogs at any time not just at the specific time the export starts.

 

Thanks,

Canice.

Todor
Telerik team
 answered on 01 Mar 2023
0 answers
44 views

In WPF there is an export icon looks like a diskette. One can specify what type of export. PDF, Exel etc. then a call to Windows "Save As" dialog box. 

My question is there a way to populate/specify the file path in the "Address bar"?

Some kind of registry or something. The end user can of course alter the destination if they wish.

Herb
Top achievements
Rank 1
 asked on 28 Feb 2023
1 answer
92 views

When using the OpenFileDialog to browse for image files using large icons, the images are not displayed with their thumbnail previews, but rather the generic image placeholder.  Is there a way to show the thumbnail previews like Windows file explorer?

Martin Ivanov
Telerik team
 answered on 10 Jan 2023
1 answer
38 views

I want show something like the Telerik ExplorerControl in folder-browser mode.  But in my control, I need certain folders are shown with a custom icon /view that will reflect the contents of the folder.   I love all the tree-view functionality of the control and do not want to re-invent all of that.  but I need the main pane to show my view, not Telerik's

Basically when ever a folder contains a file named "scan.yaml" and "image01.png", I want my UI to show the contents of "image01.png" as the folder instead of the regular folder icon.  (My code actually does some background processing to overlay other information on that image sometimes but that's not important for now)

Is this possible or would I need to use my own Tree View?

I thought of a few approaches.  Can you tell me which, if any of these are feasible and which would work best?

1.  Use a ControlTemplate that totally replaces the contents of`PART_MainPane` which is currently this

<historyNavigationPane:FileBrowserTabControl x:Name="PART_MainPane"
        Grid.Column="2"
        SelectedIndex="{Binding ElementName=PART_LayoutConfigurator, Path=SelectedIndex}"
        ItemsSource="{Binding Layouts}"
        ContentTemplateSelector="{StaticResource MainPaneTabControlTemplateSelector}">

 Is it feasible to use a style for ExplorerControl with a ControlTemplate  that completely tears that out and replaces that `FileBrowserTabControl` it with my own control? 

2. Use a ControlTemplate that does not show the MainPane at all and just puts my custom control next to the existing tree view.  My control could then key off its sibling's `CurrentDirectory` property

3. Try to find some way to customize how FileBrowserTabControl shows the folder contents as I described

Would any of these work.

I've attached an image of part of what my control looks like in large-icon mode.  It shows two regular folders and two of the "special" folders that I mentioned

(Also I looked for a question tag for ExplorerControl but could not find one so I tagged "General Discussion")


Dilyan Traykov
Telerik team
 answered on 26 Oct 2022
0 answers
42 views

I coded the following XAML

<FileDialogs:ExplorerControl x:Name="ecDeployStuff" HorizontalAlignment="Left" Margin="12,28,0,0" VerticalAlignment="Top" CurrentDirectoryPath="C:\lala\Main\zzzDevelopment\abc" />

when I launch the WPF app it shows as the C: drive

am I missing another property to make the CurrentDirectoryPath work?

Marianne
Top achievements
Rank 1
Veteran
 asked on 23 Aug 2022
1 answer
63 views

Hello,

I've replicated, at least, this error when using the List view: when file names are too long, they are truncated (with ...) and there is no way to widen the field. This is very annoying when files with similar long names are displayed in the control.

It's also different to how Windows Explorer works.

Regards

Stenly
Telerik team
 answered on 17 Jun 2022
1 answer
35 views

I have a property called FolderName which is bound in storage view.xaml. I set this value with folder dialog. However if I call that value from within storage view or another view.cs its always defaulted. How do I persist the values across the running app. In code base I had to hardcover value.

https://github.com/CrownParkComputing/MegaDownloaderFinal

Petar Mladenov
Telerik team
 answered on 03 May 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?