Telerik Forums
UI for WPF Forum
2 answers
185 views
In a sample application the Background of the Seperator and the Contextmenu are ignored.
Is this a Bug or am I doing something wrong?

See attached Image. Seperator has a gray background and the ContextMenu is not LimeGreen.

<Window x:Class="WpfApplication1.MainWindow"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <telerik:RadTreeListView>
            <telerik:RadContextMenu.ContextMenu>
                <telerik:RadContextMenu x:Name="treeContextMenu" Background="LimeGreen">
                    <telerik:RadMenuItem Header="Test 1" Background="White"/>
                    <telerik:RadMenuItem Header="Test 2" Background="White"/>
                    <telerik:RadMenuItem IsSeparator="True" Background="White"/>
                    <telerik:RadMenuItem Header="Test 3" Background="White"/>
                    <telerik:RadMenuItem Header="Test 4" Background="White"/>
                    <telerik:RadMenuItem Header="Test 5" Background="White"/>
                </telerik:RadContextMenu>
            </telerik:RadContextMenu.ContextMenu>
        </telerik:RadTreeListView>
    </Grid>
</Window>
Froggie
Top achievements
Rank 1
 answered on 29 May 2012
1 answer
193 views

Hello

 I am using the RadDocking control to manage our application main layout. I wanted to implement a Save/Load functionality in order to provide a better user experience. To do that I added a SaveLayout and LoadLayout menu Items that uses the RadDocking.SaveLayout  and RadDocking.LoadLayout methods (http://www.telerik.com/help/wpf/raddocking-features-save-load-layout.html) . The layout structure is saved and loaded properly, but I noticed that the ‘IsPinned’ property of the panes is not being properly restored. It looks like that property is not being included in the saved layout structure and therefore not being restored.

 As an example:

 1-      Start the application. All Panes are pinned.

 2-      The user saves the layout.

 3-      The user unpin a pane

 4-      The user loads the layout.

 5-      …  the pin remains unpinned….

  Is this an expected behaviour?  If not, How can I accomplish what I am looking for (5- The pane is restored as pinned)?
Thanks,

Boyan
Telerik team
 answered on 29 May 2012
1 answer
582 views
Hello,

I'm trying to style a RadTreeViewItem to take up all available space in the TreeList width.  I have three items of bound data I want to show in a treeitem.  The first two being an image and a name, and the last being an image indicating a status that is to be right aligned to the very edge of the treeview where the scroll bar would appear.

In order to do this in a WPF tree view, one has to completely override the treeview item style and use dock panels to change the effect as described here: http://leecampbell.blogspot.ca/2009/01/horizontal-stretch-on-treeviewitems.html

I've tried different forms of Grids and dock panels, but the result always looks the same - as if the items are displayed in a stack panel.  I can see that the selected item style actually spans the width of the tree, can I get the item template to display in this manor?
Petar Mladenov
Telerik team
 answered on 29 May 2012
5 answers
321 views
Is there a way of dynamically adding series to the chart view at runtime?  Ideally within an MVVM implementation although that's not strictly necessary.

Thanks,

Gareth.  
Lars
Top achievements
Rank 1
 answered on 29 May 2012
1 answer
277 views
I'm trying to set the KeyboardNavigation.TabNavigation property to Local using a style template.  For some reason, it's not working, even in this most basic format:
<StackPanel>
    <telerik:RadMaskedNumericInput Name="radMaskedNumericInput1">
        <telerik:RadMaskedNumericInput.Style>
            <Style TargetType="telerik:RadMaskedNumericInput">
                <Setter Property="KeyboardNavigation.TabNavigation" Value="Local"/>
                <Setter Property="Mask" Value="#3.4"></Setter>
            </Style>
        </telerik:RadMaskedNumericInput.Style>
    </telerik:RadMaskedNumericInput>
    <telerik:RadMaskedNumericInput Name="radMaskedNumericInput2" KeyboardNavigation.TabNavigation="Local" Mask="#6.3"/>
</StackPanel>

The setter of the Mask property works, but the tab navigation in radMaskedInput1 still acts like it's set to Continue.  The tab navigation in radMaskedNumericInput2 properly only puts the cursor in the input box once and then exits on the next tab.

I'm using RadControls for WPF v.2011.2.920.40
Tina Stancheva
Telerik team
 answered on 29 May 2012
15 answers
802 views
I was trying the new VS2010 with Blend 4 RC, Edit a copy is unavailable/grayed out. All styles under Edit additional styles are grayed out from Telerik components. Now I cannot edit RoyStyle and such, please help me.
Vanya Pavlova
Telerik team
 answered on 29 May 2012
3 answers
134 views
Hello,

I am having big performance issues with UI coding in Visual Studio 2010. The IDE itself hangs for few seconds when scrolling or editing few characters in the project XAML file. The code behind is not a problem and it works okay. There are no other extensions installed than Telerik WPF Extensions and the Visual Studio has all latest updates.

So my guess is, it has something to do with controls, because it works much faster on a project without Telerik controls. The problem is frustrating, I spend hours coding a simple interface instead of minutes, just because I wait for IDE to respond. I have already tried changing the Visual Studio settings such as: disabling Toolbox auto population, changing to software rendering, and few tweaks. The Studio hangs when editing XAML code, no matter what, so it must be something in connection with my Telerik setup. I tried this on my workstation and my laptop and it works the same.

The problem is either bad XAML code (too long perhaps - 285 lines), or something with controls configuration.

Can you please help me?

Thank you,

Dal Rupnik
Vlad
Telerik team
 answered on 29 May 2012
3 answers
223 views

We identified several issues with our new Upgrade Wizard shortly after our Q2 2011 release.

The following circumstances are known to cause issues when using the Upgrade Wizard:

  • Having any invalid references in your project (marked with a warning sign in Visual Studio)
  • Having COM references in your project
  • Holding a project reference to a project which has not yet been built
  • Holding a project reference to a project whose output assembly name differs from the project's name

All of the above issues have already been addressed and an update has been released through the Visual Studio Online Gallery:
Telerik WPF VSExtensions

You should be able to use the Visual Studio 2010 Extension Manager to download the update.



Best regards,
The Telerik Team

Legoless
Top achievements
Rank 1
 answered on 29 May 2012
3 answers
164 views
Hello all,

I am trying to create a hierarchical tree view (about 3 levels), where the user can drag/drop to re-order, or move items only within the same level, but cannot move items between levels.  Basically I want to maintain a strict hierarchy of items (C's belong only to B's and B's belong only to A's).

I have tried using a hierarchical data template for my view model (which implements INotifyPropertyChanged) but can only reorder the top level nodes and cannot reorder the child nodes.


Thanks for any help!
Petar Mladenov
Telerik team
 answered on 29 May 2012
3 answers
117 views
This is driving me nuts.
When I allow the columns to be AutoGenerated I can they can be editted, that is the original values are shown and can be modified ( and the data persists ). If I define the fields manually, as below, then the cell is blanked prior to editiing and when the cell loses focus the editted cell reverts to its original value. I'm sure that I am doing something stupid but cannot work this out.

<telerik:RadGridView
              Name="rgv1"
              RowIndicatorVisibility="Visible"
              Grid.Column="1" Grid.Row="2"
              ItemsSource="{Binding ValidUsers}"
              SelectedItem="{Binding SelectedValidUser, Mode=TwoWay}"
              IsSynchronizedWithCurrentItem="True"
              AutoGenerateColumns="False"
              EditTriggers="CellClick">
             <telerik:RadGridView.Columns>
                  <telerik:GridViewDataColumn DataMemberBinding="{Binding userPassword, Mode=TwoWay}" />
            </telerik:RadGridView.Columns>
</telerik:RadGridView>

Thanks
Peter
Top achievements
Rank 1
 answered on 29 May 2012
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
MultiColumnComboBox
SyntaxEditor
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
Bronze
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
Bronze
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?