Telerik Forums
UI for WPF Forum
1 answer
61 views
Hello,

i am using multi column tree view in my application. i am getting one error in STYLEs, which i am not able to recorgnize.

Type reference cannot find public type named 'RadTreeListView'.

Please in to this and let me know as soon as possible.


Regards

Raghuraj
Valentin.Stoychev
Telerik team
 answered on 06 Oct 2008
0 answers
261 views
Hello,

I have problem with binding of multi column tree view with DataSet.
Actually the problem is - when i bind the multi-column treeview in XAML with ObjectDataProvider, treeview shows the data for the 1st treeview item, however, for the rest of all child item it does not show the data.
 
<ObjectDataProvider x:Key="objectData" MethodName="CreateDataSet"
                                ObjectType="{x:Type local:DataModel}"/>

<HierarchicalDataTemplate x:Key="DetailTemplate"
                                      ItemsSource="{Binding Detail-to-Info}"
                                      ItemTemplate="{StaticResource CellTemplate_Name}">               
                    <TextBlock Text="{Binding Detail}"/>
            </HierarchicalDataTemplate>

<HierarchicalDataTemplate x:Key="MasterTemplate"
                                      ItemsSource="{Binding Master-to-Detail}"
                                      ItemTemplate="{StaticResource DetailTemplate}">
                <DockPanel>
                    <ToggleButton x:Name="Expander"
                      Style="{StaticResource ExpandCollapseToggleStyle}"
                      Margin="{Binding Level,Converter={StaticResource LevelToIndentConverter},RelativeSource={RelativeSource AncestorType={x:Type telerik:RadTreeViewItem}}}"
                      IsChecked="{Binding Path=IsExpanded, RelativeSource={RelativeSource AncestorType={x:Type telerik:RadTreeViewItem}}}"
                      ClickMode="Press"/>
                    <TextBlock Text="{Binding Name}" FontWeight="Bold"/>
                </DockPanel>
                <DataTemplate.Triggers>
                    <DataTrigger Binding="{Binding Path=HasItems,RelativeSource={RelativeSource AncestorType={x:Type telerik:RadTreeViewItem}}}"
                     Value="False">
                        <Setter TargetName="Expander" Property="Visibility"    Value="Hidden"/>
                    </DataTrigger>
                </DataTemplate.Triggers>
            </HierarchicalDataTemplate>


<local:RadTreeListView x:Name="treeTest" DataContext="{StaticResource objectData}"
                               ItemsSource="{Binding MasterTable}"
                               ItemTemplate="{StaticResource MasterTemplate}">
            <local:RadTreeListView.Columns>
                <GridViewColumn Header="
Component" CellTemplate="{StaticResource MasterTemplate}" />
                <GridViewColumn Header="State on Master" />
                <GridViewColumn Header="State on Backup" />
            </local:RadTreeListView.Columns>
        </local:RadTreeListView>




Please look into it and let me know, where i lacking to achieve the goal.

Regards

Raghuraj
Raghuraj
Top achievements
Rank 1
 asked on 04 Oct 2008
1 answer
141 views
In my RadCarouselPanel, I want to pick an item, check to see if that's the top most item,, and then if so, do something.  I've tried the SelectionChanged and MouseDown events of my ListBox, but IsSelectedTopItem is always false.
Milan
Telerik team
 answered on 03 Oct 2008
1 answer
108 views
Hi,

I am using RadGrid for WPF. I am binding a Collection Class with out using dataset..

Can anybody help me to do...

Problem Iam Facing : When i define parent filed "GridViewDataColumn", I not able to define child filed "GridViewDataColum"

 

Nedyalko Nikolov
Telerik team
 answered on 02 Oct 2008
1 answer
150 views
Can I specify spacing between my items?  It would be great if there was something like a PathStop where I can tell the carousel where to display an item.  I can set different ItemsPerPage which do somewhat what I want, but it ultimately doesn't work because I want custom placement of items along my path.


Milan
Telerik team
 answered on 01 Oct 2008
