Telerik Forums
UI for WPF Forum
1 answer
112 views
    public class Subclass : RadTreeViewItem 
    { 
    } 
<telerik:RadTreeView> 
        <local:Subclass Header="Group -1"/> 
</telerik:RadTreeView> 
Everything compiles, runs, I just see no Item in the TreeView...I shouldn't have to override the metadata for the DefaultStyleKey should I; it should just inherit by default. 
Bobi
Telerik team
 answered on 21 Jul 2009
8 answers
158 views
Not sure if this is supposed to happen but....

I have set the validation mode to "row" and created the even handler for grdviewRas_RowEditEnded

everything seems fine as I create a new row and begin entering data however one of the columns is a date. When I click on the date picker and select a date the RowEditEnded event fire even though I still need to enter more data.

Is this something I am doing wrong?

Cheers,
Kevin. 
Rossen Hristov
Telerik team
 answered on 21 Jul 2009
4 answers
95 views
Hi

I bound a RadPanelBar to a object structure like this:
- MyObject1.1 
    - MyObject2.1 
    - MyObject2.2 
- MyObject1.2 
- MyObject1.3 
    - MyObject2.3 
    - MyObject2.4 

it seems now, that empty PanelBarItems does not expand out of the box. so if I click on the header of the item "MyObject1.2" it does not expand nor the currently expanded one does collapse. I already figured out that i can catch the event "Selected" of the RadPanelBar to expand the item by myself:
private void RadPanelBar_Selected(object sender, RadRoutedEventArgs e) { 
    RadPanelBarItem selItem = e.OriginalSource as RadPanelBarItem; 
 
    if (selItem.Items.Count == 0) 
        selItem.IsExpanded = true

this works quite well, except that I am not able to collapse the last selected item. So my questions are:
- is there a better way to expand empty items?
- how can i collapse the items manually?

thanks
Simon
Simon Stahl
Top achievements
Rank 1
 answered on 20 Jul 2009
3 answers
65 views
Do the WPF controls support UI Automation? I see mention of it for Silverlight, but not WPF. Thanks.

Greg
Greg
Top achievements
Rank 1
 answered on 20 Jul 2009
1 answer
103 views


do you have any samples of wpf charts where the data comes from a sql data using linq ?

thanks,

martin
Vladimir Milev
Telerik team
 answered on 20 Jul 2009
2 answers
109 views
Hi,

I am trying to upgrade my project to 2009 Q2.

I removed all the refernces to the previous version 2009 Q1 and removed the toolbar items.
I them added the Q2 binaries but when I compile I get the following error:

Error 3 Unknown build error, 'Cannot resolve dependency to assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.'  CoachTech

What am I doing wrong?

Cheers,
Kevin. 
Kevin
Top achievements
Rank 1
 answered on 20 Jul 2009
3 answers
84 views
I have a situation where I have a RadDatePicker situated above another control.  I click on the Calendar button to display the Calendar, select a date, and then the MouseUp event is triggered on the control that is under the Calendar.  This is because the Calendar disappears on MouseDown rather than MouseUp.  Is there a way to work around this issue?  If not, can this be considered a feature request?
Kaloyan
Telerik team
 answered on 20 Jul 2009
4 answers
124 views
Hi,

If I try to select an item programmatically, and that item is in a collapsed group, an IndexOutOfRange exception is thrown. Is there any other way of avoiding this besides expanding all groups?

Thanks in advance!
JDB
Top achievements
Rank 1
 answered on 20 Jul 2009
1 answer
208 views
Would the TreeView be a good control to display and edit a hierarchical bulleted list like what MS Word does?
See picture
http://www.java2s.com/Tutorial/Microsoft-Office-Word-2007Images/Create_Multilevel_Bulleted_Or_Numbered_List___Press_Enter.PNG

From a display side, hiding the treeview lines and adding bullet points to every node should solve it. Is there a way to let editing happen without having to press the F2 key.

Thanks,
Ash
Valentin.Stoychev
Telerik team
 answered on 20 Jul 2009
2 answers
42 views
I scraped the RadGridView style in expression blend, and then massaged it so that it had a titlebar that itself contains a toolbar.  In order to set the properties for those new elements, I derived a new class from RadGridView and added attached properties.  All of this seems to work well.

HOWEVER

When we instantiate the custom class, our existing databinding doesn't work.  I'm not aware of anythign I might have done to break this, but at the same time, I don't know exactly how to go about determining what's wrong.  I'm in the process of creating a sample project so you can see what I'm doing (in case you need it).

John Simmons
Top achievements
Rank 1
 answered on 17 Jul 2009
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?