Telerik Forums
UI for WPF Forum
5 answers
326 views
Hi,

Please bear with me as I am a newbie to WPF and we are evaluating RadGridView as part of a new development project. I

a question on how to use conditional values within a row on the grid.
 

I have a grid which is bound to a simple data table, contacts. Now contacts has several different columns that represent different phone numbers. I also have  a column that has a "default contact mode" that does what it basically says it is used to identify which phone number should be used as a default contact number.

 

How do I define a column that shows the default contact number, that is I do not want to show say all the different phone number columns, just the column that is defined in the "default contact mode". Bearing in mind that this default contact mode will be different for different records.

 

For example I have a data set that looks like:

Name    Phone1    Phone2    Contact Using
Joe        123412    432112    Phone1
Jane      999999    777777    Phone2
Jack       666666    333333    Phone1

So the Grid would look something like

Name    Contact No
Joe        123412
Jane      777777
Jack       666666

Hope that make sense :)

Any help would be greatly appreciated.

 

Glen    

Pavel Pavlov
Telerik team
 answered on 03 Jun 2011
4 answers
105 views
hi ,

i am using RadGridView and GridViewDataColumn. i need to insert some data in to the cell while the cell is in editing mode.
for example i am having a com port which read data from the weighing machine and it has to be displayed in the cell when the user press a key (say F4) on edit mode.
i diaplying the weighing scale value in label control but not in the RadGridView.


thanks
jagan
Siingh
Top achievements
Rank 2
 answered on 03 Jun 2011
4 answers
57 views
I want to custome RadGridView in WPF to merge cells of RadGridView. But I have not been found to resolve that. I need help from you. Can you help me resolve this ? Thank you very much!
Mr Cong
Top achievements
Rank 1
 answered on 03 Jun 2011
2 answers
63 views
Do you know current version Telerik support property rowspan for rows or cells in RadGridView ? Can you help me that ? Thanks so much!
Mr Cong
Top achievements
Rank 1
 answered on 03 Jun 2011
2 answers
320 views
Hi guys,
     Is there a way to specify a converter parameter in this control?  I have tried to specify a ConverterParameter in the binding to the value property, but in the ConvertBack method of the converter, the ConverterParameter is always null.  Maybe this is due to something happening internally in the control.  There is also a ValueToTextConverter property, but you cannot specify a ConverterParameter either.  Basically I want to use one converter that would apply to a variety of masks.  Any help would be appreciated.

Thank you,
P
Pete
Top achievements
Rank 1
 answered on 02 Jun 2011
1 answer
160 views
Hello, i would like to know if there's a way to modify the data fields editors in the AutoGeneratingFieldEventArgs event.
I can modify things like e.DataField.Label or e.DataField.Height but i wold like to know how to acces the editor fields (more specific, i want to modify let's say, the height, width or background color of the control).

Also in this event can i modify the type of the control that is being generate for a specific property?
Something like: if (e.PropertyName == "Name") choose a type for the generated control.

Thank you.
Pavel Pavlov
Telerik team
 answered on 02 Jun 2011
5 answers
92 views
I am using both a RadTreeView and a RadCarousel and bind the root nodes of the tree view and the carousel to the same list of items. If the user change the selection on one control, I would like the app to automaticall change the selected item on the other control. I tried to bind the SelectedItem property on both control to the same object but that did work. Has anyone tried this before?  Thanks.
Vien Nguyen
Top achievements
Rank 1
 answered on 02 Jun 2011
9 answers
114 views
Hello!

I have a big Windows.Forms project, but we also use WPF controls.
I have two ElementHosts, and in each I have one RadGridView.

All was good, but now we need grouping, and have a problem with it.
Grouping works only for one of the grids. And more, it isn't works after close and open window again.

I cannot attach here my example, but can send it via e-mail, if you need it.

Roman.
Ariel
Top achievements
Rank 1
 answered on 02 Jun 2011
8 answers
265 views
I am doing a review of 7 major chart controls for WPF and during my review of the RadControl for WPF I cannot find a way to bind two separate Line Series on a single chart to individual properties of an underlying view model.

My view model has two ObservableCollection properties.  FixedPoints is populated in the constructor to represent a collection of static data points that are known at startup.  DynamicPoints is populated via Rx's Observable.Interval to simulate a real time steam of data being plotted.

I want a single chart control to display two line series each plotting one of the collections mentioned, but it seems the only place I can bind to my view model is on the RadChart so I have a single ItemsSource to bind.  Is this correct?  I need to do this completely declaritively no code behind work arounds.

I found a sample that uses a collection of collections and sets the CollectionIndex of each SeriesMapping but that is completely against the MVVM pattern.  It means I have to design any view model according the choice of chart control.  It is also IMHO a very ugly implementation.
Giuseppe
Telerik team
 answered on 02 Jun 2011
2 answers
104 views
Hi, I have random problem with text search. When pressing on the key 'X', sometimes the item get highlighted but sometimes it doesn't.

<

 

 

telerik:RadComboBox IsTextSearchEnabled="True" TextSearchMode="StartsWith">

 

 

 

 

    <telerik:RadComboBoxItem Content="Xavier1"/>

 

 

 

 

    <telerik:RadComboBoxItem Content="Xavier2"/>

 

 

 

 

    <telerik:RadComboBoxItem Content="Xavier3"/>

 

 

 

 

    <telerik:RadComboBoxItem Content="Xavier4"/>

 

 

 

 

</telerik:RadComboBox>

 

Konstantina
Telerik team
 answered on 02 Jun 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?