Telerik Forums
UI for WPF Forum
0 answers
79 views
Hai

Am having my own custom data like some unique names (A,B,C,D.....)
Xaxis is datetime, no problem in that.

i want to plot my unique names in Yaxis. how to do this.
i set autorange to false and tried many ways to plot my names in  Yaxis, but i cannot,

how to do this????
dCODE
Top achievements
Rank 1
 asked on 03 May 2010
2 answers
110 views
There's a bug w/ Q1 2010 (not sure about latest internal build) with SelectionMode = Extended in the GridView.  If you try to drag-select with your mouse it doesn't get the selection right (it starts selecting rows far below what you really are trying to select). 

You can reproduce this error in your demo app in the "Selection" demo for GridView by changing Selection Mode to Extended.  Do that, click a cell and drag your mouse down.
Dean
Top achievements
Rank 1
 answered on 30 Apr 2010
3 answers
218 views
We have a treeView with data populated programmatically using:
ObservableCollection<MyInterface> items = new ObservableCollection<MyInterface>(); 
this.myTreeView.ItemsSource = items; 
Now we would like to select item from different "external" events on this way:
RadTreeViewItem rtvi = this.myTreeView.ContainerFromItemRecursive(currentItem); 
rtvi.IsSelected = true
Actually the rtvi object seems to be found and correct....but we don't see any changes on the controls.

Any way to do it with that approach?
Thanxs.
Alex
Tina Stancheva
Telerik team
 answered on 30 Apr 2010
1 answer
49 views
There seems to be new UI changes in the current build. A black border now appears around the selected bar item that wasn't there in previous releases. Any suggestions on how to get rid of this border? Please see attached screenshot. Thanks.
Tina Stancheva
Telerik team
 answered on 30 Apr 2010
1 answer
81 views
Is there an ordinary radEditBox...?
Maya
Telerik team
 answered on 30 Apr 2010
2 answers
116 views
Hello,

Just updated my controls to 2010.1.402.1. We were going off of the GridView/Hierarchy/CustomHierarchy example. in the DataLoading method if we set ShowColumnFooters = true then none of the columns are displayed. We did try it with a DataTemplate in xaml instead and that seemed to work just fine. Any ideas on how to display the column footers without setting it all up in xaml?

<Window  
    x:Class="RadGridViewTest.Window1" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" 
    xmlns:local="clr-namespace:RadGridViewTest" 
    Title="Window1"
    <Grid> 
        <telerik:RadGridView  
            x:Name="rgv"  
            AutoGenerateColumns="False" DataLoading="RadGridView_DataLoading"
            <telerik:RadGridView.Columns> 
                <telerik:GridViewDataColumn UniqueName="Column1" Header="Column 1" /> 
                <telerik:GridViewDataColumn UniqueName="Column2" Header="Column 2" /> 
            </telerik:RadGridView.Columns> 
        </telerik:RadGridView> 
    </Grid> 
</Window> 

using System; 
using System.Collections.Generic; 
using System.Linq; 
using System.Text; 
using System.Windows; 
using System.Windows.Controls; 
using System.Windows.Data; 
using System.Windows.Documents; 
using System.Windows.Input; 
using System.Windows.Media; 
using System.Windows.Media.Imaging; 
using System.Windows.Navigation; 
using System.Windows.Shapes; 
using System.Collections; 
using System.Collections.ObjectModel; 
using Telerik.Windows.Controls.GridView; 
using Telerik.Windows.Data; 
using Telerik.Windows.Controls; 
 
