Telerik Forums
UI for WPF Forum
1 answer
48 views
Hi,
I recently upgraded to the latets version (2010.3.1110.35 ), the problem is that when i try to expand the animation get stuck, if i doubble click the tree expands but the animation is still working. This just happend after teh upgrade.

Kind Regards
/Rodolfo
Petar Mladenov
Telerik team
 answered on 18 Jan 2011
0 answers
92 views

Hi,

I have a 3D Pyramid chart from Telerik RadControls. I would like to know how we can enable interactivity for this chart (like rotating the pyramid to view it from different angles). The interactivity has been enabled in Telerik Demos, but i wasnt able to understand the code behind. Also, I would like to know whether there is a way we can enable the interactivity through XAML or through some properties of the Chart. Could anyone help me out with this pls? Thanx.

Sang
Top achievements
Rank 1
 asked on 18 Jan 2011
2 answers
51 views
Hi,
I have to develop a Stacked area chart which can contain atmost of 15 areas, and on click of every stacked area, I  need to open different context menu.

I found an example for ContextMenu for Bar Chart, but when I changed the BarSeriesDefinition to StackedAreaSeriesDefinition and Style TargetType from telerik:Bar to telerik:StackedArea, it does not worked.

So, Could you please give me an example explaining how to implement ContextMenu on StackedArea.
Evgenia
Telerik team
 answered on 18 Jan 2011
1 answer
70 views
Hi,

I've created a ObservableCollection of ObservableCollections for data binding, but when i add data to the inner collections, chart isn't updated. If i add a timer that null's and re-adds the ItemsSource it works, but that defeats the purpose of ObservableCollection. Any clues?

Michael
Evgenia
Telerik team
 answered on 18 Jan 2011
1 answer
111 views
Hi,

Assume you have a class (say ClassA). ClassA inherits from another class (say ClassB) which contains property of DataRow (_data).

Now when the itemssource of RadGridView binds to ClassA and the user creates a new row, RadGridview will only create a new class of ClassA but it does not create the DataRow (_data) propery. How can I make the _data property is generated while creating a new row? thanks

public class ClassB: INotifyPropertyChanged
    {
        #region Data
        DataRow _data;
 
        [Browsable(false), Bindable(false)]
        public DataRow DataRow
        {
            get { return _data; }
            set { _data = value; OnPropertyChanged("DataRow"); }
        }
        #endregion // Data
 
        #region Constructors
 
        protected ClassB(DataRow data)
            : this()
        {
            _data = data;
        }
        protected ClassB()
        {
             
        }
        #endregion // Constructors
 
 
        public object GetField(string name)
        {
            object value = null;
            try
            {
                if (_data.Table.Columns.Contains(name))
                {
                    value = _data[name];
                    if (value is DBNull)
                        value = null;
                }
                else
                    value = null;
            }
            catch { }
            return value;
        }
        public void SetField(string name, object value)
        {
            try
            {
                if (_data.Table.Columns.Contains(name))
                {
                    _data[name] = (value == null) ? DBNull.Value : value;
                }
            }
            catch {}
        }
 
        #region INotifyPropertyChanged Members
 
        public event PropertyChangedEventHandler PropertyChanged;
 
        protected virtual void OnPropertyChanged(string propertyName)
        {
            if (this.PropertyChanged != null)
                this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
        }
 
        #endregion // INotifyPropertyChanged Members
    }
Vlad
Telerik team
 answered on 18 Jan 2011
21 answers
425 views
Hi..
I'm exporting to excel... it exports fine...
But when I open the file I get an MS Error

THE FILE YOU ARE TRYING TO OPEN TEST.XLS IS IN A DIFFERANT FORMAT THAN SPECIFIED BY THE FILE EXTENSION....

Any ideas?   How I can I get rid of this msg?
thanks again
Vlad
Telerik team
 answered on 18 Jan 2011
1 answer
71 views
We are using telerik control with theme manager including GridView and we would like to know how to reuse telerik style.

I.e, we want to style standard window Border with GridViewHeaderRowBorder style, without extracting all of the styles.

Is it possible to retrive style using code?
I used Snoope and foun the element name I want to reuse; PART_GridViewHeaderRowBorder.

Thanks Tom
Vlad
Telerik team
 answered on 18 Jan 2011
1 answer
62 views
I'm using WPF controls version 2010.3.1110.40 for .NET 4 with Visual Studio 2010.

Program Definition: I have 3 or more series to plot and which one to plot is depends on what is checked. In my real program, all my series have different units, so I put them all on different Y-axes (AdditionalYAxes).

Root of all evil: I was not able to get white and gray stripes on the chart area without having one of the series associated with the default Y-axis...

=====
Solution 1: Keep all series where they are and try to find a way to get the stripes to show up. I updated to 2010.3.1110.40 in the process of trying to get this working. I still can't get the stripe... I also want to stay in the lates version.
Problem 1:
Updating from an earlier version of WPF controls, I picked up an undefined default Y-axis.
Attached: ChartIssue1.jpg
=====
Solution 2: 
Using 2010.3.1110.40, I select one of the series depending on which one(s) are picked, and associate it with the default Y-axis. White and gray stripes are showing up now. 
Problem 2: The axis TITLE for the default Y-axis is not changing!!! If commented code below is uncommented, X-axis title changes as the series selected changes, but not the Y-axis...

AxisY temp = new AxisY();
temp = radChart1.DefaultView.ChartArea.AdditionalYAxes[0];
radChart1.DefaultView.ChartArea.AdditionalYAxes.RemoveAt(0);
radChart1.DefaultView.ChartArea.AxisY = temp;
//radChart1.DefaultView.ChartArea.AxisX.Title = temp.Title;


Attached: ChartIssue2.jpg.
=====

I have solutions as well. I can send them if requested.
I would like to get stripes to work. If not, I don't want the default Y-axis...

Thanks for your time,

Kadem
Yavor
Telerik team
 answered on 18 Jan 2011
4 answers
86 views
Hi,
the docking control has a big gap between the container and content.. is there a way to remove the gap? or is this an aware bugs?
thanks
ronald
Top achievements
Rank 1
 answered on 17 Jan 2011
4 answers
124 views
When I open an PrintPreviewDialog all works well, but...

...when I change the column-order by dragging a column to an other place, opening of the Printpreview gives an:
System.ArgumentOutOfRangeException: GridViewDataControl_ColumnDisplayIndexOutOfRange.

The same happens in your "RadControls for WPF-Demo":  GridView/WPF/Printing:
Change the column-order and click "printpreview".
Paul
Top achievements
Rank 1
 answered on 17 Jan 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?