Telerik Forums
UI for WPF Forum
13 answers
2.4K+ views
I created a GridViewDataColumn in my MVVM WPF project with CheckBox as its CellTemplate, properly bound to a boolean property of the DataContext. When I tick the check-box for the currently-selected row, everything works fine. But when I do it for a different row, the current selection does not move to that row (as it would when clicking on a text field, for instance) even though the view-model item for that row gets updated about the check-box state change.
I tried several solutions with no help, such as:
http://www.telerik.com/forums/problem-with-gridviewcheckboxcolumn-in-wpf
http://www.telerik.com/forums/propagating-gridviewcheckboxcolumn-selection-to-datamemberbinding-in-edit-mode
http://www.telerik.com/forums/gridviewcomboboxcolumn-update-on-change

Can you think of any reason this would happen?
Dimitrina
Telerik team
 answered on 13 Jul 2015
3 answers
528 views

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>  

Dimitrina
Telerik team
 answered on 13 Jul 2015
3 answers
136 views

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!

Steve
Top achievements
Rank 1
 answered on 10 Jul 2015
1 answer
114 views

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.

Boby
Telerik team
 answered on 10 Jul 2015
3 answers
644 views

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

Geri
Telerik team
 answered on 10 Jul 2015
5 answers
223 views
Hi,

I want to change theme for the entire wpf application. I am using RadControls for WPF Q3 2012. When use (in MainWindow.xaml.cs)
StyleManager.ApplicationTheme = new VistaTheme();
Compiler gives,
Error    1    The name 'StyleManager' does not exist in the current context.
Error    2    The type or namespace name 'VistaTheme' could not be found (are you missing a using directive or an assembly reference?)

I notice that the Telerik.Windows.Themes.Vista.dll is not added. However Telerik.Windows.Themes.Vista.dll can not be found (it is not in Binaries directory). I need help on this. Thanks.

York


Dimitrina
Telerik team
 answered on 10 Jul 2015
8 answers
258 views

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}"

 

​

Stefan
Telerik team
 answered on 10 Jul 2015
3 answers
137 views

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

Martin Ivanov
Telerik team
 answered on 10 Jul 2015
3 answers
290 views

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>

Stefan
Telerik team
 answered on 09 Jul 2015
10 answers
277 views
Hi, I'm using MVVM pattern to work with RadTimeLine. The project works fine, but, is posible to use drag and drop for move items into RadTimeLine?

Thank you!

Jordi
Martin Ivanov
Telerik team
 answered on 09 Jul 2015
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?