Telerik Forums
UI for WPF Forum
1 answer
165 views
Hello,

I have the following column defined in my xaml code

<
telerik:GridViewMaskedTextBoxColumn Mask="P1" MaskType="Numeric" 
DataMemberBinding="{Binding CurrentAllocationWeight}" 
DisplayIndex="1" IsReadOnly="True" DataFormatString="{}{0:P1}"  
Header="% Of Total" ColumnGroupName="CurrentAllocation"/> 

The bound property is a null-able decimal value. I have no other validation in the code-behind. When I try to enter a value in the cell, I get a validation error: "DecimalConverter cannot convert from System.Double".

How should I fix this, so that the user can enter say, 5.5, and it would display that value as "5.5%" in the cell?

Hasanain
Dimitrina
Telerik team
 answered on 27 Jul 2012
13 answers
631 views
Hi all,

I have two grids. Grid A has data where some of the columns have drop downs. Grid B is used to administrate the lists in the those drop downs.

When a change occurs in Grid B then the values in Grid A are updated using INotifyPropertyChanged. However, I also want validation to kick in (Its possible to delete values from Grid B but Grid A needs to have appropriate values)

For basic cell level validation I have used the cell validating event and that works pretty well. If possible, when Grid B has been updated I would want cell validation to start.

Thanks in advance

Arthur
Arthur
Top achievements
Rank 1
 answered on 27 Jul 2012
5 answers
303 views
Hi.

I'd like to be able to add more manipulation points to a RadDiagramConnection programmatically. Is this possible and how would I go about doing it?

Regards.
Alex Fidanov
Telerik team
 answered on 27 Jul 2012
1 answer
209 views
Let me edit this to be more clear.  I am trying to dynamically change the values of the needle, thus making it Animated and have it move according to the live data being stored.  I have live data that is being thrown in a Records (ObservableCollection<QRecords<double>>) which (QRecords) has the properties "Value" and "TimeStamp" in it.  In the ChartView control, I use:

var lineSeries = new LineSeries();
lineSeries.CategoryBinding = new PropertyNameDataPointBinding() { PropertyName = "TimeStamp" };
lineSeries.ValueBinding = new PropertyNameDataPointBinding() { PropertyName = "Value" };
lineSeries.ItemsSource = (chart.Chart as GuiAnalogQueue).Records;

to add a new LineSeries accompanied with addition VerticalAxes.  This is the binding that takes care of all my data changing dynamically. 

Now, I'm trying to apply this data to allow the user to user a Gauge to display the same data, just in a different fashion (Gauge vs. ChartView).  However, when I do something like
<telerik:Needle x:Name="needle" IsAnimated="True" Value="{Binding Value}"/>
or
<telerik:Needle x:Name="needle" IsAnimated="True" Value="{Binding chart.Chart.Value}"/>

My needle doesn't move at all, whatsoever.  What steps should I take to achieve changing the value of the Gauge's needle?

Kevin
Andrey
Telerik team
 answered on 27 Jul 2012
1 answer
113 views
I am currently working on a project which uses the RadGridView, part of the required functionality is to hide and show records based on various user interaction with the grid, it would appear the best way to get this to work is using a CompositeFilterDescriptor and add and remove the filters as required.

My issue is as follows, the project has been written using MVVM and from all the reading i have done it doesn't seem possible to use binding for the indvidual FilterDescriptor lines, the RadGridView in question is contained with in a datatemplate (and there maybe more than one on the screen at one time) so it's can't be accessed directly from the code behind.

So my question is, is there anyway of changing the FilterDescriptor lines with out directly accessing the grid from the code behind.

 

Dimitrina
Telerik team
 answered on 27 Jul 2012
1 answer
129 views
Is it possible to have Column Groups in Tree List View like we have it in Grid View?

Do you have an example project that does that please?

gans
Top achievements
Rank 1
 answered on 26 Jul 2012
1 answer
96 views
Hi,

I have a radListcontrol with several items inserted at runtime....

Atruntime I like get the RadListItem object where I used the dobleclick on it.....

how i can do that???



George
Telerik team
 answered on 26 Jul 2012
1 answer
228 views
Hi,

here is the situation... In my application, I have two combobox, one for department selection and one for billing code selection. When my dialog is loaded, I call my back-end (wcf call) to get all billing codes for all existing departments. I would like to know if it's possible to filter data in my billing code combobox base on the combobox department selection changed without calling my back-end again?

Thank's
George
Telerik team
 answered on 26 Jul 2012
1 answer
154 views
Is there a Telerik sample application that uses the ribbon with the docking component all inside a ribbon window? I like the way the Telerik Work Item Manager is done, but don't see a sample for how we can achieve the same layout. In my prototype application, I'm having layout issues and things don't seem to want to work together well.

Thanks in advance...
-Tony
Boyan
Telerik team
 answered on 26 Jul 2012
1 answer
128 views
Hello,

Not life threatening or anything, but when you select a row, and then reload the gantt tasks, the non-tree columns remains greyed like they are selected (see attached image).  This is reporducable in your demos (easily in the "scrolling performance" one.  This is important because if you reload all of the tasks, that row may not corresond to the same task, and it is unexpected that the row should continue to be highlighted.  Side note, ganttview.SelectedItems.Clear() does not work, it just makes it so everything stays selected.  Is there a way of solving this, either from code-behind or editing the style xaml file?

Thanks,
Eric
Ventzi
Telerik team
 answered on 26 Jul 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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?