Telerik Forums
UI for WPF Forum
7 answers
250 views
I have a chart bound to an observable collection which holds things like temperatures. The user can set the temperature units used by the program, and I need to change the chart to correspond. I'm thinking there must be a better way than iterating over all the items in the collection and converting them. Can I use a value converter (Ivalueconverter)? I can't work out how I do this so that the value converter is called for each point on the chart.  Can I do this, or do you have any better suggestions, please?

Steve
ManniAT
Top achievements
Rank 2
 answered on 10 Sep 2009
10 answers
276 views
Hello
I have hierarchy with 3 levels
father-child-subChild.
according to my data-
the father rows will always have children
but not all the child rows will have subChildRows
so I need to be able to hide the expand button in the childGrid
I saw your example of:

this

 

.MasterTableDefinition_PreviewDataRowCreate
but how or where can I add this method to my childGrid
Thanks!
Orit

 

Vlad
Telerik team
 answered on 10 Sep 2009
10 answers
76 views
Hey,

using Q2 2009

I have a grid with relation based on a dataset.

I am trying to iterate over the child rows in the grid.

It seems that the "ExpandableDataRecord" does not have the
"ChildRecordManagers" property.

How I can I find the child rows ?

Thanks.
Vlad
Telerik team
 answered on 10 Sep 2009
2 answers
126 views
Hi,

I have a simple (I guessed) problem.
I use a linechart which displays datapoints with a DateTime for the XAxis.
It has between 20 and 100 datapoints. (the point distance is between 0.1 and 0.8 seconds).

All I want are labels on the XAxis which show every second a tick and an alternate view which shows all 2 seconds a tick.

I guess I do something completely wrong :)
To find the value I display the label in the format "ss.f"
I messed around with the two seconds an reached now at this point:
rcData.DefaultView.ChartArea.AxisX.Step = 0.000022890946517388024;
But still I have some "drift" - this means I get:
17.3, 19.4, 21.5...and it ends in 37.9, 40.0 instead of 39...

Since I can't imagine that it is that difficult to have a XAxis with labels for one second or 2 seconds it stop playing around and ask for a solution here; because I think what I try it totally wrong.

So the simple question:
a.) how to have a XAxis with labels every second
b.) how to have a XAxis with labels every 2 seconds

Regards

Manfred
ManniAT
Top achievements
Rank 2
 answered on 09 Sep 2009
1 answer
169 views
How to set GridView.SelectedItem in Example below?

Gridview.ItemSource is setted datatable that includes Vendors(Vendor class)

public void setSelectedItem(Vendor handledVendor)
{
    GridView.SelectedItem = (object)handledVendor;             //What must code be?
}
Milan
Telerik team
 answered on 09 Sep 2009
3 answers
297 views
If there is not a way to do this already, I would like to request that you make the DateTimePicker control have a property where you can specify 12-hour or 24-hour based times.  Thanks...

Yavor
Telerik team
 answered on 09 Sep 2009
2 answers
121 views
Hi,

Since I upgraded to Q2 SP1, the treeview lines became gray. Is there a way to change the color of the lines?

Thanks,
Ruben.
Dimitrina
Telerik team
 answered on 09 Sep 2009
1 answer
47 views
In order to filter my child grid
I try to do the folowing
but now the OnChildGridLoaded
happens few times and I get the child grid few times

 private void OnChildGridLoaded(object sender, RoutedEventArgs e)  
        {  
                try  
                {  
                    if (((ComboBoxValues.ComboValues)cmbActivityType.SelectedValue).Id != 0)  
                    {  
                        dsAcoount.Tables["Budget"].DefaultView.RowFilter = "ActivityTypeID=" + ((ComboBoxValues.ComboValues)cmbActivityType.SelectedValue).Id;  
                        ((RadGridView)sender).ItemsSource = null;  
                        ((RadGridView)sender).ItemsSource = dsAcoount.Tables["Budget"].DefaultView;  
                    }  
Thanks!
Orit
Orit
Top achievements
Rank 1
 answered on 09 Sep 2009
3 answers
150 views
From line 1148 in RadDragAndDropManager.cs in the source  of 08/13

if (el.VisualHit != null && (el.VisualHit as UIElement).IsHitTestVisible)


System.Windows.Media.DrawingVisual doesn't inherit from UIElement, so the as returns null and we get an exception.

Allan Elder
Top achievements
Rank 1
 answered on 08 Sep 2009
1 answer
139 views
Hello,

I have a very simple question: I want to select multiple cells in the GridView, but I can't find the option to do it, and the SelectionMode property is not available. So far all it does is select the whole row, where I want to be able to select only a cell.
Any clue?

Thanks in advance.
Vlad
Telerik team
 answered on 08 Sep 2009
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
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?