Telerik Forums
UI for WPF Forum
1 answer
120 views
avatar

Hi,
Thanks for the wonderful chart control provided from telerik. Is there a feature like dragging the chart area and datapoints gets updated depending on the drag.



Scenario:
1. RadCartesianChart holding queue with 1000 data points.
2. But the current chart view shows only latest 10 points.
3. If drag the chart area to left/right, then data points must get updated. (this must depend on drag sensitivity).
4. This is some thing like playing the chart area w.r.t to datapoints in the queue.
5. Should have an event warning me that i am at point 0 and point 1000 on the graph. (start and end of the queue).

Please reply AS SOON AS POSSIBLE.

Thanks,
Supriya
Petar Kirov
Telerik team
 answered on 14 May 2013
26 answers
594 views
Is there a way to export a hierarchical radgridview to excel or word?
Dimitrina
Telerik team
 answered on 14 May 2013
1 answer
297 views
Hi,

I need to give an image watermark to my richtextbox. Is it possible from C#?

Thanks for replying,
Henry.
Shinu
Top achievements
Rank 2
 answered on 14 May 2013
2 answers
351 views
Hi, 

I want the error tool tip on masked text similar to normal WPF textbox. Please find attached images.
I also want the border of the masked input text to be red when an invalid number given as input. 
Could you help me to achieve this? 
I am not sure whether this request raised by anyone but i couldn't find the solution in any of the threads.
Let me know if you need more information on this.

Thanks,
Vivek
Vivek
Top achievements
Rank 2
 answered on 14 May 2013
1 answer
95 views
Hi, is there a way so that the event CellEditEnded fires at the pasting of a value into cell?
i'm not succeding...

Thanks in advanced.
Dimitrina
Telerik team
 answered on 14 May 2013
3 answers
641 views
Hi guys

Ok two basic classes:

using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
 
namespace ProjectMaster.Core.Business
{
    public class Project
    {
        #region Fields
 
        private string _name;
        private double _budget;
        private DateTime _startDate;
        private DateTime _finishDate;
        private int _duration;
        private ObservableCollection<Phase> _phases;
 
        #endregion
 
        #region Properties
 
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
 
        public double Budget
        {
            get { return _budget; }
            set { _budget = value; }
        }
 
        public DateTime StartDate
        {
            get { return _startDate; }
            set { _startDate = value; }
        }
 
        public DateTime FinishDate
        {
            get { return _finishDate; }
            set { _finishDate = value; }
        }
 
        public int Duration
        {
            get
            {
                _duration = (_finishDate - _startDate).Days;
                return _duration;
            }
            set { _duration = value; }
        }
 
        public ObservableCollection<Phase> Phases
        {
            get { return _phases; }
            set { _phases = value; }
        }
 
        #endregion
 
        public Project(string name, int budget, DateTime startDate, DateTime finishDate)
        {
            this._name = name;
            this._budget = budget;
            this._startDate = startDate;
            this._finishDate = finishDate;
            _phases = new ObservableCollection<Phase>();
        }
    }
}

using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
 
namespace ProjectMaster.Core.Business
{
    public class Phase
    {
        #region Fields
 
        private string _name { get; set; }
        private double _budget { get; set; }
        private DateTime _startDate { get; set; }
        private DateTime _finishDate { get; set; }
        private int _duration { get; set; }
        private ObservableCollection<Task> _tasks { get; set; }
 
        #endregion
 
        #region Properties
 
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
 
        public double Budget
        {
            get { return _budget; }
            set { _budget = value; }
        }
 
        public DateTime StartDate
        {
            get { return _startDate; }
            set { _startDate = value; }
        }
 
        public DateTime FinishDate
        {
            get { return _finishDate; }
            set { _finishDate = value; }
        }
 
        public int Duration
        {
            get
            {
                _duration = (_finishDate - _startDate).Days;
                return _duration;
            }
            set { _duration = value; }
        }
 
        public ObservableCollection<Task> Tasks
        {
            get { return _tasks; }
            set { _tasks = value; }
        }
 
        public Phase(string name, int budget, DateTime startDate, DateTime finishDate)
        {
            this._name = name;
            this._budget = budget;
            this._startDate = startDate;
            this._finishDate = finishDate;
 
            _tasks = new ObservableCollection<Task>();
        }
 
        #endregion
    }
}

And the xaml that binds these classes to a RadTreeListView to get the expected output:

