Telerik Forums
UI for WPF Forum
10 answers
158 views
I am wondering if this is possible.  I am binding a self-referencing table to a treeview.  One of the columns is SortOrder.  The users have the ability of moving the items in the treeview up and down within a parent node, or moved to another node and up and down in that one.  When the user has made all the moves they want and click save, what has to be saved then is what order the nodes are in under each node.  So for example it should be saved like:

NFL
- Name: AFC East SortOrder:1
-- Name: Patriots SortOrder:1
-- Name: Jets SortOrder:2
- Name: AFC South SortOrder: 2
-- Name: Colts SortOrder: 1
-- Name: Titans SortOrder: 2

I was thinking of looping through each node and checking maybe the child index and saving that.  Not sure if that would work.  Ideally, I would love to be able to Bind the SortOrder to like the child index so it would automatically change if it was moved.
Tihomir Petkov
Telerik team
 answered on 30 Mar 2010
5 answers
97 views

( I re-post correctly here my message that I've already posted in the scheduler-section - it was a mistake)

Hi everybody,
I upgraded today my project from Q3-2009 to Q1-2010 and I've found an error opening Windows and UserControl into the VS2008 editor: (i'm on a Windows7 64 bit)

Cannot create instance of 'GenericTheme' defined in assembly 'Microsoft.Windows.Design.Interaction, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Exception has been thrown by the target of an invocation. 

In expression Blend it's OK ...

Is it a problem of the new version?
Is there a way to solve it?

thanks in advance
Michele

Milan
Telerik team
 answered on 30 Mar 2010
1 answer
89 views
Is it possible to set focus to the beginning of the ComboBox displaying text? What I want is the result shown at pict2.jpg(attached) instead of the pict1.jpg(also attached). The problem with pict1.jpg is that when I select an item, the focus goes to the end of my string instead of going to start. Does the control support this?
Hristo
Telerik team
 answered on 30 Mar 2010
1 answer
114 views
Can you tell me if this is possible with your chart control.  I need to build a geological chart.  I have a couple of images, but stratcolumn is more what I am trying to accomplish.  Essentially, it is like three or more charts, side by side, all based on the same scale.  So you have a Y scale which represents millions of years, then a type of stack chart where you have a series of polygons of different height, width, and colors; then two point charts.  But they all act as one unit for zooming, scaling, panning, etc.  Each chart would have its own seperate datasource.

In looking at your charts, I see things simliar to the stacked Polygon chart I need, but not exactly.  But there can also be gaps as well,  Plus, not with Height, Width being variable.  The line charts are easy as you have them.  It is just a matter of how would I display these three together as almost one chart for zooming purposes, exporting, etc.

Any suggestions or maybe it just can't do it? 
Dwight
Telerik team
 answered on 30 Mar 2010
7 answers
277 views
When I install the Q1 2010 WPF suite, the first time I start Visual Studio, I get an error. The second time there is no error but the theme's are not installed and it is not possible to use the designerarea. It constantly shows an error that it cant find the theme.
Stefan Kamphuis
Top achievements
Rank 2
 answered on 29 Mar 2010
2 answers
104 views
Adding a new row at a Grid has a little bug it seems like, if you use the insert row.

How to reproduce it:
- Set ShowInsertRow="True" at the RadGridView
- Start setting some values at the row (don't add the data by pressing enter or reaching the end of line!)
- Click somewhere else eg. another row.
- Try to finish adding the data
- The row won't disappear and let you add another row
 
The important step is that you leave the insert row before the data gets added by pressing somewhere else.
Adrian Weidermann
Top achievements
Rank 1
 answered on 29 Mar 2010
1 answer
141 views
I have tried the following products with Visual Studio 2010 for memory and performance profiling with WPF.

JetBrains dotTrace 3.1
red-gate Ants Memory Profiler 5

Both have crashed and have not allowed me to actually get snapshots of the memory to determine if me and my dev team are releasing all events and references.

Does anyone have any experience with products that work well for memory profiling?

Thanks,
Ron

Boyan
Telerik team
 answered on 29 Mar 2010
2 answers
104 views
I described the issue in this blog post.
   http://markjerde.blogspot.com/2010/03/radwindow-multimonitor-issue.html

Live Writer makes it so easy to put screenshots & text together.  ;-)

Mark
Mark Jerde
Top achievements
Rank 1
 answered on 29 Mar 2010
3 answers
118 views
Hi, does you guy have some Pivot table Grid in WPF (or silverlight ) available ?

Is it something coming soon ?

And if it does exist, what are the performance capabilities of this grid in "pivot table" mode ?
Tgaud
Top achievements
Rank 1
 answered on 29 Mar 2010
1 answer
70 views
I tried to place various UIElements at the Grid header and as long as i don't want them to take the whole width of the column everything is alright. If i want them to stretch for example i get some weird issues. The element is always at autosize unless i set a specified size. So my next step was to try and bind it to the width of the column itself. That didn't work either, the size is updated to the right value but the UIElement is only shown at autosize. The workaround i found was to just set the size to 1000 for example that way it always takes the whole space (up to width 1000 of course).

Or did i just miss something at my code ? ;)

                <Controls:GridViewDataColumn x:Name="IdDefinitionGroup" UniqueName="IdDefinitionGroup" Width="100" IsSortable="True" IsFilterable="True"  
                                             DataMemberBinding="{Binding IdDefinitionGroup, ValidatesOnDataErrors=True, ValidatesOnExceptions=True, UpdateSourceTrigger=PropertyChanged}"
                    <Controls:GridViewColumn.Header> 
                        <Grid Width="{Binding ElementName=IdDefinitionGoup, Path=Width, Mode=TwoWay}"
                            <TextBlock Foreground="#15428b" HorizontalAlignment="Stretch" 
                                       Text="Id" ToolTip="Test ToolTip"/> 
                        </Grid> 
                    </Controls:GridViewColumn.Header> 
                </Controls:GridViewDataColumn> 



Stefan Dobrev
Telerik team
 answered on 29 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?