Telerik Forums
UI for WPF Forum
2 answers
278 views
Hello,

Since ViewModel should not be aware of the View's content or events, I would like to link GridView events to Commands with parameters in my ViewModel, more specifically the "AddingNewDataItem" and "RowEditEndedEvent" events...

I need to initialize a new Item on the AddingNewDataItem event and need to add a new newItemRow with the RowEditEndedEvent event. We do not want to have to click the "Add Row" button of the GridView. It is unfortunate to have to write code for this behavior but I have no choice...

Thanks,

Michel
Michel
Top achievements
Rank 1
 answered on 01 Sep 2011
5 answers
150 views
What does the RadDragAndDropManager framework use to determine the position of the mouse cursor in relation to the mouse cursor? It's off significantly for me. The farther right I move, the more the cue drifts away from the mouse cursor. It gets closer as I move to the left of the window, but at its closest point, it's still at least an inch away. I'm aware of the RadDragAndDropManager.DragCueOffset property, but it seems the offset varies on different computers.
Maya
Telerik team
 answered on 01 Sep 2011
5 answers
227 views
I have a RadGrid that has its SelectedItem property bound to a property in my ViewModel. In my ViewModel, if I set the item that is bound to the selected item equal to null I would expect that the selection would be removed from the RadGrid, but it does not.
XAML:
<telerik:RadGridView Grid.ColumnSpan="2" SelectedItem="{Binding Path=WorkingMedicationOrder.DrugDosage_, Mode=TwoWay}" ItemsSource="{Binding DrugDosages}" Grid.Row="5" AutoGenerateColumns="False" ShowGroupPanel="False"
In my ViewModel I do the following expecting the SelectedItem in the RadGrid to be removed.

WorkingMedicationOrder.DrugDosage_ =

null;

Thanks,

 

Rossen Hristov
Telerik team
 answered on 01 Sep 2011
1 answer
139 views
I have a scenario where I need to have multiple charts stacked.  I want to know how I could set the distances on the labels for the Y axis so that all of the charts line up.  If the charts have different label precision and formatting, they do not line up and this is not desirable. Please advise.

Thanks,
David

I uploaded a pic here to show what I mean:
http://i56.tinypic.com/15xlp5k.png
Evgenia
Telerik team
 answered on 01 Sep 2011
5 answers
752 views
I have a telerik RadGridView in which some columns can have a lot of data causing them to go multiline, which is fine. However, when we scroll horizontally and those multiline column data is out of view, the rows resize back to single line. We would like to avoid this.

DataGridView has a AutoSizeRowsMode but I can't find an equivalent RadGridView property.

Help?
Pavel Pavlov
Telerik team
 answered on 01 Sep 2011
1 answer
93 views
Hi ,

Can we customize radtileview items to be displayed on to the right corner and lower part of the screen and the maximized item displays on the center. Similar to the mirror image of 'L'


Any help will be greatly appreciate.

Thanks
Sudha

Zarko
Telerik team
 answered on 01 Sep 2011
5 answers
536 views
Hello I recently tried to use a CollectionViewSource as the items source for the RadGridView in WPF. I wanted to do so for the ammount of filtering that I needed. Coming from a Windows development background that was "the way" to do it. I am new to my company and I am not trying to fall behind. Is there an example of how to do this? In C# all we have to do to apply a filter is add a filter event handler, but when I would do this the RadGrid would "hiccup." I ended up having to use a dataview object before pulling my hair out. I refuse to write for loops with the invention of generics in the .Net framework. Any and all help is appreciated.

Sean
Sean
Top achievements
Rank 1
 answered on 01 Sep 2011
0 answers
132 views
Hi,

I have a grid with a checkbox column, which is bounded to a boolean property
and a toolbar with a Remove command.

The remove command should be enabled only if at least one element in the grid is checked.
The command logic resides in a View Model.

The problem i'm facing is that the Remove button is updated (enabled/disabled) only after
i move focus from the checkbox cell- I would like the button to update upon check/uncheck the checkbox.

Thank you,
Koby
Koby
Top achievements
Rank 1
 asked on 01 Sep 2011
1 answer
205 views
I'm hosting the WPF control in a WinForms project. I currently have a label positioned over the map for informational messages, such as 'drawing map' or 'no data selected'. However when the map is resized or panned, the label and/or the map are drawn incorrectly, or not at all. Is there a built-in overlay available in the map that is fixed to screen coordinates, rather than geographic coordinates? Similar to how the mouse position and scale never move.
Andrey
Telerik team
 answered on 01 Sep 2011
3 answers
137 views
I have a class (lets say CAR) that implements IEditableObject. If i bind a collection of cars to a datagrid, on editing a car, EndEdit on CAR is fired. However, my cars collection is displayed in a treeview. When i edit a CAR using the controls in my treeviewitem , the EndEdit is not raised. It's driving me crazy. Any clues ?
Petar Mladenov
Telerik team
 answered on 01 Sep 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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?