<telerik:RadTreeListView Grid.Row="2" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="6,0,0,0" AutoGenerateColumns="True" ItemsSource="{Binding Project, Mode=TwoWay}" SelectedItem="{Binding Item}">
 
     <telerik:RadTreeListView.ChildTableDefinitions>
         <telerik:TreeListViewTableDefinition ItemsSource="{Binding Phases}"/>
         <telerik:TreeListViewTableDefinition ItemsSource="{Binding Tasks}"/>
     </telerik:RadTreeListView.ChildTableDefinitions>
 
     <telerik:RadTreeListView.Columns>
         <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" Header="Name" />
 
         <telerik:GridViewDataColumn Header="Start Date" DataType="{x:Type System:DateTime}">
             <telerik:GridViewDataColumn.CellTemplate>
                 <DataTemplate>
                     <telerik:RadDatePicker SelectedValue="{Binding StartDate, Mode=TwoWay}" />
                 </DataTemplate>
             </telerik:GridViewDataColumn.CellTemplate>
         </telerik:GridViewDataColumn>
 
         <telerik:GridViewDataColumn Header="Finish Date" DataType="{x:Type System:DateTime}">
             <telerik:GridViewDataColumn.CellTemplate>
                 <DataTemplate>
                     <telerik:RadDatePicker SelectedValue="{Binding FinishDate, Mode=TwoWay}" />
                 </DataTemplate>
             </telerik:GridViewDataColumn.CellTemplate>
         </telerik:GridViewDataColumn>
 
         <telerik:GridViewDataColumn Header="Duration" DataMemberBinding="{Binding Duration}" DataType="{x:Type System:Int32}" />
 
         <telerik:GridViewDataColumn Header="Budget (Hrs)" DataMemberBinding="{Binding Budget}" DataType="{x:Type System:Double}" />
 
     </telerik:RadTreeListView.Columns>
 
 </telerik:RadTreeListView>


I've attached an image to show what the output is like.

Not what I want to be able to do is if the user clicks on a button, a new column is added to the TreeListVIew for eg a Resource column. Im really not sure how to go about this so any help/tips to get me in the right direction will be greatly appreciated!!

Thanking you in Advance! 
Dimitrina
Telerik team
 answered on 14 May 2013
1 answer
199 views
I have a simple implementation of a RadTileView.

The tile view is contained within a radpane which is docked.

If a drag the pane out of the docking area so the pane is floating I see both vertical and horizontal scrollbars.

But, if I maximize one of the TileViewItems and then drag the pane out of the docking area so it is floating I see the vertical scrollbar but not the horizontal scrollbar.

Please advise.

<Grid>
    <telerik:RadTileView 
        IsItemsAnimationEnabled="False"
        ColumnsCount="3"
        ColumnWidth="Auto"
        DragMode="Slide" 
        IsItemsSizeInPercentages="True"        
        IsAutoScrollingEnabled="True"
        PreservePositionWhenMaximized="True"
        RowHeight="Auto"
        MinimizedRowHeight="300"
        MinimizedColumnWidth="300"
        telerik:TileViewPanel.IsColumnsShrinkEnabled="True"
        telerik:TileViewPanel.IsRowsShrinkEnabled="True"
        telerik:TileViewPanel.IsSizeBoundToPosition="True">         
        <telerik:RadTileViewItem Header="{Binding Path=PatchMi.Title}">
            <telerik:RadChart x:Name="RadChart" ItemsSource="{Binding Path=PatchMi.Metrics}" BorderThickness="0">
                <telerik:RadChart.DefaultView>
                    <telerik:ChartDefaultView ChartLegendPosition="Bottom">
                        <telerik:ChartDefaultView.ChartLegend>
                            <telerik:ChartLegend x:Name="ChartLegend"
                                         UseAutoGeneratedItems="True">
                            </telerik:ChartLegend>
                        </telerik:ChartDefaultView.ChartLegend>
                    </telerik:ChartDefaultView>
                </telerik:RadChart.DefaultView>
                <telerik:RadChart.SeriesMappings>
                    <telerik:SeriesMapping>
                        <telerik:SeriesMapping.SeriesDefinition>
                            <telerik:DoughnutSeriesDefinition LegendDisplayMode="DataPointLabel"></telerik:DoughnutSeriesDefinition>
                        </telerik:SeriesMapping.SeriesDefinition>
                        <telerik:SeriesMapping.ItemMappings>
                            <telerik:ItemMapping DataPointMember="YValue" FieldName="Value"></telerik:ItemMapping>
                            <telerik:ItemMapping DataPointMember="LegendLabel" FieldName="Key"></telerik:ItemMapping>
                        </telerik:SeriesMapping.ItemMappings>
                    </telerik:SeriesMapping>
                </telerik:RadChart.SeriesMappings>
            </telerik:RadChart>
        </telerik:RadTileViewItem>
        <telerik:RadTileViewItem Header="Calendar">
            <telerik:RadCalendar DisplayMode="MonthView" Height="Auto" Width="Auto" />
        </telerik:RadTileViewItem>
        <telerik:RadTileViewItem Header="Item3" >
            <TextBlock Text="Item3 Content"/>
        </telerik:RadTileViewItem>
    </telerik:RadTileView>
</Grid>         
Pavel R. Pavlov
Telerik team
 answered on 14 May 2013
8 answers
1.2K+ views
Hi,

Do you know where I can download the source code for the Sales Dashboard sample application for WPF/Silverlight?

Thanks in advance,

Wagner
Dimitrina
Telerik team
 answered on 14 May 2013
7 answers
145 views
Hi,

I am creating the ItemPropertyDefinition(s) in code-behind.  I add the definitions one at a time based on various user selections peculiar to my app.  As I add a ItemPropertyDefinition to the ItemPropertyDefinitions collection, I would like the ItemPropertyDefinition display names to be presented in alphabetical order. Can this be done?

Thanks
Rich
Rossen Hristov
Telerik team
 answered on 14 May 2013
4 answers
165 views
Hi, we need an event to be fired from the control, when one of the logical operators (AND/OR) are being changed by the user. Is there a way to achieve this?
Shankar
Top achievements
Rank 1
 answered on 14 May 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
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?