Telerik Forums
UI for WPF Forum
4 answers
244 views
I am using the TreeView in ComboBox from Valeri
http://blogs.telerik.com/valerihristov/posts/09-08-27/treeview_in_combobox_take_3_silverlight_3_wpf_and_radcontrols.aspx

How can I set the selected item programmatically?

I tried
myTreeViewCombo.SelectedTreeViewItem = someItem
and
myTreeViewCombo.SelectedValue = someItem

The item seems to get selected, but the selection does not display in the ComboBox.
Peter Meinl
Top achievements
Rank 1
 answered on 04 Mar 2010
1 answer
75 views
I seem to be experiencing some performance issues mousing around the screen that i did not have with the 2009.3.1314 build. I'm using an OutlookBar, PanelBar and the DockingControl and mousing over and in and out of them seems to make my cursor jump and not smooth like it was before. I'm having no issues using the controls themselves, it just seems to be navigating around the screen that seems to be jumpy.

Miroslav Nedyalkov
Telerik team
 answered on 04 Mar 2010
5 answers
99 views

When binding the GridView to a LINQ result specifying entity names ("c" in the example below) without attributes the GridView displays their type name only and does not autogenerate colummns for their attributes:

Dim q = From c In qc Join s In qs On c.CustomerID Equals s.CustomerID  
 Select New With {c, s.Size}  
DataGrid1.ItemsSource = q.ToList  
 
does not autocreate the grid columns for "c", it displays the type name.  
 

The grid displays:
WpsApp1.NorthwindService.Customers | small
WpsApp1.NorthwindService.Customers | big

How can I make the GridView autogenerate columns for entities in "Select New {}"?

Milan
Telerik team
 answered on 04 Mar 2010
2 answers
145 views
I want to display an image next to the header. To achieve this I've tried to add a StackPanel to the RadPane.Header:

 

 

 

 
                  <t_dock:RadPane> 
                     <t_dock:RadPane.Header> 
                        <StackPanel Orientation="Horizontal">  
                           <Image Width="16" Source="Images/sample.png" /> 
                           <Label>Sample</Label> 
                        </StackPanel> 
                     </t_dock:RadPane.Header> 
 


This works well. However, the pane now displays "System.Windows.Controls.StackPanel" in the top area. How can I change this to display the label "Sample" instead?

 

Konstantina
Telerik team
 answered on 04 Mar 2010
3 answers
199 views
Hi,
Currently we are using  RadTreeListView . Can anyone give me its style  
Thanks in advance

 

Miroslav
Telerik team
 answered on 04 Mar 2010
3 answers
208 views
we are using telerik sp2 version but we have not get any dlls related to telerik for theming such as telerik.windows.themes.officeblack.
what we can do.please help me in this issue.
Pana
Telerik team
 answered on 04 Mar 2010
1 answer
87 views
Hi team

Can we define styles and themes for all the WPF controls in one file and applying them to whole application like we have  CSS file in .aspx .
Hristo
Telerik team
 answered on 04 Mar 2010
3 answers
123 views
hi,

first let me complement your control, it looks good and it's easy to use and code.

i want to try and do something with it, and i don't really know where to begin.
when Collapsed i want the expander to look different and be a little bit shown and put some buttons on it with icons,
something like the example i've attached (in both pictures the expander is Expended but you get the idea i think)

i thought about using its' events (PreviewCollapsed?) or something like that but i wonder if there is a better way.

can you help in some info on how to accomplish this?

thanks in advance.

Lior.

Ivan
Telerik team
 answered on 04 Mar 2010
1 answer
198 views
Hi, im trying to bind a property to a templated datacolumn, but i dont get anything.

The radgridview is binding to a simple dataset.

<
Window x:Class="LogViewer.MainWindow" 
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        Title="MainWindow" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"   
        Drop="Window_Drop" AllowDrop="True" 
        xmlns:local="clr-namespace:LogViewer">  
    <Grid> 
        <Grid.Resources> 
            <Style x:Key="customCell" TargetType="telerik:GridViewCell">  
                <Setter Property="Template">  
                    <Setter.Value> 
                        <ControlTemplate TargetType="telerik:GridViewCell">  
                            <TextBlock Text="{Binding type1}" />
                        </ControlTemplate> 
                    </Setter.Value> 
                </Setter> 
            </Style> 
        </Grid.Resources> 
        <telerik:RadGridView Name="radGridView1" AutoGenerateColumns="True" telerik:StyleManager.Theme="Vista">  
            <telerik:RadGridView.Columns> 
                <telerik:GridViewDataColumn Header="" TextAlignment="Center" 
                                            CellStyle="{StaticResource customCell}" IsSortable="False" Width="76" /> 
            </telerik:RadGridView.Columns> 
        </telerik:RadGridView> 
    </Grid> 
</Window> 
Rossen Hristov
Telerik team
 answered on 04 Mar 2010
3 answers
98 views
Hello,

Is it possible to show column footers for hierarchical data?

Thanks for advance,
Tatu
Vlad
Telerik team
 answered on 04 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?