Telerik Forums
UI for WPF Forum
1 answer
218 views
Hi,

I am developing a WPF application in my company.
The main window contains a Docking control.
UserControls are displayed in floating Panes at run time.
A floating Pane in the application is the only Pane in its PaneGroup and the PaneGroup is the only PaneGroup in its SplitContainer.
I use the RadPane.MakeFloatingDockable method to make a Pane floating but the Pane is initially displayed in the top left corner of the main window.
What do I need to do to initially display a floating Pane in the center of the main window ?

Thank you in advance for your help
Kalin
Telerik team
 answered on 13 Jan 2014
2 answers
175 views

I am using a horizontal path for the radcarousel panels. There are 3 panels in the carousel ItemsPerPage="3". The middle panel is the focused panel. Is there a way to specify spacing between central panel and panels on either side.
Thanks in advance
YK

Maya
Telerik team
 answered on 13 Jan 2014
5 answers
186 views
Hello,

I'm trying to save a radchart to a file using the save() method.
No matther what method overload I use I always get an ArgumentOutOfRange Exception with the following description:

[System.ArgumentOutOfRangeException] = {"The parameter value must be greater than zero.\r\nParameter name: pixelWidth"}

I'm not able to figure where to set that parameter in the RadChart.

Documentation on the method does not provide any usage examples and all the old posts on the forum I've found point on this issue to a demo page that no more exist (they point to demos based on chartview now).

Thanks for help

Antonello


Pavel R. Pavlov
Telerik team
 answered on 13 Jan 2014
1 answer
196 views
I've got charts where a series can be a user defined color and where specific points can be a user defined color. The models for my series & all my points already have that info & so I'm binding to those colors via styles for LineSeries, PointSeries, etc.  Whenever I use a DefaultVisualStyle or a PointTemplate, the legend markers in my RadLegend lose their color.  Is there a way to get all three things: series color via DefaultVisualStyle, point color via Point template, LegendItem Colors? PS - I have the ability to set the palette for the chart as well if that matters.
Mitchell
Top achievements
Rank 1
 answered on 10 Jan 2014
0 answers
121 views
I want a RadGridView which has repeated columns in it as you can see in the picture below.

enter image description here

This is just one RadGridView and colums are repeated. How can we do this with wpf RadGridView

Thanks,

Tingting
Top achievements
Rank 1
 asked on 10 Jan 2014
1 answer
184 views

Our requirement for the grid is to have checkbox column so that user be able to select multiple items using the checkbox. During that time, the CurrentItem should be the item user clicked on, which might select/unselect the checkbox, and we will load the detail info of the CurrentItem then display it in a panel outside of the grid.

Here's the definition of the grid:

<telerik:RadGridView
                IsSynchronizedWithCurrentItem="True"
                AutoGenerateColumns="False"
                ItemsSource="{Binding ItemCollection}"
                CurrentItem="{Binding CurrentItem}"
                SelectionMode="Multiple">
        <telerik:RadGridView.Columns>
            <telerik:GridViewSelectColumn />
            <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=Name}"
                                        Header="Name" />
        </telerik:RadGridView.Columns>
    </telerik:RadGridView>

The behavior now is the CurrentItem will always be the first selected item, not the item currently has focus on.

Is there any way to fulfill our requirement?

I would appreciate any suggestions.

Dongzhi
Top achievements
Rank 1
 answered on 10 Jan 2014
2 answers
387 views

I'm evaluating telerik gridview for the project I'm working on.  I noticed the CurrentItem does not change when I change selections in the grid.  The setter on CurrentItem in the ViewModel only gets triggered at the very first time.  

Here's the definition of the Grid:
<telerik:RadGridView  Name="GroceryGrid"
                     ItemsSource="{Binding GroceryList}"
                     IsSynchronizedWithCurrentItem="True"
                     AutoGenerateColumns="False"
                     SelectionMode="Multiple"
                     CurrentItem="{Binding CurrentItem, Mode=TwoWay}"
                     SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
                     ShowColumnFooters="True"
                     DockPanel.Dock="Top"
                  >

In the ViewModel:

private GroceryItem currentItem;
public GroceryItem CurrentItem
{
    get { return this.currentItem; }
 
    set
    {
        this.currentItem = value;
        base.RaisePropertyChangedEvent("CurrentItem");
    }
}

Please help.  Thanks!
Dongzhi


Dongzhi
Top achievements
Rank 1
 answered on 10 Jan 2014
1 answer
296 views
Hi, I'm trying to use RadTreeView with Caliburn.Micro but I can't do basics. Could you show sample project how to bind hierachical data source to TreeView using data from view model using Caliburn.Micro

I have something like this:
        <telerik:RadTreeView x:Name="Nodes" IsDragDropEnabled="True" IsDragTooltipEnabled="False" AllowDrop="True" IsDragPreviewEnabled="False">
            <HierarchicalDataTemplate ItemsSource="{Binding Childs}" DataType="{x:Type viewmodels:TreeListViewModel+Node}">
                <TextBlock Text="{Binding Name}" />
            </HierarchicalDataTemplate>
        </telerik:RadTreeView>

But I get exception: Items collection must be empty before using ItemsSource.
Boris
Telerik team
 answered on 10 Jan 2014
3 answers
138 views
Hi,

I created a document with a footnote and saved it as rtf-file.
When I load the document I only see a superscripted hint in the text but not the footnote itself.
Do you have any suggestions?

Kind regards,
Philipp
Missing User
 answered on 10 Jan 2014
1 answer
152 views
Hi,

in my project I have multiple usercontrols using the ScheduleView control. For each usercontrol I use the Office2013 theme and all of my usercontrol refuse to display the date in columns headers,

Here is on of my user control:

<UserControl x:Class="AppointmentControls.CreateSchedule.CreateSchedule"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"             
             xmlns:AppCtrl="clr-namespace:AppointmentControls"
             xmlns:ScheduleCreation="clr-namespace:AppointmentControls.CreateSchedule"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             mc:Ignorable="d"
             d:DesignHeight="300" d:DesignWidth="300" x:Name="Me">

    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/System.Windows.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.Input.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.Navigation.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.ScheduleView.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>

    <Grid x:Name="Root">
        <telerik:RadScheduleView x:Name="Control" IsInlineEditingEnabled="False" FirstDayOfWeek="Monday" ActiveViewDefinitionIndex="0" NavigationHeaderVisibility="Collapsed" MinTimeRulerExtent="200" MaxTimeRulerExtent="5000"
                                 AppointmentSelectionChanged="Control_AppointmentSelectionChanged" AppointmentDeleted="Control_AppointmentDeleted" AppointmentCreated="Control_AppointmentCreated" AppointmentEdited="Control_AppointmentEdited">
            <telerik:RadScheduleView.ViewDefinitions>
                <telerik:WeekViewDefinition x:Name="View" MajorTickLength="1h" FirstDayOfWeek="Monday" MinorTickLength="1h" TimerulerMajorTickStringFormat="{}{0:H }:{0:mm} " TimerulerMinorTickStringFormat=":{0:mm} " GroupHeaderDateStringFormat="{}{0:dddd}" />
            </telerik:RadScheduleView.ViewDefinitions>
        </telerik:RadScheduleView>
    </Grid>
</UserControl>

I have the following warning message in my VS2013:

System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='Telerik.Windows.Controls.InternalResourceKey'; ResourceKey.HashCode='16'; ResourceKey.Type='Telerik.Windows.Controls.InternalResourceKey'

Kalin
Telerik team
 answered on 10 Jan 2014
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
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
InlineAIAssistant
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?