Telerik Forums
UI for WPF Forum
1 answer
104 views
I am setting a image as a page book. But i need manipulate this image , like , zoom in , zoom out , crop part of that , copy a peace , so . how i can do it !
Valentin.Stoychev
Telerik team
 answered on 03 May 2010
1 answer
99 views
Hello,

I have a radgridview and some other buttons in a page, so i disabled tabstop to the grid, but when i hit tab it still focus the grid header.

Any clue?

Thanks
Nedyalko Nikolov
Telerik team
 answered on 03 May 2010
0 answers
63 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
103 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
199 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
45 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
72 views
Is there an ordinary radEditBox...?
Maya
Telerik team
 answered on 30 Apr 2010
2 answers
107 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
102 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
388 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
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?