Telerik Forums
UI for WinForms Forum
4 answers
72 views

Hello

I try to use the BrowseEditor in DialogType=FontFialog and I am faced with a few questions:

The value returned is a string ex: "Microsoft Sans Serif; 12pt; style=Bold"

1. How do I convert this string to a font type, taking into account that depending on the culture the size may be shown as 8,5 or 8.5

2. How do I set the initial value of the fonteditor from a fontvariable

4. Selecting "Modern 20, bold, size 8", I get the value: "Modern No. 20; 8,249999pt; style=Bold" (not that I want to use this font but I came across this anomality ,,,)

5. How do I change the initial text "(none)" in a localized text

 

And While I am on the BrowseEditor, in folderBrowseDialog, I select the intial directory on the .value property and it sets it properly but it is not always "visible" how can I insurevisible on the selected folder

 

Thanks in advance

Pierre-Jean

pierre-jean
Top achievements
Rank 1
Veteran
Iron
 answered on 28 Nov 2019
4 answers
174 views

Hello

in the FontDialog of the RadBrowseEditor is it possible to hide the three elements:
- Effects
- Sample
- Script

Thanks in advance

Pierre-Jean

pierre-jean
Top achievements
Rank 1
Veteran
Iron
 answered on 28 Nov 2019
6 answers
1.2K+ views

Hi

Using a RadBrowseEditor, how can I change at runtime (using code) the ForeColor of the text when control is disabled?

Eric Moreau
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 21 May 2019
5 answers
302 views

Hi,

I'm in a need for a dialog form that in the end returns a FilePath OR a DirectoryPath, with a TextBox that the user can paste something (file or directory).

I tried doing so with a System.Windows.Forms.FolderBrowserDialog but without success.

 

I'm turning over Telerik, found the RadBrowseEditor and calling the RadBrowseEditor .BrowseElement.BrowseButton.PerformClick() method for opening.

The best/closest DialogType is BrowseEditorDialogType.OpenFileDialog, but the problem is when pasting a DirectoryPath, the control navigates there and no event is raised (same as the system's FolderBrowserDialog, it's even the same used from Telerik).

I tried listening to events ValueChanging and also all those under the BrowseElement object, but nothing works.

 

Any idea (I didn't want to create a new form, developping the navigation treeview, textbox, since almost everyhing is there)?

 

thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Dec 2018
7 answers
401 views
When using the EditorBrowser control, is it possible to set properties on the OpenFileDialog dialog, such as the OpenFileDialog.Filter property?
CSharpBR
Top achievements
Rank 1
 answered on 20 Jun 2018
4 answers
277 views

I am using the RadBrowseEditior to select image files. I have coded the object to make sure the selected file is only one of the following:

*.BMP, *.GIF, *.PNG, *.JPG

I would also like the open file dialog box to have those items set as the shown files. Is there a setting to mask the file types in the file picker?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Jan 2018
2 answers
66 views

After the user selects an image file from the browse editor, I'd like to display it in a button, much like the example in the Telerik documentation. I've tried different calls to the button's methods including: Update, Refresh, and Invalidate. Nothing has worked. What am I missing?

 

1.Private Sub radLogoFile_ValueChanged(sender As Object, e As EventArgs) Handles radLogoFile.ValueChanged
2.    btnLogoImage.Image = System.Drawing.Image.FromFile(radLogoFile.Value)
3.    btnLogoImage.Update() 'Invalidate 'Refresh
4.End Sub
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Sep 2017
2 answers
91 views

HI *,

I try to use OverwritePrompt feature like this:

<p>radBrowseEditor1.DialogType = BrowseEditorDialogType.SaveFileDialog;
</p><p>(radBrowseEditor1.Dialog as SaveFileDialog).OverwritePrompt = false</p>

;

But still having a question "<file path...> does not exist. Do you want to create?"
I would like to omit this question in this case but it seems to be not possible...

Here is the link: https://msdn.microsoft.com/en-us/library/system.windows.forms.savefiledialog.overwriteprompt(v=vs.110).aspx

Thanks a lot

Rostislaw

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Jul 2017
1 answer
64 views

Hi

I have a RadBrowseEditor on a form with its DialogType set to FolderBrowseDialog.

At runtime, if I click the browse button to open the "Browse For Folder" dialog and click the "Make New Folder", type a name for the newly created folder BUT DO NOT PRESS THE ENTER KEY and click the OK button, the Value is set to "New Folder" instead of the name I have typed.

How to fix that?

Hristo
Telerik team
 answered on 04 Apr 2016
2 answers
199 views

Hi,

I am trying to set an initial path in a browse-for-folder editor. I have tried:

rbrIISNewWebsiteLocation.Text = Application.StartupPath;

and
(rbrIISNewWebsiteLocation.Dialog as FolderBrowserDialog).SelectedPath = Application.StartupPath;

 

but in both cases the text displays '(none)' and when I click the browse button is opens at the root of my computer?

Al
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 29 Jun 2015
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
Buttons, RadioButton, CheckBox, etc
DropDownList
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
Tabstrip (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
GanttView
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
VirtualGrid
ContextMenu
Spreadsheet
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
Rotator
TrackBar
MessageBox
CheckedDropDownList
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
CAB Enabling Kit
TabbedForm
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ImageEditor
ScrollBar
Tools - VSB, Control Spy, Shape Editor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
VirtualKeyboard
FilterView
Accessibility
DataLayout
NavigationView
ToastNotificationManager
CalculatorDropDown
Localization
TimePicker
ValidationProvider
FontDropDownList
Licensing
BreadCrumb
ButtonTextBox
LocalizationProvider
Dictionary
Overlay
Security
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
Flyout
TaskbarButton
HeatMap
SlideView
PipsPager
+? more
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
Iron
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
Iron
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?