Telerik Forums
UI for WPF Forum
5 answers
446 views

I seem to be having multiple issues with the current version (2019.3.1023.45) of the RadFileDialog (OpenFile, SaveFile, and RadFilePathPicker).

These are:

1. Selecting the "^" for parent directory causes a "Object Referencing Error"
2. Select "This PC" or "Network" just starts the spinning icon with out them opening (I have left this for a considerable time with no result)
3. Manually changing the directory string does no refresh the files list.
4. Setting the RestoreDirectory to True does not seem to work as this always revers to the user directory

Example of the code:

Dim dlg As New RadOpenFileDialog
dlg.DefaultExt = ".xml"
dlg.Filter = "XML|*.xml|All Files|*.*"
dlg.Owner = Me
dlg.RestoreDirectory = True
dlg.ShowNetworkLocations = True
dlg.ShowDialog()
If dlg.DialogResult = True Then

...

End If

 

Any suggestions would be appreciated?

 

Tony Kennard
Top achievements
Rank 1
 answered on 04 Dec 2019
2 answers
174 views

I have created a chart with dynamically populated data that needs to hold thousands of data points.  For performance, I wanted to set the renderoptions on a lineseries to bitmap rendering instead of the default xaml rendering.  However, when switching to bitmap rendering, I lose the ability to set the strokeshapestyle on the line series.  It appears that the dashed line I was expecting to see is replaced with a solid line.  I knew that I would lose the ability to set the line thickness in bitmap rendering.  Do I also lose any ability to style the stroke of the line?

Thank you for any help you can provide.

Jeremy
Top achievements
Rank 1
 answered on 03 Dec 2019
3 answers
318 views

Hi,

