<
telerik:RadTabControl
Name
=
"MainTabControl"
Visibility
=
"Visible"
TabStripPlacement
=
"Left"
SelectionChanged
=
"MainTabControl_SelectionChanged"
>
<
telerik:RadTabItem
Header
=
"Define Manual Columns"
Visibility
=
"Visible"
DataContext
=
"{Binding Customers}"
>
<
StackPanel
>
<
ContentControl
Content
=
"{Binding}"
Grid.Row
=
"0"
Grid.RowSpan
=
"2"
Grid.Column
=
"1"
Width
=
"Auto"
HorizontalAlignment
=
"Stretch"
>
<
ContentControl.Style
>
<
Style
TargetType
=
"ContentControl"
>
<
Style.Triggers
>
<
DataTrigger
Binding
=
"{Binding ReceiveNewsletter}"
Value
=
"True"
>
<
Setter
Property
=
"ContentTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
StackPanel
>
<
TextBlock
x:Name
=
"TestPanel1"
Text
=
"Test Panel"
Height
=
"50"
Width
=
"50"
VerticalAlignment
=
"Top"
Foreground
=
"Black"
Margin
=
"5"
/>
<
TextBlock
x:Name
=
"TestPanel2"
Text
=
"Test Panel2"
Height
=
"50"
Width
=
"50"
Foreground
=
"Black"
Margin
=
"5"
/>
<
StackPanel
x:Name
=
"ButtonsStack"
Orientation
=
"Horizontal"
HorizontalAlignment
=
"Right"
VerticalAlignment
=
"Bottom"
Margin
=
"0,100,5,0"
>
<
telerik:RadButton
x:Name
=
"EditStyle"
ToolTipService.ToolTip
=
"Edit"
Height
=
"25"
Width
=
"25"
>
</
telerik:RadButton
>
<
telerik:RadButton
x:Name
=
"CopyStyle"
ToolTipService.ToolTip
=
"Copy"
Height
=
"25"
Width
=
"25"
>
</
telerik:RadButton
>
<
telerik:RadButton
x:Name
=
"CancelSave1"
ToolTipService.ToolTip
=
"Delete"
Height
=
"25"
Width
=
"25"
>
</
telerik:RadButton
>
</
StackPanel
>
</
StackPanel
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
</
DataTrigger
>
<!-- EDIT TEMPLATE -->
<
DataTrigger
Binding
=
"{Binding Temp}"
Value
=
"True"
>
<
Setter
Property
=
"ContentTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
StackPanel
HorizontalAlignment
=
"Stretch"
Orientation
=
"Vertical"
>
</
StackPanel
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
</
DataTrigger
>
</
Style.Triggers
>
</
Style
>
</
ContentControl.Style
>
</
ContentControl
>
</
StackPanel
>
</
telerik:RadTabItem
>
</
telerik:RadTabControl
>
Hello !
Is it possible to automaticly open the DropDown bei Beginning of Typing a searchcriteria in a as Autocomplete configured Combobox ?
Scenario is MVVM.
OpenDropDownOnFocus is not my prefered behaviour.
I found that StaysOpenOnEdit doesn't work and are absolete.
Hello,
We recently upgraded from Q3 2012 to Q3 2013. The tooltips on our graphs no longer display.
Here's the XAML:
<
telerik:RadCartesianChart
x:Name
=
"CollectionChart"
Margin
=
"11,0"
Grid.Column
=
"1"
HorizontalAlignment
=
"Stretch"
>
<
telerik:RadCartesianChart.Behaviors
>
<
telerik:ChartTooltipBehavior
VerticalOffset
=
"7"
/>
</
telerik:RadCartesianChart.Behaviors
>
<
telerik:RadCartesianChart.TooltipTemplate
>
<
DataTemplate
>
<
Grid
IsHitTestVisible
=
"False"
>
<
Border
BorderBrush
=
"DarkGray"
BorderThickness
=
"1"
CornerRadius
=
"1"
>
<
StackPanel
Background
=
"WhiteSmoke"
>
<
TextBlock
FontSize
=
"11"
Text
=
"{Binding Category, StringFormat='\{0:MMMM yyyy\}'}"
Padding
=
"2,2,2,0"
/>
<
TextBlock
FontSize
=
"11"
Text
=
"{Binding Value, StringFormat='\{0:C0\} Collection'}"
Padding
=
"2,0,2,2"
/>
</
StackPanel
>
</
Border
>
</
Grid
>
</
DataTemplate
>
</
telerik:RadCartesianChart.TooltipTemplate
>
<
telerik:RadCartesianChart.VerticalAxis
>
<
telerik:LinearAxis
LabelFormat
=
"C0"
/>
</
telerik:RadCartesianChart.VerticalAxis
>
<
telerik:RadCartesianChart.HorizontalAxis
>
<
telerik:CategoricalAxis
/>
</
telerik:RadCartesianChart.HorizontalAxis
>
<
telerik:BarSeries
x:Name
=
"CollectionLastYearBarSeries"
CombineMode
=
"Cluster"
CategoryBinding
=
"MonthStringCategory"
ValueBinding
=
"Total"
HorizontalContentAlignment
=
"Left"
>
<
telerik:BarSeries.PointTemplate
>
<
DataTemplate
>
<
Border
BorderBrush
=
"#A8E083"
BorderThickness
=
"1"
CornerRadius
=
"1"
MaxWidth
=
"20"
>
<
Rectangle
Fill
=
"#A8E083"
MaxWidth
=
"20"
/>
</
Border
>
</
DataTemplate
>
</
telerik:BarSeries.PointTemplate
>
</
telerik:BarSeries
>
<
telerik:BarSeries
x:Name
=
"CollectionThisYearBarSeries"
CombineMode
=
"Cluster"
CategoryBinding
=
"MonthStringCategory"
ValueBinding
=
"Total"
HorizontalContentAlignment
=
"Left"
>
<
telerik:BarSeries.PointTemplate
>
<
DataTemplate
>
<
Border
BorderBrush
=
"#468020"
BorderThickness
=
"1"
CornerRadius
=
"1"
MaxWidth
=
"20"
>
<
Rectangle
Fill
=
"#468020"
MaxWidth
=
"20"
/>
</
Border
>
</
DataTemplate
>
</
telerik:BarSeries.PointTemplate
>
</
telerik:BarSeries
>
</
telerik:RadCartesianChart
>
Hi
I'm using a RadRicjTextBox in a WPF with DataBinding and ValidatesOnDataErrors, and I'm trying to add validation to ensure that the user has acutally typed something into the comment
Here is the XAML snippet...
<
telerik:HtmlDataProvider
Grid.Column
=
"1"
Grid.Row
=
"3"
x:Name
=
"HtmlProvider2"
RichTextBox
=
"{Binding ElementName=CommentsRichTextBox}"
Html
=
"{Binding Response, Mode=TwoWay,ValidatesOnDataErrors=True}"
/>
<
telerik:RadRichTextBox
Height
=
"92"
Grid.Column
=
"1"
Grid.Row
=
"3"
Margin
=
"2"
x:Name
=
"CommentsRichTextBox"
/>
But I'm not sure how to validate the contents in my IDataErrorInfo code, I can't just check to see if the Response field is empty, because as soon as you type anything, and then delete it, the field contains all the HTML wrappings.
Am I missing something or is there a way to do this, I had thought I should try and convert the HTML to Text somehow and then check, but I don't want that to happen with every key press (I'm also not sure how to go about it
Thanks in advance
Paul
hi
Is it possible to programmatically set a ColumnGroupDescriptor to allow column filtering. As you can see from my code I am setting IsVisible = false so that I don't show redundant info in each row. I would like the Group column header to show the filter icon and allow for the column to be filtered.
Thanks
Rich
ColumnGroupDescriptor colGrpDesc = new ColumnGroupDescriptor();
colGrpDesc.Column = grid.Columns[groups.UniqueName];
colGrpDesc.Column.IsVisible = false;
colGrpDesc.SortDirection = sortDirection;
grid.GroupDescriptors.Add(colGrpDesc);