Hi,
Wondering if there's a way to override the default error message, "Error" when args.IsParsingSuccessful is set to false in the ParseDateTimeValue event handler. Would like to provide something more descriptive to my users.
Thanks
Hello,
Is there a way to customize the shape of each connector? For example the rectangle has four outer connectors, can I make one an arrow point up and another connector for that same shape a connector with an arrow pointing down. I have seen this thread http://www.telerik.com/forums/custom-connector-shape?actionMode=replyThread but that changes all the connectors. I want to change each connector with a unique image.
Your help is appreciated.
Thanks,
Amiel
Hello,
I'm looking to create generic templates where displayed info, if of a certain type, would be styled as an hyperlink (blue foreground and underlined). When clicked, the button (My first implementation was using a styled RadButton) sends a command from the code-behind.
Unfortunately, my current implementation even though it works great breaks the Highlighting of the cell and text when searching via the Full search text box on top of the grid.
I have been looking in the source code to understand the way it was implemented, but even templating GridViewCell doesn't seem to work (it never seem to be in Highlighted mode)
Any idea?
Best Regards,
Bastian
In my program, some time i need to disable some propertyDefinition, when the propertyDefinition has NestedProperties, i also need disable the expand to prevent user open or close the expander
i try to set the IsEnable propetry as this code
var expanderButtons= myRadPropertyGrid.ChildrenOfType<RadToggleButton>().Where(b => b.Name == "PART_NestedPropertiesButton").ToList();
expanderButtons.ForEach(t => t.IsEnabled = false);
it is ok at the beginning but when in the case as follows is not
1.when close or open the properties group;
2.when call the NestedProperties.Reset() method
3. when switch the propertyGrid to another one and then switch back
it seems this method can't be done after the second render
how to achieve this?
thank you
<
Window
x:Class
=
"Telerik_IsHidden_RadPane_Bug.MainView"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable
=
"d"
DataContext
=
"{Binding Main, Source={StaticResource Locator}}"
>
<
Grid
>
<!-- Main Window Docking Container (stretch to fill grid) -->
<
telerik:RadDocking
Grid.Row
=
"1"
HasDocumentHost
=
"false"
HorizontalAlignment
=
"Stretch"
Margin
=
"0,0,0,32"
Name
=
"radDockingMainWindow"
VerticalAlignment
=
"Stretch"
>
<!-- Split container that holds all of the accordion panels -->
<
telerik:RadSplitContainer
telerik:DockingPanel.InitialSize
=
"300, 200"
Name
=
"AccordionContainer"
InitialPosition
=
"DockedLeft"
Orientation
=
"Vertical"
VerticalAlignment
=
"Stretch"
>
<!-- Panes must be in pane groups, even if there is just 1 -->
<
telerik:RadPaneGroup
MaxWidth
=
"300"
x:Name
=
"ToolWindow1Group"
>
<
telerik:RadPane
x:Name
=
"ToolWindow1"
Title
=
""
CanUserClose
=
"False"
CanUserPin
=
"False"
CanFloat
=
"True"
>
<
Button
Content
=
"Example"
/>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
<
telerik:RadSplitContainer
InitialPosition
=
"FloatingDockable"
telerik:RadDocking.FloatingLocation
=
"450, 250"
telerik:RadDocking.FloatingSize
=
"300, 220"
x:Name
=
"uxWindowRadSplitContainer"
>
<
telerik:RadPaneGroup
>
<
telerik:RadPane
Header
=
"Intellifolders"
CanDockInDocumentHost
=
"False"
IsHidden
=
"{Binding Path=ToolWindowProp}"
x:Name
=
"uxToolWindowRadPane"
>
<
TextBlock
Text
=
"Hi"
/>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking
>
</
Grid
>
</
Window
>
using
GalaSoft.MvvmLight;
namespace
Telerik_IsHidden_RadPane_Bug
{
/// <summary>
/// This class contains properties that a View can data bind to.
/// <para>
/// Use the <strong>mvvminpc</strong> snippet to add bindable properties to this ViewModel.
/// </para>
/// <para>
/// </para>
/// </summary>
public
class
MainViewModel : ViewModelBase
{
public
bool
ToolWindowProp
{
get
;
set
; }
/// <summary>
/// Initializes a new instance of the MainViewModel class.
/// </summary>
public
MainViewModel()
{
ToolWindowProp =
true
;
}
}
}
Hello,
I am looking to dynamically set the RadDiagramToolboxGroupStyle based on a style or template selector. I found this : http://www.telerik.com/forums/radwrappanel-instead-of-raduniformgrid-in-raddiagramtoolbox which does work to set the /default/ style of a RadDiagramToolboxGroup created in the application. However, I don't want to change every instance, just a single one, in a single specific situation. If I add x:Key to my style, what do I change in the definition of the RadDiagramToolbox to implement using that new toolbox group style? (better yet, is there a style or template selector I can use to dynamically set that?)
I've tried the SelectedContentTemplate but I can't seem to get that to work
I've tried ItemContainerStyleSelector that didn't work
I've tried ItemContainerStyle inside the HierarchicalDataTemplate applied to the raddiagramtoolbox.ItemTemplate and that also didn't work
Any advice?
Dear support representative,
issue is that my RadGridView aggregation functions seems too slow.
I have RadGridView bound with IQueryable collection and it has sum aggregation function enabled for 4 columns.
RadGridView has also paging enabled, is set to normally load 100 rows per page.
In SQL table there are about 120 thousand rows and it takes about 2 sec. to calculate sum on a float type column.
In RadGridView it is about 8 sec. to load initial page with aggregation and 1 sec. if aggregation is not used.
Note that PersistableRadGridView is derived form RadGridView just to have couple more properties related to saving settings.
Any leads?
Currently working on binding aggregation values to VM's property so I would not need to use the sum.
<
controls:PersistableRadGridView
x:Name
=
"RadGridView"
Style
=
"{StaticResource RadGridViewWithFilters}"
DockPanel.Dock
=
"Top"
DataLoadMode
=
"Asynchronous"
FrozenColumnCount
=
"{Binding FrozenColumns}"
behaviours:RadGridViewColumnsBinding.ColumnsCollection
=
"{Binding Columns}"
behaviours:DoubleClickBehavior.Command
=
"{Binding ShowDetailsViewCommand}"
behaviours:RadGridViewFilterBehavior.Filters
=
"{Binding ColumnFilterDescriptors}"
behaviours:RadGridViewSortDescriptorsBinding.SortDescriptorsCollection
=
"{Binding ColumnSortDescriptors}"
ShouldCloseFilteringPopupOnKeyboardFocusChanged
=
"True"
SelectionMode
=
"Extended"
IsSynchronizedWithCurrentItem
=
"False"
IsReadOnly
=
"True"
Key
=
"{Binding PersistanceKey}"
RememberFilters
=
"{Binding RememberFilters, Mode=TwoWay}"
IsRememberFilterDisabled
=
"{Binding DisableRememberFilters, Mode=TwoWay}"
ItemsSource
=
"{Binding QueryableData}"
ShowColumnFooters
=
"True"
>
<
telerik:StyleManager.Theme
>
<
telerik:Windows8Theme
/>
</
telerik:StyleManager.Theme
>
<
telerik:RadGridView.Resources
>
<
Style
TargetType
=
"{x:Type telerik:GridViewCell}"
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
>
<
ContentPresenter
x:Name
=
"PART_ContentPresenter"
Margin
=
"{TemplateBinding Control.Padding}"
Content
=
"{TemplateBinding ContentControl.Content}"
ContentTemplate
=
"{TemplateBinding ContentControl.ContentTemplate}"
VerticalAlignment
=
"{TemplateBinding Control.VerticalContentAlignment}"
HorizontalAlignment
=
"{TemplateBinding Control.HorizontalContentAlignment}"
/>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:RadGridView.Resources
>
<
i:Interaction.Behaviors
>
<
behaviours:MultiSelectBehavior
SelectedItems
=
"{Binding SelectedEntries, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
/>
<
behaviours:RadGridViewRememberFiltersBehavior
/>
</
i:Interaction.Behaviors
>
</
controls:PersistableRadGridView
>
Hi,
I'm working with Piechart and I have an issue with the labels when I have many slices (please see the attached picture). The labels overlaps and even with changing the PieChartLabelsDisplayMode it would not help much. Is there any way to fix this issue?
Best regards,
Houssem