Here is my Checkbox in RadGridView which is not implemented in MVVM. I would like to implement this MVVM.
I used interaction triggers but the command is not getting fired. How can I do this ?
<
telerik:GridViewDataColumn
Header
=
"Delete"
Width
=
"60"
>
<
telerik:GridViewDataColumn.CellTemplate
>
<
DataTemplate
>
<
CheckBox
HorizontalAlignment
=
"Center"
IsChecked
=
"{Binding IsDeleted, Mode=TwoWay}"
>
<
i:Interaction.Triggers
>
<
i:EventTrigger
EventName
=
"Checked"
>
<
cmd:EventToCommand
Command
=
"{Binding DiagramChecked}"
/>
</
i:EventTrigger
>
</
i:Interaction.Triggers
>
</
CheckBox
>
</
DataTemplate
>
</
telerik:GridViewDataColumn.CellTemplate
>
</
telerik:GridViewDataColumn
>
<
telerik:GridViewDataColumn
Header
=
"Delete"
>
<
telerik:GridViewDataColumn.CellTemplate
>
<
DataTemplate
>
<
CheckBox
IsChecked
=
"{Binding IsDeleted, Mode=TwoWay }"
Checked
=
"ToggleButton_OnChecked"
Unchecked
=
"ToggleButton_OnUnchecked"
>
</
CheckBox
>
</
DataTemplate
>
</
telerik:GridViewDataColumn.CellTemplate
>
</
telerik:GridViewDataColumn
>
In this thread http://www.telerik.com/forums/prism-and-rad-window you have a demo for how to use a RadWindow as the main window. However, when you switch to using the NoXAML dlls, the window does not show. I should also note that I am currently using the demo version, in case that matters. Thanks for any help with this!
Hi,
when I export a document as pdf I obtain always a giant file.
So I executed this simple test, I loaded a xaml 214Kb doc file, I save it as Pdf and I obtain a 4257Kb file!!
Why?
Working with real files that contains 100/200 images I obtain files over 1 Gb.
Thank's marc.
Hi,
We have customised the RadListBox control for our use and are also using CollectionViewSource for grouping. The problem is that the vertical scroll is not showing when there is only a single group.
If there are more than one groups the vertical scroll appears as usual when needed.
We are using a WrapPanel for the ItemsPanelTemplate and have disabled the Horizontal Scrollbar so the items are only stacked vertically when the control is resized.
Please suggest what can be wrong.
Regards
Apar
StyleManager.ApplicationTheme = new VistaTheme();
Hi~
As following picture, selected row of radgridview does not display!
Applied Theme is VisualStudio2013.
Give me some hint! plz.
version is 2014. q3.
<telerik:RadGridView x:Name="datas"
AutoGenerateColumns="False"
CanUserFreezeColumns="False"
CanUserResizeColumns="True"
ShowGroupPanel="False"
RowIndicatorVisibility="Collapsed"
AutoExpandGroups="True"
IsReadOnly="False"
FontFamily="{Binding ElementName=control,Path=FontFamily}"
FontSize="{Binding ElementName=control,Path=FontSize}"
FontWeight="{Binding ElementName=control,Path=FontWeight}"
​
Hello,
I want to customize the appearance of the panzoombar, can you help me to do it?
I use the version of Telerik.Windows.Controls.Chart.dll is 2012.2.1503.40.
Thanks
Hi
I set ItemSource property of the RadGridView from the code behind as
tTaxoGrid.ItemsSource=taxoTable
The binding occurs in GridViewDataColumns but it fails in RowDetailsTemplate. Following is the XAML I am using. Here txtRemarks is empty.
Even if I use the same binding property as in GridViewDataColumns (e.g, Species), that also fails displaying in RowDetailsTemplate.
Please assist me in this regard
Thank you
<Grid.Resources>
<DataTemplate x:Key="RowDetailsTemplate">
<TextBlock Name="txtRemarks" Text="{Binding Remarks}" />
</DataTemplate>
</Grid.Resources>
<telerik:RadGridView Name="tTaxoGrid" RowDetailsTemplate="{StaticResource RowDetailsTemplate}" AutoGenerateColumns="False">
<telerik:RadGridView.Columns>
<telerik:GridViewToggleRowDetailsColumn />
<telerik:GridViewDataColumn Header="ID" IsVisible="False" DataMemberBinding="{Binding ID}" />
<telerik:GridViewDataColumn Header="Species" DataMemberBinding="{Binding Species}" />
<telerik:GridViewDataColumn Header="Common Name" DataMemberBinding="{Binding Common_Name}" />
<telerik:GridViewDataColumn Header="Sub Order" DataMemberBinding="{Binding Sub_Order}" />
<telerik:GridViewDataColumn Header="Family" DataMemberBinding="{Binding Family}" />
</telerik:RadGridView.Columns>
</telerik:RadGridView>
I am writing a new WPF application. I am currently using a control from another vendor and I am unable to achieve the functionality described below. Before I get too far down the road I want to make sure I am using controls that will function per my design requirements. I would like to know if it is possible implement a grid with the features described below using the Telerik grid control for WPF.
In short, what I want to implement is explicit save and cancel functionality for each row in the grid. If the user edits a row I want them to have to click a Save button before their changes are written to disk. Also, I want to display a cancel button that will undo any edits. Can you show me a grid control that implements this??
When the grid is initially displayed I want each row to display a Delete button in the rightmost column.
When the user starts to edit a certain row, I want to hide the Delete button and replace it with two buttons: Save and Cancel.
User must be able to use the tab key to navigate to Save and Cancel buttons.
User can click a column in any row and begin editing i.e. no Edit button.
Default values are visible for all columns in new item row upon editing.
Delete button is shown for all rows except new row (ideally a binding).
Upon editing, Save and Cancel buttons become visible (ideally a binding so that Save becomes visible only when data is valid).
Tab key: Save, Cancel and Delete buttons receive focus when tabbed to. Pressing tab key while in edit mode moves cursor from data last column to Save, then to Cancel, then wraps back to first data column of same row. Buttons show correct styling when focused.Save and Cancel click behavior: if row is an update to an existing row, edit mode is ended and focus stays on current row. If an insert (user is editing new item row), edit mode is maintained and focus is moved to first column of new item row.Pressing Esc key has the same effect as clicking Cancel (ideally fires same command).
Save, Delete, Cancel buttons can bound to viewmodel commands.
Save, Delete, Cancel buttons share a common column or make efficient and attractive use of space.When editing, user cannot navigate to a different row unless changes to current row are saved or cancelled.
Thank you