Telerik Forums
UI for WPF Forum
1 answer
76 views
I have set the  IsLoadOnDemandEnabled  to True at the Tree level and it makes all the node's images to show like, it has children nodes to be loaded. 

In Reality, not all of the nodes are Expandable. 

Lets for example say, I need to expand first level to dynamically load the next level. In the next level of nodes, some of them may have children nodes to be loaded when you click on them dynamically and some of the nodes are already the leaf nodes, meaning they are the last node and they don't have any child node. For these leaf nodes, I don't want the Image of the node to show as Expandable. 

Only the nodes that have children nodes to be loaded need to have the Expandable icon. 

How do I handle this situation. Its misleading when you show the Expandable icon or + icon for all the nodes irrespective of whether they are the last node or not. 

Please let me know if I am making sense. 




gans
Top achievements
Rank 1
 answered on 13 Feb 2012
2 answers
146 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
100 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
118 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
225 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
189 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
237 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
279 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
109 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
139 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
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
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?