Telerik Forums
UI for WPF Forum
2 answers
90 views

Prism2.2: Two modules and each module represent a pane, and these two RadPane at a panelGroup in a Region and both panes have a RadGridView with different ItemsSource data binding. It works once and then data disappears when you click on each pane 2nd time. It looks like ItemsSource binding from GridView and button's command binding of each pane are looking for the same property in other module's ViewModel. It looks like a bug to me.
1. System.Windows.Data Error: 40 : BindingExpression path error: 'Pane4Source' property not found on 'object' ''Pane2ViewModel' (HashCode=63892678)'. BindingExpression:Path=Pane4Source; DataItem='Pane2ViewModel' (HashCode=63892678); target element is 'RadGridView' (Name='RadGridViewPane4'); target property is 'ItemsSource' (type 'Object') .
2. System.Windows.Data Error: 40 : BindingExpression path error: 'Pane4ButtonCommand' property not found on 'object' ''Pane2ViewModel' (HashCode=63892678)'. BindingExpression:Path=DataContext.Pane4ButtonCommand; DataItem='RadGridView' (Name='RadGridViewPane4'); target element is 'RadButton' (Name=''); target property is 'Command' (type 'ICommand')

Herewith I have attached the sample project[Change the extension as zip]
Could I know what the workaround is if there is a known issue?

Thanks.

Krish
Top achievements
Rank 1
 answered on 13 Jan 2011
1 answer
178 views

Hello all,

Sorry if, at least the title, might seem odd at least but bear with me because it does make sense in the end.

I need a TreeList to show items that are not initially editable (i.e.: clicking on them won't start editing) but are editable in certain conditions controlled programatically. Such as pressing F2 or adding a new item in the TreeList...

Otherwise a double click is a command that should open the item in a new window (or something) and in this case the first click selects it and the second makes it enter edit mode although it is read-only.

I have isolated the problem and it seems that no matter if I set IsReadOnly=true for both the RadTreeListView and the column itself. Just adding a CellEditTemplate makes it by default editable although I wish it weren't. The only workaround that I have found is to remove completely the CellEditTemplate.

I am not able to attach an archive with a specially-prepared project that shows this exact problem. Therefore I will attach snapshots of the main files involved.

Veselin Vasilev
Telerik team
 answered on 13 Jan 2011
1 answer
112 views
I tried to override RadComboBox action for Page Down key by adding an InputBinding that associates Page down to my command. This did my command in addition to RadComboBox standard action ( open drop down and move highlight).
Is there a way override this action?
George
Telerik team
 answered on 13 Jan 2011
5 answers
357 views
Hi there, I'm just starting with first rehearsing with your controls and WPF, and I would like to change the color (or any other property) of the text displayed in a bound data column, using a simple ValueConverter that return a Black/Red SolidColorBrush based on the passed value:
MyPublic Function Convert(ByVal value As Object, ByVal targetType As Type, ByVal parameter As Object, _
                        ByVal culture As Globalization.CultureInfo) As Object _
                      Implements IValueConverter.Convert
  Dim myColor As New SolidColorBrush(System.Windows.Media.Colors.Black)
  Try
    Dim cur As Decimal = CDec(value)
    If cur < 0 Then myColor = New SolidColorBrush(System.Windows.Media.Colors.Red)
  Catch ex As Exception
  End Try
  Return myColor
End Function
and then in the XAML use an expression like this:
xxxx.ForecolorPropertyName={Binding Path=DataColumnName, Converter=MyClassConverter}
Is this possible ? Or what other way to keep it at simplest ?
regards
Ubaldo
Maya
Telerik team
 answered on 13 Jan 2011
1 answer
78 views
My guess is that the only way to PRINT ALL DATA  in the RadGridView is using PrintExtension codes (described in GridView Forum) after getting rid of RadDataPager.
Is it?

If that is the case, I will try to toggle RadDataPager off from code-behind before printing and back on afterwards.
Is there any other way to handle printing with DataPager?

Thanks,
Vlad
Telerik team
 answered on 13 Jan 2011
9 answers
127 views
I'm having some trouble understanding how the editing infrastructure in the grid works.

1) When I edit a value and press Esc once and then navigate away, nothing is set. However, if I press Esc twice, the setter for the model is triggered. Why?

2) If I go into editing mode and immediately press Enter, even though nothing has changed, the grid will still set the value on the model. Why? As a basis for comparison, the WPF toolkit grid does not exhibit this type of behavior.

3) Entering edit mode and navigating away from the cell by clicking somewhere else also exhibits the same issue.

All of these issues are present no matter what value I set ActionOnLostFocus to (I tried all 3).

Any ideas?
Vlad
Telerik team
 answered on 13 Jan 2011
3 answers
207 views
Hi,

I have a checkbox column and we want the filter showing something else when user clicking Filter instead of  (True, False). Is there a way to change the default? FilterDescriptor??

Thanks
Li
Top achievements
Rank 1
 answered on 12 Jan 2011
6 answers
133 views
Hello,

I have a long RadTreeView with scrolls. This tree enables Drag&Drop (IsDragDropEnabled="True").
After a double click on an item in the tree, a mouse down on tree' scroll starts the drag operation.

Is it a bug ? How can I prevent it ?

Edit :
It is not only after a double click. This seems to occur when the event handler open a modal dialog.
Example with selection changed :
        private void RadTreeView_SelectionChanged(object sender, SelectionChangedEventArgs e)  
        {  
            MessageBox.Show("Tree - SelectionChanged");  
        }  
 
If you select an item, then without any click on tree, you click on a tree' scroll, the drag operation starts.


I use Q1 2010 version. (2010.1.603.35)

Thanks,
Guillaume R.
Brent
Top achievements
Rank 2
 answered on 12 Jan 2011
5 answers
474 views
hi All

I want 1 column to fill all available width on the screen (the rest are auto width). the issue is that if I set the column  Width="*" then the whole grid is way wider than the available screen space and it produces a horizontal scrollbar.

I am using the latest 2010 version.

I have seen that this issue was mentioned as a bug several times as far back as 2008. Is this still a bug in the current version?
Tina Stancheva
Telerik team
 answered on 12 Jan 2011
3 answers
101 views
I want to focus on a cell of a rad grid view (telerik) without using any event dependin on certain condition.
Please help me as soon as possible.
Maya
Telerik team
 answered on 12 Jan 2011
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
VirtualKeyboard
HighlightTextBlock
Security
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?