3 answers
243 views
Following your examples, I am trying to set PathStops.  No matter what I do to the PathFraction and Values, I still get the default behavior (center item is biggest, items fade out to the left and right).  I tried setting IsScalingEnabled="True" IsOpacityEnabled="True" on my RadCarouselPanel, but it has no effect.  I also tried setting TopItemPathFraction in the Properties window and I get an unhandled exception "Object reference not set to an instance of an object.".  I also found OverridesDefaultStyle, but that doesn't do anything for me.  Can you help?  

Also, do you have a list of all the properties and what they mean?

<ListBox x:Name="lstThumbsCarousel" Grid.Row="2"   ItemContainerStyle="{DynamicResource ThumbNailContainerStyle}" MouseRightButtonUp="ShowContextMenu" SelectionChanged="lstThumbsCarousel_SelectionChanged" Loaded="lstThumbsCarousel_Loaded"
            <ListBox.ItemsPanel> 
                <ItemsPanelTemplate> 
                    <telerik:RadCarouselPanel x:Name="radCarouselPanel"
                         <telerik:RadCarouselPanel.ScaleStops> 
                            <telerik:PathStopCollection> 
                                <telerik:PathStop PathFraction="0.0" Value="0.1" /> 
                                <telerik:PathStop PathFraction="0.47" Value="0.2" /> 
                                <telerik:PathStop PathFraction="0.5" Value="0.4" /> 
                                <telerik:PathStop PathFraction="0.53" Value="0.8" /> 
                                <telerik:PathStop PathFraction="1.0" Value="1.0" /> 
                            </telerik:PathStopCollection> 
                        </telerik:RadCarouselPanel.ScaleStops>   
                    </telerik:RadCarouselPanel> 
                </ItemsPanelTemplate> 
            </ListBox.ItemsPanel> 
        </ListBox> 
 

Milan
Telerik team
 answered on 30 Sep 2008
1 answer
272 views
If I put a grid in the telerik tabitem control and this grid has a bunch of textboxes, labels, dropdowns (like a form) when I hit the tab key to navigate through the form fields as I enter values, the cursor doesn't change position.

This behaviour works on the standard WPF tabcontrol.


Miroslav
Telerik team
 answered on 29 Sep 2008
3 answers
229 views
Couple of small issues with the wpf controls.

When dropping a control onto a form, I don't get an automatic inclusion of the name space in teh wpf header.

Also, the help system did integrate with VS2008, but the index and table of contents can't be found.  I could search i guess, but it make's it hard to browse help and poke around.
Hristo Deshev
Telerik team
 answered on 29 Sep 2008
7 answers
369 views
Is is possible to change the scrolling behavior of the grid so that it scrolls in a conventional way instead of scrolling to the next record? This causes us problems when we have a record whose height is greater than the height of the grid (you can then never see all of it because the record does not fit into the grid's viewport).

Kind regards,

Will Holley
Nedyalko Nikolov
Telerik team
 answered on 29 Sep 2008
4 answers
143 views
I;ve been doing an eval of the silverlight controls, and have decided (not because of Telerik) to move my project back to WPF.  That being said, I don't have time to dig in to each control and hope to ask a couple of questions.

Carousel:
    I'd like to be able to stick "Edit", "Add", and "Delete" buttons side by side with the rest of the carousel control buttons.  Just pass through the click events so I can respond to them.  OR can I hide/remove all of the nav buttons from the control and let me implement "Next" "Previous", "First", "Last", etc.  Is this possible?  

    Why?  As it sits now, it's kind of ugly to have all the nav buttons on the carousel, and the data manipulation (Edit, Add, Delete) on another part of the form.  It would be much much cleaner if we had the option to put the buttons side by side.

Tree View:
    I asked a similar question in the silverlight forums and i know it's planned in the next release.  I would like to use the drag/drop ability in the control to do drag and drop in a flat non-hierarchael model.  Ie a standard list I can re org.

    Why this is important is because I don't want a different user experience when ordering a treeview of data as opposed to a flat list view.

Charts (Futures):
    The charts look pretty basic, which is fine.  Do they support X and Y Axis titles?  This should be pretty basic funtionality, but your major competitor doesn't support it, and you have to play in WPF to make it work.

Thanks,
Steve

Cuthahotha
Top achievements
Rank 1
 answered on 26 Sep 2008
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?