namespace RadGridViewTest 
    /// <summary> 
    /// Interaction logic for Window1.xaml 
    /// </summary> 
    public partial class Window1 : Window 
    { 
        public Window1() 
        { 
            InitializeComponent(); 
 
            ObservableCollection<Column> Columns = new ObservableCollection<Column>(); 
            ObservableCollection<ChildGridColumn> ChildGridColumns = new ObservableCollection<ChildGridColumn>(); 
 
            for (int i = 0; i < 100; i++) 
                ChildGridColumns.Add(new ChildGridColumn(i)); 
 
            for (int i = 0; i < 100; i++) 
                Columns.Add(new Column(i, i, ChildGridColumns)); 
 
            this.rgv.ItemsSource = Columns; 
 
 
            GridViewTableDefinition gvtd = new GridViewTableDefinition(); 
            gvtd.Relation = new PropertyRelation("ChildGridColumns"); 
            this.rgv.ChildTableDefinitions.Add(gvtd); 
        } 
 
        private void RadGridView_DataLoading(object sender, Telerik.Windows.Controls.GridView.GridViewDataLoadingEventArgs e) 
        { 
            GridViewDataControl dataControl = (GridViewDataControl)sender; 
            if (dataControl.ParentRow != null
            { 
                dataControl.ShowColumnFooters = true
 
                dataControl.AutoGenerateColumns = false
                dataControl.Columns.Add(new Telerik.Windows.Controls.GridViewDataColumn() 
                { 
                    UniqueName = "ChildColumn1"
                    Header = "Column 1" 
                }); 
 
                dataControl.Columns.Add(new Telerik.Windows.Controls.GridViewDataColumn() 
                { 
                    UniqueName = "ChildColumn2"
                    Header = "Column 2" 
                }); 
 
                dataControl.Columns.Add(new Telerik.Windows.Controls.GridViewDataColumn() 
                { 
                    UniqueName = "ChildColumn3"
                    Header = "Column 3" 
                }); 
            } 
        } 
    } 
 
    public class Column 
    { 
        public Column(int Column1, int Column2, ObservableCollection<ChildGridColumn> ChildGridColumns) 
        { 
            this.Column1 = Column1; 
            this.Column2 = Column2; 
            this.ChildGridColumns = ChildGridColumns; 
        } 
 
        public int Column1 { getset; } 
        public int Column2 { getset; } 
 
        public ObservableCollection<ChildGridColumn> ChildGridColumns { getset; } 
        
    } 
 
    public class ChildGridColumn 
    { 
        public ChildGridColumn(int Num) 
        { 
            this.ChildColumn1 = Num; 
            this.ChildColumn2 = Num; 
            this.ChildColumn3 = Num; 
        } 
        public int ChildColumn1 { getset; } 
        public int ChildColumn2 { getset; } 
        public int ChildColumn3 { getset; } 
    } 
 

Thanks Much,
~Boots
Boots
Top achievements
Rank 1
 answered on 30 Apr 2010
1 answer
112 views
Hi Telerik Team,

I'm binding the Grid with different Item Sources some of which contains Child Table Definition and some don't.

When switching between the two item sources, the grid view still displays a blank column for the results which does not contains a child table definition. I cleared the Child Table definition before binding the item source and it only hide the column in the item rows not in the header. Please see the attached snapshot on this. I even tried removing the  child table definition before binding the non-child definition item source but of no use.

cheers...
NK
Vlad
Telerik team
 answered on 30 Apr 2010
1 answer
419 views

 

 

I am trying to bind a IsChecked property of a RadMenuItem and does not fire the set event on my ViewModel property. When I had it set to a regular MenuItem, this was working. Is this not supported in the RadMenuItem?

DOES NOT WORK:

<telerikNavigation:RadMenuItem x:Name="ShowSummary" 
Header="Value Summary" 
IsChecked="{Binding Path=IsSummaryChecked}" 
IsCheckable="True" /> 
 
 

 

WORKS:

 

<telerikNavigation:RadMenuItem x:Name="ShowSummary" 
Header="Value Summary" 
IsChecked="{Binding Path=IsSummaryChecked}" 
IsCheckable="True" /> 
 
 

 

 

 

 

 

 

Hristo
Telerik team
 answered on 30 Apr 2010
2 answers
113 views
Hello,

We were using the Q3 2009 release and recently upgraded to the Q1 2010 SP1 release.  It appears the first row in the RadGridView is now automatically selected.  How can I set the grid to appear as nothing is selected when the application loads?
Chris Andrews
Top achievements
Rank 1
 answered on 30 Apr 2010
1 answer
109 views
Hi,

I have an ObservableCollection of objects (which implements INotifyPropertyChanging), binded to a PieChart.
If I increase/decrease values in my objects (responding to some input controls), Pie shouldn't reflect that by increasing corespondend slices (perhaps animating them)?
I can't get a simple example like this working and I want to know what's the default behaviour.

Thanks a lot!
Velin
Telerik team
 answered on 30 Apr 2010
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
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
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?