Telerik Forums
UI for WPF Forum
1 answer
90 views
I have a numericUpDown control in a gridview and when I click on one of the arrows, the arrows go away and the cell isn't in edit mode anymore.  Any help is appreciated. 

                <telerik:GridViewDataColumn Header="X Coordinates" 
                        DataMemberBinding="{Binding XCoordinates, Mode=TwoWay}" 
                        TextAlignment="Right">  
                    <telerik:GridViewDataColumn.CellTemplate> 
                        <DataTemplate> 
                            <TextBlock Text="{Binding XCoordinates}" /> 
                        </DataTemplate> 
                    </telerik:GridViewDataColumn.CellTemplate> 
                    <telerik:GridViewDataColumn.CellEditTemplate> 
                        <DataTemplate> 
                            <telerik:RadNumericUpDown Maximum="10000" Minimum="0" ValueFormat="Numeric" 
                                    Value="{Binding XCoordinates, Mode=TwoWay}" /> 
                        </DataTemplate> 
                    </telerik:GridViewDataColumn.CellEditTemplate> 
                </telerik:GridViewDataColumn> 
Yordanka
Telerik team
 answered on 26 May 2010
7 answers
294 views
I am planning to use telerik on some scientific application where we plot a lot of data, and since there is huge amount of data the plot will be a "summary" and "detail" chart where the summary plot will have a summarized value for, say, each minute over a longer period of time and a detail plot will lot the value of each minute's worth of data when the user selects that particular minute.

Now, I am planning (or at least the requirement says) that the summary plot have a movable ( and i am not sure if this is the correct term but) vertical cursor, which can be dragged by the user from one point to point and this event is to trigger the details plot for the corresponding point the user rests at.

I have attached a portion of a screen capture of the summary plot. The orange line in the picture is to be the cursor.

Does anyone have any idea how to do this in telerik charts for WPF? Does anyone know if it is possible?

Thanks a bunch..
 
Dwight
Telerik team
 answered on 26 May 2010
2 answers
162 views
Hi,

I have a Gridview and a Chart. The gridview can be filtered. what i would like is the chart to update its view based on the filter applied by the user but I cannot see how to bind the chart to the filtered list.

//Load data and bind to gridview

 

 

ObservableCollection<People> peopleByYearData = GetPeopleByYear();

 

gridViewPeople.ItemsSource = peopleByYearData;

//this displays the data on a simple bar chart.

 

chartPeopleByYear.ItemsSource = gridViewPeople.ItemsSource;

How do i ensure that the chart updates its view when the gridview is filtered?

i have tried hooking into the Filtered event of the gridview to try and get access to a list of filtered items but I cannot find any such list. The filter displays fine on the gridview but in the Filtered event the gridViewPeople.Items.Count is always == 0.

Thanks


ben williams
Top achievements
Rank 1
 answered on 25 May 2010
4 answers
318 views
Hello,
I have a question about licencing. I work in company where is few development teams, each team for different project (client/server development). One team is working on project with GUI (project A), this project will reference Telerik WPF controls. Another team is working on project B which reference project A.
The question is, do i need licences of WPF controls  for developers on project B?

Thanks

David
David Renza
Top achievements
Rank 1
 answered on 25 May 2010
3 answers
139 views
I am trying to print a RadGridView control.

I followed the sample provided, creating a new control and I do see pages of data from my grid...  but here's the issue...

It seems like the good layout stuff must not be happening.  My alternating colors don't show up.  The text wrapping is not happening.  My columns are never resized to fit the width of the printed page.

My theory is that because my print grid is not part of the visual tree, it never gets the Loaded event where all of the good stuff must be happening.

Please help if you can :)
-Mike Graham
Maya
Telerik team
 answered on 25 May 2010
1 answer
196 views
I'm trying to use the FilterOperatorConverter class for the Filtering Dialog, and keep getting a Not Implemented exception for the ConvertBack method of the converter.  A quick check with Reflector shows that the FilterOperatorConverter.ConvertBack() method does indeed throw a Not Implemented exception.  Base on the released documentation, the FilterOperatorConverter.ConvertBack() method is documented as able to do the conversion. 

I need to override the template & style for this Filter Popup in the RadGridView.  How would I overide the style and template in the Combobox dropdown of the FilterOperators so that the Text for the selection appears as "Is Equal To" rather than "IsEqualTo"?

Rossen Hristov
Telerik team
 answered on 25 May 2010
3 answers
225 views
When the minimize button is clicked, the RadWindow hides the content within it (See attachment). Is there a way to minimize the window to the taskbar? I'm using Q1 2010, this didn't occur in Q3 2009. Thanks.
Miroslav Nedyalkov
Telerik team
 answered on 25 May 2010
1 answer
130 views

I'm trying to plot a “stepline” chart where AxisX is a DateTime and some points are nulls.
As I didn't find any specific series (I hope you'll address soon), I use LineSeriesDefinizion doubling data point (see code) but:
- null value are treated as 0 (wrong since 0 means 0 value while null means missing value)
- where first value is null, the control throws a NullReferenceException

        public MainWindow()

        {

            InitializeComponent();

            ConfigureChart();

        }

        private void ConfigureChart()

        {

            LineSeriesDefinition lineSeries = new LineSeriesDefinition();

            lineSeries.ShowItemLabels = false;

            lineSeries.ShowPointMarks = false;

            SeriesMapping actualMapping = new SeriesMapping();

            actualMapping.SeriesDefinition = lineSeries;

            actualMapping.LegendLabel = "Data";

            actualMapping.ItemMappings.Add(new ItemMapping("Day", DataPointMember.XValue));

            actualMapping.ItemMappings.Add(new ItemMapping("Value", DataPointMember.YValue));

            radChart.SeriesMappings.Add(actualMapping);

            radChart.DefaultView.ChartArea.AxisX.DefaultLabelFormat = "#VAL{dd-MM-yy}";

            radChart.DefaultView.ChartArea.AxisX.LabelRotationAngle = 45;

            radChart.DefaultView.ChartArea.AxisX.IsDateTime = true;

            radChart.ItemsSource = MyData.GetData();

        }

    }

    class MyData

    {

        public DateTime Day { get; set; }

        public double? Value { get; set; }

        public static List<MyData> GetData()

        {

            DateTime today = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day);

            List<MyData> list = new List<MyData>();

            list.Add(new MyData() { Day = today, Value = null });

            list.Add(new MyData() { Day = today.AddDays(1), Value = 1 });

            list.Add(new MyData() { Day = today.AddDays(1), Value = 2 });

            list.Add(new MyData() { Day = today.AddDays(2), Value = 2 });

            list.Add(new MyData() { Day = today.AddDays(2), Value = 1.5 });

            list.Add(new MyData() { Day = today.AddDays(3), Value = 1.5 });

            return list;

        }

    }


Sincerely
Ivano

 

 

Dwight
Telerik team
 answered on 25 May 2010
1 answer
80 views
http://www.telerik.com/help/wpf/telerik.windows.controls.charting-telerik.windows.controls.charting.axis2d%601-sliderposition.html

"Gets or sets the slider position.    "

WOW... REALLY???

:P

For a product that you are selling for $1k a pop, your documentation leaves much to be desired. :(
Hristo
Telerik team
 answered on 25 May 2010
1 answer
108 views
Hi,
I have the following problem:
I have a GridView with ItemSource bound to a property in view model. View model refreshes the property every 10 seconds, and when this happens all the row details row that were opened, or context menu that was open, closes down.
How can this be avoided?
Vlad
Telerik team
 answered on 25 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?