Telerik Forums
UI for WPF Forum
2 answers
140 views
For our application we would like to save alot of the customers settings.
One of these is the width of columns and the order. So I have done the following
  Width="{Binding ProjectPartsOverview_Column_Width_Delete, Mode=TwoWay, Source={x:Static properties:Settings.Default}}"

But that width is not being loaded from the settings or updated.
Also I have no clue how to save the order of the columns
Kevin Hendriks
Top achievements
Rank 1
 answered on 13 Feb 2012
0 answers
94 views
Hi @ all,

i'm looking for a source or tutorial for Drop a RadCarouseltem to a Rad GridView. I don't want to delete the Item from the Craousel, but i want to add the selecteditem to a DataGrid.

Thank's for helping me.

Regards
ww
ITA
Top achievements
Rank 1
 asked on 13 Feb 2012
2 answers
109 views
Our users use - when sending letters - envelopes with a window where you can read name and address.
To help them to write the name and address on the right place I can show a rectangle in the background of the RadTextBox.
The question is: what is the best way to skrew this feature/style on and off?
Or... do you know a better way to show/hide such a rectangle?

<telerik:RadRichTextBox x:Name="editor" AllowDrop="True" Drop="EditorDrop" ShowComments="False" FontFamily="Calibri" FontSize="11">
            <telerik:RadDocument LayoutMode="Paged" />
            <telerik:RadRichTextBox.Resources>
                <Style TargetType="telerik:Page">
                    <Setter Property="Template">
                        <Setter.Value>
                            <ControlTemplate TargetType="telerik:Page">
                                <Grid Background="White">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="50"></ColumnDefinition>
                                        <ColumnDefinition Width="370"></ColumnDefinition>
                                        <ColumnDefinition Width="*"></ColumnDefinition>
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="120"></RowDefinition>
                                        <RowDefinition Height="120"></RowDefinition>
                                        <RowDefinition Height="*"></RowDefinition>
                                    </Grid.RowDefinitions>
                                    <Canvas x:Name="PageContentPresenter" Background="White" />
                                    <Border Grid.Column="1" Grid.Row="1" BorderBrush="Blue" BorderThickness="1" CornerRadius="5" Background="Aqua">
                                    </Border>
                                </Grid>
                            </ControlTemplate>
                        </Setter.Value>
                    </Setter>
                    <Setter Property="HorizontalAlignment" Value="Center" />
                    <Setter Property="VerticalAlignment" Value="Top" />
                </Style>
            </telerik:RadRichTextBox.Resources>
        </telerik:RadRichTextBox>
Rieni De Rijke
Top achievements
Rank 1
 answered on 13 Feb 2012
0 answers
220 views
Hi,

i have a mvvm item collection wich is bounded to my radcraousel. I habe a cutom item template and i want to have
the item vertical and not horizontal. But how does that work? I can't find any working example. I need help please.

<DataTemplate x:Key="customItemTemplate">
            <Border Background="LightSlateGray" Padding="10">
                <Grid>
                    <StackPanel>
                        <TextBlock Text="{Binding TaskID}" TextWrapping="Wrap" Foreground="White" FontSize="11" TextAlignment="Center" Margin="0,0,3,0"/>
 
                    </StackPanel>
                </Grid>
            </Border>
        </DataTemplate>
 
<telerik:RadCarousel x:Name="sampleRadCarousel" ItemsSource="{Binding Task}" AutoGenerateDataPresenters="False" Background="Transparent"   ItemTemplate="{StaticResource customItemTemplate}" />                         

Thanks a lot
regrads
ww

ITA
Top achievements
Rank 1
 asked on 13 Feb 2012
2 answers
178 views
Hi

In quite a few places i am using converters with the RadGridView to convert the values in the domain model to values presented in the users. I have attached an example where a column is bound to an enum which is converted to a string by a IValueConverter (by using a ressource file for easy i18n)

As there seems to be no support for the converter notion directly in the RadGridView i have done this in the following way:

<telerik:GridViewDataColumn x:Name="sourceColumn" IsReadOnly="True"  Header="Source">
    <telerik:GridViewDataColumn.CellTemplate>
        <DataTemplate>
            <TextBlock Text="{Binding RouteSource, Converter={StaticResource RouteSourceConverter}}" />
        </DataTemplate>
    </telerik:GridViewDataColumn.CellTemplate>
</telerik:GridViewDataColumn>

However when i then group on these columns, the value is of course not converted. I have attached a screenshot showing this.
I could probably just define a custom group header template. But the only thing i want is to get the value passed through my converter. 


Is there an easy way to acheive this? If using a custom group header tempalte, how would i do this so it looks like the default group headers - but just with the value from the columns converted? 
Henrik
Top achievements
Rank 1
 answered on 13 Feb 2012
4 answers
223 views
Anybody can help me, i want choose default value when i search in text column header.

Example:

When i type anything into text column header and choose the filter, it will show " No filter, StartWith, Endwiths, Contains..." , now i want this default value  is "Contains".

Thank more :)
Hieu
Top achievements
Rank 1
 answered on 13 Feb 2012
1 answer
269 views
I'm using an HierarchicalDataTemplate and the FullPath is always the type of the object in the itemssource collection. Is there a way to set it to a specific property of the bound items?  My understanding is that it was supposed to be the displayed text.

<HierarchicalDataTemplate DataType="{x:Type local:Employee}" >

<TextBlock Text="{Binding Path=Name}"></TextBlock>

</HierarchicalDataTemplate>

My Employee object has a list of employees and everything is displayed correctly.  However the FullPath of the SelectedContainer is always MyNamespace.Employee.I need the FullPath to be the Text of the node or need the ability to assign a property to be used by the FullPath for example, EmployeeId or something.
Thanks,

 

 

 

Tina Stancheva
Telerik team
 answered on 13 Feb 2012
1 answer
106 views
Is it possible to add extra lines (e.g. a regression line) to the chart?


Craig
Petar Marchev
Telerik team
 answered on 13 Feb 2012
2 answers
134 views
Dear Telerik Team,

We are currently trying to display a bar chart which has different width for its series by using radchart (see attachment) 
Is it possible? 

Thanks,
Andy
Nikolay
Telerik team
 answered on 13 Feb 2012
1 answer
126 views
How do you change the background of the SelectedItem within the ReusableRadCarouselPanel example?  Please note I am using a RadCarouselPanel in markup and not the RadCarousel itself.  

I have a customer number if you need it, but thought I would try the public forum first in case anyone else has this issue.

Thanks,

Dan
Maya
Telerik team
 answered on 13 Feb 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
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?