Telerik Forums
UI for WPF Forum
1 answer
143 views
Hi,
I have docking panes and would like to resize the left panel panel when I resize the form. Now, it's only possible to resize the middle pane.

How can I accchieve that ?

kind regards,

Lorenz
Miroslav Nedyalkov
Telerik team
 answered on 28 Dec 2009
1 answer
73 views
Hello,

I'm using telerik 2008 (Version : 2008.3.1217.35, and I can't upgrade in telerik 2009 Q3), when I click on the Clear Filter function in filter expression, if my column contains no elements, I have an ArgumentNullException.

How can I catch this exception, or avoid it.

Thanks
Rossen Hristov
Telerik team
 answered on 28 Dec 2009
2 answers
287 views
I'd like to be able to select all content of the InputBox of a DatePicker, instead of simply putting the caret at the beggining. Is this possible ?

Thanks,

Ivan
Boyan
Telerik team
 answered on 28 Dec 2009
1 answer
233 views
hi,

I have the following wpf
<Telerik:RadGridView   
            Margin="5" Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="1"   
            SelectionMode="Single" 
            ItemsSource="{Binding Mode=TwoWay, Path=CurrentCOAContext.Values, UpdateSourceTrigger=PropertyChanged}" 
            SelectedItem="{Binding Mode=TwoWay, Path=CurrentCOAContext.Values.CurrentItem, UpdateSourceTrigger=PropertyChanged}" 
            CurrentItem="{Binding Mode=TwoWay, Path=CurrentCOAContext.Values.CurrentItem, UpdateSourceTrigger=PropertyChanged}" 
            x:Name="GridViewHistory"   
            AutoGenerateColumns="False"
In this code I am expectinting to be visually updated the grid with the value of CurrentItem. But unfortunately it is not shows the row indicator to that row nor the selection. I tried to bind SelectedItem and CurrentItem members independently, but resulting same.

Are there any way to do this ? Because I am fully concentrated to update the visuals with the underlying data (I think that's the best practice of WPF), so I don't want to break this rule with extraordinary codes.

(My version is 2009.3.1208)

thanks,
dogu
Rossen Hristov
Telerik team
 answered on 28 Dec 2009
1 answer
94 views
Hello all

We used Q1 radcontrols.  In RadGridView 
while i click on GridView Header it call mouse bouble click event
I want to handle mouse double click event when click on Datagrid header


Thanks in advance


Pavel Pavlov
Telerik team
 answered on 28 Dec 2009
5 answers
141 views
Hi

I have a RadTreeView with several items, as shown here:

http://tinypic.com/view.php?pic=29m6sxs&s=5

Is there a way to change the RadTreeViewItem's highlighting yellow selection bar to not span across until the end of the tree view, but to end when where the tree view item's label ends?

The TreeView may get quite wide so I don't want the selection highlight to span until the rightmost portion of it, so ideally it would span from the beginning of the item until the end of the item.

Many thanks
Bobi
Telerik team
 answered on 28 Dec 2009
3 answers
599 views
Hello,

I was wondering if you could help me out with styling the radpane header. I'm actually just looking to change the background color, contextmenu color, and the button colors. I've been playing with it a bit in blend but cant seem to get it working right. when i change the style of the paneheader it throws an error "Type reference cannot find public type named 'RadDockingCommands'"

any help on this would be great
thanks,
~Boots
Miroslav Nedyalkov
Telerik team
 answered on 28 Dec 2009
5 answers
168 views
Hi,
I would like to know the correct way to download and Update my Q3 2009 version of WPF-Controls with the Q3 2009 SP1 (version 3.2.9.1211).
I've to solve the problem with Style of the Scheduler's Navigation Header ...

Thank's in advance
Michele
Nikolay
Telerik team
 answered on 28 Dec 2009
1 answer
55 views
Hello,

Just updated to version 2009.3.1208.35. Found a problem, well it worked with the last version. When i set the RadCarouselPannel ItemsPerPage to 7 and only display 6 items i need to scroll the items in order to see them. on the last version i didnt need to. I was curious if this is expected and i need to code around this?

here is a quick example
<Window  
    x:Class="WpfApplication1.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" 
    Title="Window1"
    <Grid> 
        <telerik:RadCarousel x:Name="RadCaoursel1"
            <telerik:RadCarousel.ItemsPanel> 
                <ItemsPanelTemplate> 
                    <telerik:RadCarouselPanel 
                            ItemsPerPage="7" /> 
                </ItemsPanelTemplate> 
            </telerik:RadCarousel.ItemsPanel> 
        </telerik:RadCarousel> 
    </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.ObjectModel; 
 
namespace WpfApplication1 
    /// <summary> 
    /// Interaction logic for Window1.xaml 
    /// </summary> 
    public partial class Window1 : Window 
    { 
        public Window1() 
        { 
            InitializeComponent(); 
 
            ObservableCollection<CarouselExample> items = new ObservableCollection<CarouselExample>(); 
 
            for (int i = 0; i < 6; i++) 
            { 
                items.Add(new CarouselExample() { Name = "Test" + i }); 
            } 
            this.RadCaoursel1.ItemsSource = items
        } 
    } 
 
    public class CarouselExample 
    { 
        public String Name { get; set; } 
    } 
 

thanks much,
~Boots
Milan
Telerik team
 answered on 25 Dec 2009
2 answers
447 views
Hello,
    When trying to delete specific rows from the WPF grid I get this error when I execute this command:

grid_name.Items.RemoveAt(<position of row to delete>);

The error is: Operation is not valid while ItemsSource is in use. Access and modify elements with ItemsControl.ItemsSource instead.

When I try deleting row 2 or greater from the datatable I get an error message saying that I've tried deleting an entry in the datatable that does not exist. Essentially an out of bounds error. Strangely enough I can delete the first row.

If I break the association between the grid and the datatable by doing this I can delete whatever row I want.

grid_name.ItemsSource = null;
datatable_name.Rows.RemoveAt(<position of row to delete>);
grid_name.ItemsSource = dataset_name.Tables[0].DefaultView; // I only have 1 datatable in the dataset.

Is this the correct way to delete stuff from the grid?
Jorge Gonzalez
Top achievements
Rank 1
 answered on 24 Dec 2009
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?