Telerik Forums
UI for WPF Forum
2 answers
194 views
-
Vlad
Telerik team
 answered on 18 Apr 2013
1 answer
261 views
Hi, I have a project where I synchronize multiple controls. The RadGridView control is bound to an observable collection of data. Whenever I need to select multiple items, I execute
grid.UnselectAll();
grid.SelectedItems.Add(element);
.... do this for all selected elements .....

The grid does what it's suppose to do, however, I need to customize all selected rows to have blue font color. At first I tried using
grid.ItemContainerGenerator.ContainerFromItem(item) as GridViewRow

However I quickly learned that this will only work for rows currently visible (based on some other threads I have read). The item itself does not have any kind of "IsSelected" property, so customizing styles probably will not work. I am looking for a c#-based code solution to find all necessary rows and change the Foreground property.

Thanks in advance
Maya
Telerik team
 answered on 18 Apr 2013
1 answer
236 views
Hi,
I followed this example to add a button column in my grid using the data template solution
http://www.telerik.com/help/wpf/gridview-add-button-column.html

By default all the buttons have Visibility = "Hidden". I want to button to be made visible when user select a row.
By handling SelectionChanged Event and accessing SelectedItem I do get the selected row. But after that I have no idea how to access the custom column ..i.e. Radbutton in the selected row and change its property. Any ideas?

Thanks.
Vlad
Telerik team
 answered on 18 Apr 2013
3 answers
895 views
Hi Guys,

I downloaded telerik WPF controls trial version and intended to replace the Microsoft TreeView control in our existing product with Telerik RadTreeView. Currently, I am at the stage of building a prototype to make sure that all of the existing features are still working.

We have extended RadTreeView and RadTreeViewItem to support various stuff such as ViewModel binding, custom Events and custom Drag and Drop. 

Our custom drag and drop functionality utilizes the mouse events (i.e. take the mouse position on mouse down, decide whether it triggers a drag operation, end drag on mouse up, etc). 

For the last couple of days, I've been struggling with the conflicts in handling the MouseButtonDown in our drag and drop subsystem and the MouseButtonDown handle in RadTreeViewItem. Based on the Telerik forum posts, I found that the  MouseLeftButtonDown event is handled internally and if we want to handle the events we have to call AddHandler with the third parameter  set to true. 

http://www.telerik.com/community/forums/wpf/gridview/q3-mousedown.aspx
http://www.telerik.com/community/forums/silverlight/gridview/radgridview-mouse-event-handling-and-performance-issues-in-q3-2009.aspx

I've done the above workaround and able to handle the MouseLeftButtonDown. However because e.Handled is now set to true, all of the controls up in the visual tree that use MouseLeftButtonDown event must handle the MouseLeftButtonDown event through AddHandler call as well. Unfortunately, it is not possible at the moment to change other subsystem to use the AddHandler.

At the moment, I'm thinking of setting the 'Handled' value to false in the MouseLeftButtonDown handle (from the AddHandler call) and allow the event to be bubbled up. Are there any way to detect that the MouseLeftButtonDown event is handled within the Telerik control? Because our treeviewitem contains a contentcontrol that displays edit button and delete button, if those button are pressed, we still want the Handled property to be true. If there is a guaranteed way to detect whether the MouseLeftButtonDown is handled internally in Telerik control, I could live with it and set the Handled to false when that happen.

Or, is there a way to configure the Telerik RadTreeViewItem to not set the Handled property to true? 

PS: I only have one or two weeks trial left. Does anyone know what happen if the trial expires? Can I still continue building the prototype? 

Kind regards,
Andie
Andie
Top achievements
Rank 1
 answered on 18 Apr 2013
4 answers
176 views
I'm not sure if this is a bug, or if I'm doing something wrong, but when I change a string property of my business object, the gridpropertyview string editor field doesn't reflect the new value, I have to force the control to update (ie. type in the search field) for the new value to be displayed.  The radcombobox seems to update automatically, as does the checkbox.  Is there a way to force the update with the textbox automatically?
Andrew
Top achievements
Rank 1
 answered on 17 Apr 2013
2 answers
743 views
Hello,

Is it possible to make the RTF editor in control also an html editor? So if I allow user to create a document inside RTF editor, they can have choice to choose "edit source html" instead?

I thought this control allowed this?
Petya
Telerik team
 answered on 17 Apr 2013
3 answers
113 views
I'm working with a gridview where when I update one cell, it updates other cells both in the same row and other rows. The issue I have is that the cells in other rows correctly update and show the new contents, but any cell on the 'active row' i.e. containing the cell that was edited and presuming that the caret moved to the next cell in the row does not update i.e. if I have cells A,B,C and D on one row and I edit C then when I finished editing C, cell A is updated but it's changes do not show and the control moves to editing cell D. As soon as I move off that row then the cell's correctly shown their new contents. How can I get all of the updated cells to refresh?

Thanks
Colin

Dimitrina
Telerik team
 answered on 17 Apr 2013
1 answer
120 views
Hi,

I was wondering if it was possible to stop CTRL+A from selecting every record in the grid when the grid is grouped. When the grid is grouped I would like CTRL+A to select only records from the active group.

I would be grateful if anyone know of a way this could be achieved.
Dimitrina
Telerik team
 answered on 17 Apr 2013
1 answer
132 views
I'm currently using one of the provided themes to color my timeline.
Is it possible to override the color theme such that individual items can be colored based on some condition or property?

For example, I have a timeline containing a List of objects. The objects have a Color property. I would like the object being displayed in the timeline to have a backcolor that matches it's Color property.
Tsvetie
Telerik team
 answered on 17 Apr 2013
8 answers
254 views
Hi,

i am very interested for two DateTimeGroupDescription Extensions.
I need the Steps "Hourly" and "Weekly". Also i need the possibility to customize the date text on the screen (StringFormat). 
Do i have to implement a complete new class derived from PropertyGroupDescriptionBase for these extensions, or is there a better way?

Also it would be great, if i could use DateTimeOffsets for the Dates (specially for DaylightSaving)

Best Regards,
Thomas
Thomas
Top achievements
Rank 1
 answered on 17 Apr 2013
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
InlineAIAssistant
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?