Some performance issue.
The 'Content' property of my RadPane holds a quite complex visual tree (let's say it contains RadGridView), and I add it to the Panes ObservableCollection.
I've implemented a custom DockingPanesFactory and only overrided the AddPane method. Not something special, it's almost like your example here:
http://docs.telerik.com/devtools/wpf/controls/raddocking/features/panes/panesource.html

I've noticed that adding of pane to the visual tree by Panes.Add(pane) that invoke the AddPane of the DockingPanesFactory takes something like 400ms.
Same for the Remove method. It's relevant also for DragStart when undocking this "heavy" pane, what happens is, the ToolWindow for this floating pane appears after a second or two, and the user holds the left mouse button down with no ToolWindow below the mouse cursor, and as I said only after 1-2 seconds the ToolWindow appears.

My Content property holds a ViewModel that has a DataTemplate targeted to it by "TargetType" property of the DataTemplate. The DataTemplate consist of a View that has a RadGridView ....

It's not reasonable that the whole pane appears only after its content added to the visual tree. I want to make the Pane to appear and let the content to load afterwards, Especially regarding the ToolWindow, because the user don't have any indication that the ToolWindow takes time to appear.

BTW, I've disabled the animations... you know, by....
<telerikDock:RadDocking telerik:AnimationManager.AnimationSelector="{x:Null}"
telerik:AnimationManager.IsAnimationEnabled="False">

Please, help me here to achieve my goal.
Thanks!!!


Vladimir Stoyanov
Telerik team
 answered on 03 Dec 2019
1 answer
127 views

hi

i got this error "Object reference not set to an instance of an object." when i use "Example 1: Default UI" from https://docs.telerik.com/devtools/wpf/controls/radpdfviewer/default-ui

i find errors in this lines:

 telerik:RadPdfViewerAttachedComponents.RegisterSignSignatureDialog="True" telerik:RadPdfViewerAttachedComponents.RegisterFindDialog="True" telerik:RadPdfViewerAttachedComponents.RegisterSignaturePropertiesDialog="True" telerik:RadPdfViewerAttachedComponents.RegisterContextMenu="True"

 

but this lines hasn't problem in example for radviewer firstlook

Tanya
Telerik team
 answered on 02 Dec 2019
1 answer
59 views

https://gyazo.com/6c0fab884114c8d37d8690dc8b66aaa3

how fix?

I'm using the Fluent dark theme.  Works fine with crystal.

Dinko | Tech Support Engineer
Telerik team
 answered on 02 Dec 2019
3 answers
277 views

Hello,

I have telerik version 2014.1.331.40. I want to make a ComboBox filter in FilterRow mode in the RadGridView control. I need it to work exactly like the Textbox does, only with the ComboBox instead. I tried editing the control template of StringFilterEditor, but then I lose all functionality and when I try to bind the DisplayMemberPath, it doesn't work or when it does through code behind, it is very slow while I type what I want to Filter (I need to do Filter as you type which I did with the Textbox) (I use a large amount of Data).

Please help,

Bar.

Martin Ivanov
Telerik team
 answered on 02 Dec 2019
2 answers
309 views

I use a RadGridView for displaying data from a database. I'm on .NET Core 3.0 and use Telerik UI for WPF 2019_3_1023 NuGet NoXaml Version oft the controls. 

I have encountered a strange behaviour when i do grouping for some columns. The group header row is displayed correctly with the expander button on the left side, followed by the grouping information. The strange thing is, that clicking on the expander icon (arrow down) doesn't expand the grouped rows. Only clicking the text representing the items the grid is grouped after expands the row to show the grouped rows. I have some implicit styling applied (mainly colors, font and row height of the grid) and use the material design. Even after removing the implicit stylings, the grid behaves strange. Can't geht the expander button to work, which is annoying for customers, as they expect that the icon responds to clicking (as seen in the Telerik Demo app for example). Is it possible that the styling could affect the expander button behaviour?

 

Thanks,

Martin

Martin
Top achievements
Rank 1
 answered on 02 Dec 2019
4 answers
748 views
Hi,
I am using the below code for RadRichTextBox. The linespacine between lines of text is 1. I want the line spacing to be 0. Can you please have a look and advise.

 <telerik:RadRichTextBox HorizontalAlignment="Left" LayoutMode="Flow" AcceptsTab="False" IsSpellCheckingEnabled="False" IsContextMenuEnabled="False" IsSelectionMiniToolBarEnabled="False"
                                    DocumentInheritsDefaultStyleSettings="True"  GotFocus="TxtLeftHeaderBox_OnGotFocus" Visibility="{Binding HeaderVisibility}" Width="175" Height="125" Margin="5">
                <telerik:RadRichTextBox.Document>
                    <telerik:RadDocument LineSpacing="0" LineSpacingType="Auto" >
                        <telerik:Section>
                            <telerik:Paragraph FontSize="10" LineSpacing="0" LineSpacingType="Auto" >
                                <telerik:Span FontFamily="Arial" Text=" "  FontSize="10" />
                            </telerik:Paragraph>
                        </telerik:Section>
                    </telerik:RadDocument>
                </telerik:RadRichTextBox.Document>
            </telerik:RadRichTextBox>

Regards,
vikas
Rae Ok
Top achievements
Rank 1
 answered on 01 Dec 2019
2 answers
252 views

Hello  we are facing problem while exporting direct from RadGridView to Excel. After exporting data, three problems are there in excel sheet.

1. Phone numbers are getting chopped off [Like "8.70772E+11" instead of "870772001799"]

[Instead of In DataTable PHONENUMBER is in String type]

2. Phone numbers are displaying as Right Align [Instead data type is String]     

[Images given "Image .XLS file after exported .png"]

3. Group name is not showing in Excel sheet  [Only first group is not showing]

Please advice.

Screenshot are given & the used code given bellow.  

private void Button_export_Click(object sender, System.Windows.RoutedEventArgs e)
        {
 
            string extension = "xls";
            string selectedItem = "Excel";
 
            ExportFormat format = ExportFormat.Html;

            SaveFileDialog dialog = new SaveFileDialog();
            dialog.DefaultExt = extension;
            dialog.Filter = String.Format("{1} files (*.{0})|*.{0}|All files (*.*)|*.*", extension, selectedItem);
            dialog.FilterIndex = 1;
 
            if (dialog.ShowDialog() == true)
            {
                using (Stream stream = dialog.OpenFile())
                {
                    GridViewExportOptions options = new GridViewExportOptions();
                    options.Format = format;
                    options.ShowColumnHeaders = true;
                    
                    options.Encoding = Encoding.UTF8;
                    radGridViewSearch.Export(stream, options);
                }
            }

            MessageBox.Show("Successfully Exported");
 
        }

 

Thanks

Mohsen
Top achievements
Rank 1
 answered on 30 Nov 2019
0 answers
66 views

Hi,

     I'm using RadGridView to show List of objects. Suppose one row contains a common cell(GridViewDataColumn) and a combobox cell(GridViewComboBoxColumn). After I edited the  common cell everything goes well, but while the combobox cell edited the RowEditedEnded event will be raised. In fact I stll need to edit other cells. Any suggestions to prevent this?

Thank you!
yi
Top achievements
Rank 1
 asked on 29 Nov 2019
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?