using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Telerik.Windows.Controls;
namespace RadControlsWpfApp1
{
public class RadDockingTheme:Theme
{
}
}
and added xmlns:local="clr-namespace:RadControlsWpfApp1;assembly=RadControlsWpfApp1" before the style definition.
Can somebody tell me waht is wrong or post the source code of a working example of a restyled radpane toolbox?
Thanks in Advance!
Pieter
Hello Telerik Team,
I have a requirement where the rad combobox has a list of names. After selecting a value from the dropdown panel, the selected name should be displayed as a hyperlink.
I have managed to get the hyperlink by using a DataTemplate in the SelectionBoxTemplate of the radcombobox as shown below.
<
UserControl.Resources
>
<
DataTemplate
x:Key
=
"SelectionBoxTemplateKey"
>
<
TextBlock
>
<
Hyperlink
Tag
=
"{Binding Path=FocalUserId}"
Name
=
"hyplnkFocalFullName"
Click
=
"hyplnkFocalFullName_Click"
>
<
TextBlock
Text
=
"{Binding FocalFullName}"
></
TextBlock
>
</
Hyperlink
>
</
TextBlock
>
</
DataTemplate
>
</
UserControl.Resources
>
<
Telerik:RadComboBox
Name
=
"radCmbFocal"
IsEditable
=
"False"
Grid.Row
=
"3"
Grid.Column
=
"5"
Width
=
"130"
SelectedValue
=
"{Binding Path=FocalId,Mode=TwoWay}"
SelectedValuePath
=
"FocalId"
DisplayMemberPath
=
"FocalFullName"
SelectionBoxTemplate
=
"{StaticResource SelectionBoxTemplateKey}"
HorizontalAlignment
=
"Left"
Margin
=
"7 0 0 0"
VerticalAlignment
=
"Center"
SourceUpdated
=
"radCmbFocal_SourceUpdated"
>
</
Telerik:RadComboBox
>
But the click event of the hyperlink doesn't get's fired, nor does the cursor pointer changes to hand cursor on hovering over the selected value as it does for a normal hyperlink.
Is there a solution to achieve this requirement.
Thanks.
Regards,
Mausami.
<
telerik:RadGridView.GroupHeaderTemplate
>
<
DataTemplate
>
<
StackPanel
Orientation
=
"Horizontal"
Margin
=
"0,0"
>
<
TextBlock
Text
=
"{Binding Group.Key}"
Margin
=
"0,0,0,2"
Width
=
"200"
/>
<
telerik:AggregateResultsList
ItemsSource
=
"{Binding}"
VerticalAlignment
=
"Center"
>
<
ItemsControl.ItemTemplate
>
<
DataTemplate
>
<
StackPanel
Orientation
=
"Vertical"
VerticalAlignment
=
"Center"
>
<
TextBlock
VerticalAlignment
=
"Center"
HorizontalAlignment
=
"Center"
Text
=
"{Binding Caption}"
Width
=
"80"
/>
<
TextBlock
VerticalAlignment
=
"Center"
HorizontalAlignment
=
"Center"
Text
=
"{Binding FormattedValue}"
Width
=
"80"
/>
</
StackPanel
>
</
DataTemplate
>
</
ItemsControl.ItemTemplate
>
<
ItemsControl.ItemsPanel
>
<
ItemsPanelTemplate
>
<
StackPanel
Orientation
=
"Horizontal"
/>
</
ItemsPanelTemplate
>
</
ItemsControl.ItemsPanel
>
</
telerik:AggregateResultsList
>
</
StackPanel
>
</
DataTemplate
>
</
telerik:RadGridView.GroupHeaderTemplate
>
<
telerik:RadGridView.GroupDescriptors
>
<
telerik:GroupDescriptor
x:Name
=
"TransactionGroup"
Member
=
"TransactionGroup"
SortDirection
=
"Ascending"
>
<
telerik:GroupDescriptor.AggregateFunctions
>
<
telerik:MinFunction
Caption
=
"Cash: "
SourceField
=
"CashTotal"
ResultFormatString
=
"{}{0:0.00}"
/>
<
telerik:MinFunction
Caption
=
"Inv Beg: "
SourceField
=
"BegInvTotal"
ResultFormatString
=
"{}{0:0.00}"
/>
<
telerik:MinFunction
Caption
=
"End: "
SourceField
=
"EndInvTotal"
ResultFormatString
=
"{}{0:0.00}"
/>
<
telerik:MinFunction
Caption
=
"Acc Beg: "
SourceField
=
"BegAccruedTotal"
ResultFormatString
=
"{}{0:0.00}"
/>
<
telerik:MinFunction
Caption
=
"End: "
SourceField
=
"EndAccruedTotal"
ResultFormatString
=
"{}{0:0.00}"
/>
<
telerik:MinFunction
Caption
=
"Accrual: "
SourceField
=
"AccrualAmount"
ResultFormatString
=
"{}{0:0.00}"
/>
<
telerik:SumFunction
Caption
=
"Ent Amt: "
SourceField
=
"Amount"
ResultFormatString
=
"{}{0:c2}"
/>
<
local:EnterpriseDifferenceFunction
Caption
=
"Diff: "
ResultFormatString
=
"{}{0:0.00}"
/>
</
telerik:GroupDescriptor.AggregateFunctions
>
</
telerik:GroupDescriptor
>
</
telerik:RadGridView.GroupDescriptors
>
Hello,
Can I stop the grid from being rendered while manipulating data, and making it render again only at a specific point?
Now I have serious performance issues, which seems to be caused by over re-measuring of the grid.