Hi,
I have this RadMaskedTextInput:
<
telerik:RadMaskedTextInput
IsClearButtonVisible
=
"True"
TextMode
=
"PlainText"
Placeholder
=
" "
Mask="a4/>a3" Margin="2,0,2,0" AcceptsReturn="False" HorizontalAlignment="Stretch" Value="{Binding FilterPasse}" ValueMode="IncludeLiterals" SelectionOnFocus="CaretToBeginning"/>
Following implicit style is used
<
Style
x:Key
=
"DefaultTelerikMaskedTextInputStyle"
TargetType
=
"telerik:RadMaskedTextInput"
BasedOn
=
"{StaticResource RadMaskedTextInputStyle}"
>
<
Setter
Property
=
"MinHeight"
Value
=
"{StaticResource DefaultMinimumHeight}"
/>
<
Setter
Property
=
"FontFamily"
Value
=
"{StaticResource DefaultFont}"
/>
<
Setter
Property
=
"FontSize"
Value
=
"{StaticResource DefaultFontSize}"
/>
<
Setter
Property
=
"FontWeight"
Value
=
"{StaticResource DefaultFontWeight}"
/>
<
Setter
Property
=
"SectionsNavigationMode"
Value
=
"None"
/>
<!--https://www.telerik.com/forums/how-do-i-make-it-possible-for-a-user-to-tab-immediately-out-of-the-masked-text-input-->
<
Setter
Property
=
"Validation.ErrorTemplate"
Value
=
"{StaticResource ErrorTemplate}"
/>
<
Style.Triggers
>
<
Trigger
Property
=
"IsEnabled"
Value
=
"True"
>
<
Setter
Property
=
"Background"
Value
=
"{StaticResource DefaultTextBoxBackgroundColor}"
/>
</
Trigger
>
<
Trigger
Property
=
"IsEnabled"
Value
=
"False"
>
<
Setter
Property
=
"Background"
Value
=
"{StaticResource DefaultTextBoxDisabledBackgroundColor}"
/>
</
Trigger
>
<
Trigger
Property
=
"IsFocused"
Value
=
"True"
>
<
Setter
Property
=
"Background"
Value
=
"{StaticResource DefaultTextBoxIsFocusedBackgroundColor}"
/>
</
Trigger
>
<
Trigger
Property
=
"IsReadOnly"
Value
=
"True"
>
<
Setter
Property
=
"Background"
Value
=
"{StaticResource DefaultTextBoxIsReadOnlyBackgroundColor}"
/>
</
Trigger
>
</
Style.Triggers
>
</
Style
>
<
Style
TargetType
=
"{x:Type telerik:RadMaskedTextInput}"
BasedOn
=
"{StaticResource DefaultTelerikMaskedTextInputStyle}"
/>
When running the application the slash (in the mask) is shown twice (see attached pictures). Any ideas why ?
Regards,
Hans
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?
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.
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!!!
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
https://gyazo.com/6c0fab884114c8d37d8690dc8b66aaa3
how fix?
I'm using the Fluent dark theme. Works fine with crystal.
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.
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
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