Telerik Forums
UI for WPF Forum
2 answers
150 views
I am having trouble getting a bound  boolean to a GridViewCheckBoxColumn to show its state. 

<telerik:RadGridView Name="dgvBreaks" ShowGroupPanel="False" Margin="0,0,0,53" AutoGenerateColumns="False" SelectionUnit="Cell">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Price}" Header="Price" Width="120" IsReadOnly="True" />
                <telerik:GridViewCheckBoxColumn DataMemberBinding="{Binding MatchUs}" Header="Match Us" AutoSelectOnEdit="True" EditTriggers="CellClick" />
                <telerik:GridViewCheckBoxColumn DataMemberBinding="{Binding MatchThem}" Header="Match Them" AutoSelectOnEdit="True" EditTriggers="CellClick" />
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>

It looks like everything is binding fine, but if I click on the checkbox and go to another cell, the state of the checkbox is reset. I bound a normal GridViewDataColumn to the boolean field and I can see that the value is updated each time I click on the cell.

I am using build version 2012.1.326.40
Dimitrina
Telerik team
 answered on 02 May 2012
4 answers
121 views

I want to automate MVC application with coded UI test (VSTS
2010) and while doing automation Rad grid control creates problems. At the time
of recording what are the operations we have performed all those are recorded
very well but at the time of executing recorded script thrown small message
window with message “an error occurred” and script is not moved further from
that point.

Please guide me how to automate below operations on radgrid
with the help of coded UI

  • Click on any buttons presented on grid.
  • Getting row and column count.
  • Getting data in the cells.

Thanks,
Ajay




Vikas
Top achievements
Rank 1
 answered on 02 May 2012
8 answers
244 views
Hi there,

How would you style the slices on a PieChart programatically?

assume this code...
Dim radPieChart1 As New RadPieChart()
Dim series As New PieSeries()
 
series.DataPoints.Add(New PieDataPoint() With {.Value = 100})
series.DataPoints.Add(New PieDataPoint() With {.Value = 35})
series.DataPoints.Add(New PieDataPoint() With {.Value = 15, .OffsetFromCenter = 0.3, .IsSelected = True})
 
 
radPieChart1.Series.Add(series)
 
LayoutQ4.Children.Add(radPieChart1)

I would like to have say... slice 1 blue, slice 2 yellow, slice 3 red...


Thanks and best regards,
Petar Marchev
Telerik team
 answered on 02 May 2012
0 answers
103 views
Hi

I have master and detail gridview, I must disable master gridview, when user try to modify detail.
Disable master gridview work fine, but user can't see which row is selected.
I want set selected row color even gridview is disable.

How can i do it?

Thanks in advanced
hamid
Top achievements
Rank 1
 asked on 02 May 2012
2 answers
166 views
Hello!

How to use IDataErrorInfo with DataForm.

Thanks.
Pavel Pavlov
Telerik team
 answered on 02 May 2012
1 answer
225 views

Hi,

How can I apply any of built in application theme (for example Windows7) to my application to see it on design time for example in blend.

Now I am using this:

StyleManager.ApplicationTheme = new Windows7Theme();

And it is working on run time but of course not in designer.

Vanya Pavlova
Telerik team
 answered on 02 May 2012
3 answers
70 views
Hi,

I have a RadTreeListView (version 2011.2.712.35) whose ItemsSource is a custom implementation of INotifyCollectionChanged. The custom version is intended to be more efficient than ObservableCollection by bundling multiple sequential Adds or Removes into a single NotifyCollectionChanged event. The single event has a list of NewItems or OldItems with more than one item in it.

The RadTreeListView seems unable to handle this event correctly. In response to an Add event with two items, it only updates the display with the first of the items. In response to an Add event with 5 items, only the first two appear in the display.

Is this a known problem? Has it been fixed in a later version than the one I have?

Thanks,
   Bob
Pavel Pavlov
Telerik team
 answered on 02 May 2012
1 answer
227 views
I've got a listBox initialised with the following:

lbxFunction.ItemsSource = Enum.GetValues(typeof(ChartAggregateFunction));

How do I disable certain ListBox items?

I tried:

((RadListBoxItem)lbxFunction.Items[0]).IsEnabled = false;

I get an error.

Any solutions will be appreciated.
Oliver
Top achievements
Rank 1
 answered on 02 May 2012
4 answers
170 views
Hi,

When the RadRibbonView.IsMinimized is set to true the ribbon is minimized. Clicking on a tab opens a popup to display the group and items.  Is there a way to dismiss the popup when a user clicks on an item in the tab, similar to the behavior in Microsoft's ribbon? Currently, only when the user clicks outside of the tab, the popup will go away and return to the minimized ribbon state.  I found the RadRibbonView.IsMinimizedPopupOpen, but this property cannot be set.  Any ideas?

Thanks,
Trang
Trang
Top achievements
Rank 1
 answered on 01 May 2012
5 answers
273 views

I played with the sample for the RadRibbon in MVVM.
There is an example of DataTemplate for the RadRibbonSplitButton.
However, the sample is not complete and does not show how to bind "Contextual" items of the RadRibbonSplitButton.

I tried this

<DataTemplate x:Key="MenuItemTemplate">
    <TextBlock Text="{Binding Text}" />
</DataTemplate>
  
<DataTemplate x:Key="SplitButtonTemplate">
    <telerik:RadRibbonSplitButton 
            Text="{Binding Text}" 
            Size="{Binding Size}"
            SmallImage="{Binding SmallImage}" 
            LargeImage="{Binding LargeImage}">
        <telerik:RadRibbonSplitButton.DropDownContent>
            <telerik:RadContextMenu 
                    ItemTemplate="{StaticResource MenuItemTemplate}" 
                    ItemsSource="{Binding SplitSubButtons}" VerticalAlignment="Top">
                <telerik:RadContextMenu.ItemContainerStyle>
                    <Style TargetType="telerik:RadMenuItem">
                        <Setter Property="Icon">
                            <Setter.Value>
                                <Image Source="{Binding Path=SmallImage}"/>
                            </Setter.Value>
                        </Setter>
                    </Style>
                </telerik:RadContextMenu.ItemContainerStyle>
            </telerik:RadContextMenu>
        </telerik:RadRibbonSplitButton.DropDownContent>
    </telerik:RadRibbonSplitButton>
</DataTemplate>

As soon as I have more that one item, only the last icon is shown.

Any advice?

Regards,

Nic
Trang
Top achievements
Rank 1
 answered on 01 May 2012
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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?