Hi,
how do i change the background and height of the Navigation Header (now it's a black background - Windows8Touch Theme).
Thanks
best regards
Manfred
Hi,
I have the following problem:
I have a simple layout (see Layout.png). There are no min sizes defined.
Now if I resize the application window in the displayed way, my contents are clipped when the document host can no longer shrink (see Layout2.png).
Can I do something against this behavior?
Arthur
I have a dataform using a custom DataFormCommandProvider. The CommandProvider has an overriden CanAddNewExecute() function that always returns true.
When I first go to the page with this control I can Add New items all I want. However once I edit an item, and commit or cancel the edit, the add new button (which is still enabled) stops working.
In debug I can see the CommandProvider's AddNew() function is getting called; the only difference is in the beginning the Dataform.CanAddItems property is true. After the Edit, the Dataform.CanAddItems property is false. I believe that while it is false it will not do the AddNewItem functionality.
How can I get the Dataform.CanAddItems property back to being true after an edit, so I can continue adding items?
hi
im using RadRichTextBox for mailmerge as did in telerik demo. but it is unable to read the RadRichTextBoxMailMerge.xaml doc. i have attached my sample application. and also giving an error for version property in RadRichTextBoxMailMerge.xaml.
note: please change the extension of Solution_MailMerge.jpg to Solution_MailMerge.7z
thank you.
I have 2 templates in my TreeListView. One for display and one for edit as shown below. When I select a node that is in display mode then use the keyboard and type a key, the "Name" value is updated with that key press. On key press, the edit template is loaded and the Name/Description fields are disabled. The IsEditableStatus field is not changed. This makes no sense and I don't know how to get around it. Thanks for your help.
The TreeListView:
<
telerik:RadTreeListView
x:Name
=
"treeListView"
AutoGenerateColumns
=
"False"
HorizontalAlignment
=
"Stretch"
VerticalAlignment
=
"Stretch"
CanUserFreezeColumns
=
"False"
CanUserReorderColumns
=
"False"
SelectionMode
=
"Single"
Grid.Row
=
"1"
Margin
=
"5"
IsReadOnly
=
"{Binding IsReadOnly}"
ItemsSource
=
"{Binding Hierarchy, Mode=TwoWay}"
SelectedItem
=
"{Binding SelectedItem, Mode=TwoWay}"
IsExpandedBinding
=
"{Binding IsExpanded, Mode=TwoWay}"
AutoExpandItems
=
"True"
ShowGroupPanel
=
"False"
IsFilteringAllowed
=
"False"
ShowColumnHeaders
=
"False"
>
<
telerik:RadTreeListView.ChildTableDefinitions
>
<
telerik:TreeListViewTableDefinition
ItemsSource
=
"{Binding Children}"
/>
</
telerik:RadTreeListView.ChildTableDefinitions
>
<
telerik:RadTreeListView.Columns
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Name, Mode=TwoWay}"
CellTemplate
=
"{StaticResource TreeNodeTemplate}"
CellEditTemplate
=
"{StaticResource TreeNodeEditTemplate}"
IsReadOnly
=
"False"
Width
=
"*"
/>
<
telerik:GridViewComboBoxColumn
x:Name
=
"itemTypeColumn"
Header
=
"Item Type"
DataMemberBinding
=
"{Binding ItemTypeID, Mode=TwoWay}"
DisplayMemberPath
=
"Name"
SelectedValueMemberPath
=
"ID"
SortMemberPath
=
"Order"
SortingState
=
"Ascending"
ItemsSource
=
"{Binding TypeModel.Items, Mode=TwoWay}"
IsReadOnly
=
"True"
Width
=
"150"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding IsActive, Mode=TwoWay}"
Header
=
"Include"
/>
</
telerik:RadTreeListView.Columns
>
</
telerik:RadTreeListView
>
The templates:
<
DataTemplate
x:Key
=
"TreeNodeTemplate"
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
Image
Source
=
"{Binding Image, Mode=TwoWay}"
ToolTip
=
"{Binding Barcode, Mode=TwoWay}"
/>
<
TextBlock
Text
=
"{Binding Name, Mode=TwoWay}"
Margin
=
"5"
ToolTip
=
"{Binding Description}"
/>
</
StackPanel
>
</
DataTemplate
>
<
DataTemplate
x:Key
=
"TreeNodeEditTemplate"
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
Image
Source
=
"{Binding Image, Mode=TwoWay}"
VerticalAlignment
=
"Top"
/>
<
Grid
Margin
=
"5"
Background
=
"Cornsilk"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"125"
/>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"26"
/>
<
RowDefinition
Height
=
"26"
/>
<
RowDefinition
Height
=
"26"
/>
<
RowDefinition
Height
=
"26"
/>
</
Grid.RowDefinitions
>
<
Label
Content
=
"ID:"
Grid.Column
=
"0"
Grid.Row
=
"0"
HorizontalAlignment
=
"Right"
VerticalAlignment
=
"Center"
/>
<
TextBlock
Grid.Column
=
"1"
Text
=
"{Binding ID, Mode=TwoWay}"
/>
<
Label
Content
=
"Name:"
Grid.Column
=
"0"
Grid.Row
=
"1"
HorizontalAlignment
=
"Right"
VerticalAlignment
=
"Center"
/>
<
TextBox
Grid.Column
=
"1"
Grid.Row
=
"1"
Text
=
"{Binding Name, Mode=TwoWay}"
IsEnabled
=
"{Binding IsEditableStatus}"
/>
<
Label
Content
=
"Description:"
Grid.Column
=
"0"
Grid.Row
=
"2"
HorizontalAlignment
=
"Right"
VerticalAlignment
=
"Center"
/>
<
TextBox
Grid.Column
=
"1"
Grid.Row
=
"2"
Text
=
"{Binding Description, Mode=TwoWay}"
IsEnabled
=
"{Binding IsEditableStatus}"
/>
<
Label
Content
=
"Barcode:"
Grid.Column
=
"0"
Grid.Row
=
"3"
HorizontalAlignment
=
"Right"
VerticalAlignment
=
"Center"
/>
<
TextBox
Grid.Column
=
"1"
Grid.Row
=
"3"
Text
=
"{Binding Barcode, Mode=TwoWay}"
/>
</
Grid
>
</
StackPanel
>
</
DataTemplate
>
</
UserControl.Resources
>
Hi I am trying to use PivotGrid on my wpf usercontrol and getting this error "The method or operation is not implemented.". All I am doing is just put the pivot grid on the user control which already has two combo boxes, I haven't even got to the part where I bind to a data source. I get this error at run time. Below is my xaml content. I don't even have any code written that references pivot grid.
<Grid>
<Label Content="Omnibus Report" HorizontalAlignment="Left" Margin="77,64,0,0" VerticalAlignment="Top" Height="51" Width="364" />
<telerik:RadComboBox Margin="77,115,600,652" x:Name ="cmbClients" SelectionChanged="cmbClients_SelectionChanged" DisplayMemberPath="Name" IsEditable="false" ItemsSource ="{Binding Crms}"
BorderThickness="1" Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}" Foreground="#FF73B92D" BorderBrush="{DynamicResource {x:Static SystemColors.WindowBrushKey}}" Loaded="cmbClients_Loaded" />
<telerik:RadComboBox Margin="77,166,600,601" x:Name ="cmbBeams" SelectionChanged="cmbBeams_SelectionChanged" DisplayMemberPath="BeamName" IsEditable="false" ItemsSource ="{Binding Beams}"
BorderThickness="1" Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}" Foreground="#FF73B92D" BorderBrush="{DynamicResource {x:Static SystemColors.WindowBrushKey}}" Loaded="cmbBeams_Loaded" />
<pivot:RadPivotGrid HorizontalAlignment="Left" Margin="0,0,0,2" VerticalAlignment="Bottom" BorderThickness="1" >
</pivot:RadPivotGrid>
</Grid>
Hello!
Is there a possibility to set the height to auto for the alerts? I can set double.NaN to the height programmatically, but in this case some alerts are overlapping others.
kind regards!