Telerik Forums
UI for WPF Forum
1 answer
242 views
I have a WPF desktop app. I have a tree view. I load the tree view using an observable collection. I want to select the topmost node of the tree by default, to start with. But SelectedItem, SelectedValue etc seem to be readonly. Is it possible to select the top node of the tree when I start up?

Thanks
Bobi
Telerik team
 answered on 22 Apr 2009
1 answer
170 views
Hi,

I've on a window a RadGridView using themed scollbar. My window, richtextbox, textbox, ... use wpf base scrollbars. The look and feel of my application isn't consistent. How can I apply the style of the telerik scrollbars to other scrollbars of my application?

Thanks,

Xavier.
Bobi
Telerik team
 answered on 22 Apr 2009
2 answers
273 views
Hello,

I would like to know what events make the grid decide to update the groups and recalculate the aggregate values?  Is there any way to force the grid to recalculate the groups and aggregate values?

In my app I have a grid that is bound to objects that implement INotifyPropertyChanged.  If I have a group setup in the grid and I use the grid to edit the value that the grid is being grouped on, the row moves to the appropriate group when the values changes, which is good.  However, I also have a form outside the grid that lets you edit the currently selected item.  When I change a value in the form that the grid is grouping on, the row that was edited doesn't move to a new group.  Any idea why this is happening?

What I need to be able to do is to use a form outside the grid to edit the grid's selected item and have the grid move the row to a new group if the value that's being group by has changed.

Some additional, potentially useful info:
My objects store Key/Value pairs that are accessible through an indexed property (i.e. myObject["FieldName"]
I setup by column bindings like this: DataMemberBinding = new Binding("[FieldName]")
Whenever a property on my object changes, I raise the PropertyChangedEvent with string.Empty for the property name

Thanks,

Joel
JP
Top achievements
Rank 1
 answered on 21 Apr 2009
1 answer
238 views
We have a grid that fills an area in the middle of a window.  As you add rows to it, the grid grows vertically until it has taken all the space.  At that point when a row is added to it, a scrollbar appears and the newly added row is off page.  We need the grid to scroll automatically downward as each new row is added.  I tried your Scrolling Programmitcally example, but the scroll bar does not follow down the grid.  How do you progammtically scroll to the bottom?

Thanks,

Doug
Milan
Telerik team
 answered on 21 Apr 2009
7 answers
249 views
Hello,

I am facing a problem on the Treeview,
The scenario is this that the I am trying to search an item(Business Object), with the help of  trvNetworkView.ContainerFromItemRecursive(obj)
but the tree is OnDemand Load enabled so I do it in the code behind and then try to expand the treeview so that i can search the given item in treeview, in the very next line.

trvNetworkView.BringIntoView();
trvNetwork.LoadNode(trvNetworkView.Items[0] );
trvNetwork.LoadNode(trvNetworkView.Items[0]).IsExpanded = true;
DObject parentObject = GetObject(selObj.ParentObjectID);
//LoadNode performs the LoadOnDemand
trvNetwork.LoadNode(parentObject);
RadTreeViewItem treeItem = ((RadTreeViewItem)trvNetworkView.ContainerFromItemRecursive(parentObject));
treeItem.IsSelected = true;
treeItem.IsExpanded = true;
treeItem.BringIntoView();

foreach (DObject item in parentObject.Childrens)
 {
           if(item.ObjectID == selObj.ObjectID)
             {
                      itemFound = true;
                    ((RadTreeViewItem)trvNetworkView.ContainerFromItemRecursive(item)).IsSelected = true;
                       break;
               }
   }


but in the Foreach loop i always get the ((RadTreeViewItem)trvNetworkView.ContainerFromItemRecursive(item)) as null.

Can you please help

Bobi
Telerik team
 answered on 21 Apr 2009
4 answers
124 views
Hello,

I am looking for a sample how can I use the WPF controls with the 3rd party themes ?

We are thinking about using the nukeation themes with telerik controls. Is this possible ?


Roland
Top achievements
Rank 1
 answered on 21 Apr 2009
1 answer
98 views
Hi guys, can the custom row and cell layout be configured in such a way that multiple rows can be shown side by side if there is enough space? - e.g. dynamically wrap as many that can be fitted on the space available?

regards

Kalin Milanov
Telerik team
 answered on 21 Apr 2009
8 answers
263 views
I decided to swap out my WPF ListBox with a radGridView and I can't figure something out.  Currently when I click on an item in my listbox, I grab the ID out of it so I can work with it:

MyCustomObject obj = ((myCustomObject) myListBox.SelectedItem).objectID;

How do I do the same thing with a radGridView?  There is no SelectedItem.  There is a SelectedRecord and CurrentRecord, but I haven't been able to cast those to my custom object.  

Thanks,
Scott
Vlad
Telerik team
 answered on 21 Apr 2009
1 answer
267 views

I wanted to do a collapse panel from left to right like you guys have in your quickstart sample, but the code for it seems to be in Example.Quickstart assembly.

Is there anywhere I can find an example of how to do this?

Valentin.Stoychev
Telerik team
 answered on 20 Apr 2009
1 answer
441 views
I purchased the software last night and attempted an install.
I have just set up software on a new PC, with Visual Studio 2005 and a lot of other software.
The RAD Control for WPF installs, but does not install clean.
I uninstalled it, then installed and received the same error. 
It appears to be at the end of setup.
If I open the application I get the error.

The error is:
The type initializer for 'System Windows Media FontFamily' threw an exception.
I tried the Telerik Knowledge Base, but it could find no reference.
Any help appreciated.
Brian
Valentin.Stoychev
Telerik team
 answered on 20 Apr 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?