In the PivotGrid PivotFieldList demo, if I drag the field product on property aggregations, it shows the count of products.
But if I set a number format, it's ignored.
How can I use number format in this case?
Hello,
I use the PrintPreview Control with the PrintAndExportExtensions.cs as shown in the GridView/PrintPreviewWithSpreadsheet example, which works very nicely.
Now I would like to suppress the Windows PrintDialog which is shown after clicking the print button, since it blocks the UI and does not show the parameters correctly (instead of the previously in the PrintPreview Control selected parameters the dafault values are displayed but it seems the correct values are pased to the printer).
For selecting the printer, I would like to add a ComboBox to my view. Is there a way to pass the selected printer as a string or with PrintSettings to the RadSheet or the PrintPreview Control/ViewModel and suppress the Windows PrintDialog?
I also had a look at the example from this post: https://www.telerik.com/forums/printing-and-print-previewing-my-grid#r3qTgvsrCkiSP_PxTMubzA
but the PrintSettings in the CreateDocument method aren't used.
Any help would be appreciated.
Best regards
Hi,
I am currently using the RadGridView and using the Office2016 theme, I am trying to switch to VisualStudio2013 theme but have discovered that it does not seem to work with ColumnWidth="*" and more generally when using something such as Width="25*" within a column header within a listbox itemtemplate. I also noticed that when stretching the window out and back the visualstudio2013 theme flickered a lot.
I have made a very simple project which highlights the issue, it uses the latest UI for WPF from the website.
It can be found here : https://www.dropbox.com/s/i9fp4g4a8bilqv9/TelerikRadGridViewBug.zip?dl=0
Also attached a screenshot showing the program running.
Thanks,
Martin
Is there a way to add a text indicator inside a radial gauge?
I have already defined a radial gauge that shows values from 0 to 100 on its radial scale, and the current value in the center of the gauge. I would also like to add a similar gauge that shows text instead numbers in the center. E.g. "Processing", "Calculating", "Complete", ... Human readable status text.
RadialScale.Indicators seems to be a UIElementCollection, so I tried adding a TextBlock object in the collection. However, it is not shown.
I have a GridViewToggleRowDetailsColumn in the RadGridView. Now I want two things.
Thanks for the sample code help.
<
Telerik:RadGridView
x:Name
=
"GridView"
AutoGenerateColumns
=
"False"
Width
=
"500"
Height
=
"500"
>
<
Telerik:RadGridView.Columns
>
<
Telerik:GridViewDataColumn
UniqueName
=
"DateTime"
Header
=
"Date/Time"
DataMemberBinding
=
"{Binding DateTime}"
IsReadOnly
=
"True"
DataType
=
"{x:Type System:DateTime}"
IsFilterable
=
"True"
/>
<
Telerik:GridViewDataColumn
UniqueName
=
"Value"
Header
=
"Value"
Background
=
"GhostWhite"
DataMemberBinding
=
"{Binding Value}"
DataType
=
"{x:Type System:Decimal}"
IsFilterable
=
"True"
/>
</
Telerik:RadGridView.Columns
>
</
Telerik:RadGridView
>
When I'm opening a RadCombobox, focus an item with the mouse, moving the mouse pointer out of the Combobox and thus loosing the focus, SelectionChanged is fired when I'm pressing the Enter key. I'd expect that no item would be selected in this case since no item is visibly highlighted, but instead an item gets selected (probably the item that was highlighted last by moving the mouse pointer).
Is this behavior intended?
Hello there,
I am using the TimeSpanPicker within a ListBox ItemTemplate. I am changing the watermark. This works prefectly outside the template but when in a template does not work at all , my string is ignored and the default is used. I have also tried to use DynamicResource but found the same issue.
I have made a very simple project which highlights the issue, it uses the latest UI for WPF from the website.
It can be found here : https://www.dropbox.com/s/3ijhj346w0pjg1f/Telerik%20bug.zip?dl=0
Also attached a screenshot showing the program running.
Thanks,
Martin
Hi,
Teleriks outdated documenation caused me, again, to lose some time finding solution.
https://docs.telerik.com/devtools/wpf/controls/radcontextmenu/how-to/use-radcontextmenu-with-radgridview
Here is implementation of RadContextMenu for RadGridView, step-by-step guide is clear and explains everything. But menu implemented in this way to my app didn't work. There is important property, not present in documentation:
BasedOn="{StaticResource RadMenuItemStyle}"
wwich changes Example 4
<
Style
x:Key
=
"MenuItemContainerStyle"
TargetType
=
"telerik:RadMenuItem"
>
<
Setter
Property
=
"Header"
Value
=
"{Binding Text}"
/>
<
Setter
Property
=
"ItemsSource"
Value
=
"{Binding SubItems}"
/>
<
Setter
Property
=
"IsEnabled"
Value
=
"{Binding IsEnabled}"
/>
</
Style
>
to
<
Style
x:Key
=
"MenuItemContainerStyle"
TargetType
=
"telerik:RadMenuItem"
BasedOn
=
"{StaticResource RadMenuItemStyle}"
>
<
Setter
Property
=
"Header"
Value
=
"{Binding Text}"
/>
<
Setter
Property
=
"ItemsSource"
Value
=
"{Binding SubItems}"
/>
<
Setter
Property
=
"IsEnabled"
Value
=
"{Binding IsEnabled}"
/>
</
Style
>
Please, update your documentation to save others time.
Best Regards,
Mateusz