Telerik Forums
UI for WPF Forum
7 answers
252 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
138 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
101 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
268 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
279 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
453 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
1 answer
89 views
Hi~ everyone.

In my work, most of client want to copy and paste from excel to gridview or from gridview to excel.
In this case, they want to select multi blocked cells.
Telerik supports only multi rows selection.
But in that case, it does not support to copy multi cells data to clipboard.

Before I decide to buy this, please support multi blocked cells selection and multi data copies.
Pavel Pavlov
Telerik team
 answered on 17 Apr 2009
2 answers
89 views
When the RowEditEndedEvent event fires I expected the source (itemssource) to be updated.  In fact the NewData property of eventargs is not even updated.  You must click back into the row and make the same event fire a second time before the source is updated.  Why is this?  Your help doc at http://www.telerik.com/help/wpf/gridview-data-editing-event-sequence.html says otherwise.  The new data is already supposed to be committed.

Doug
Pavel Pavlov
Telerik team
 answered on 17 Apr 2009
1 answer
196 views
Hello

I'm using 2009 Q1 WPF RadControls,
How would I achieve the same functionality for my RadTreeView that the following code would perform for WPF TreeViews?

        <Style TargetType="{x:Type TreeViewItem}">
            <Style.Resources>
                <SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}" Color="#ffa7cdf0"/>
                <SolidColorBrush x:Key="{x:Static SystemColors.ControlBrushKey}" Color="#ffa7cdf0"/>
            </Style.Resources>
        </Style>

In other words, how would I change the style (colour in this case) of the Highlight brush of TreeViewItems from golden to something else? Also, please show me how to change the inactive (i.e. highlight colour when focus is lost) colour.

Many thanks





Dimitrina
Telerik team
 answered on 15 Apr 2009
3 answers
75 views
How do I make the group panel shorter?
Kalin Milanov
Telerik team
 answered on 15 Apr 2009
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?