Telerik Forums
UI for WPF Forum
1 answer
99 views
I downloaded radControlTelerik for WPF in www.telerik.com . But I don't see rad control splitter in Toolbox.
Does radControlTelerik have support splitter for WPF?
Alex Fidanov
Telerik team
 answered on 13 Oct 2010
4 answers
1.0K+ views

I have a GridView with several columns. I am using a subset of columns to the right to show bars like a kind of Gantt chart.

I want to style the cells in the rows in such a way that each Cell merge with the cell to its left and the cell to its right (no merge with above or below cells) in order to produce the impression that there is a horizontal bar created by setting the background color.

I set up padding and also margin to (0,10, 0,10) in the Cell Template and hidden the columns vertical  lines but I still get a gap between the cells.
I also created a GridViewCellStyle copied from the default as suggested in the documentation, I assigned to the DataColumns tag but make no difference. I can't get rid of the gaps. So I may be doing something wrong.

1. Could you be so kind of tell me how can I get this result.

2. I need to change the name of the columns header dynamically. I can do it from code behind but if I want to do it from XAML how I do that?

Thanks

Vanya Pavlova
Telerik team
 answered on 13 Oct 2010
3 answers
83 views
Hi,

How can show vertical scroll bar programatically.

I've tried the below code, but no luck

RadGridView1.SetValue(ScrollViewer.VerticalScrollBarVisibilityProperty, ScrollBarVisibility.Visible);

Thanks,
-Narendra
Vlad
Telerik team
 answered on 13 Oct 2010
5 answers
355 views
Hi

I am trying to come up with a composite control which includes GridView and Date pager something similar to asp.net grid. I have AllowPagination property. I am finding it difficult as to how link datapager and gridview control in the composite control.

I have seen the sample where it says Datapager Source="{Binding Items, ElementName=radGridView}" but how i can I do the same linking in code behind.

Regards
Kiran
Pavel Pavlov
Telerik team
 answered on 13 Oct 2010
3 answers
223 views
Hi,

I want to edit filter popup in RadGridView. is it possible ?
Vlad
Telerik team
 answered on 13 Oct 2010
1 answer
143 views
I like the fade-in/fade-out transition for the window but I need to make it a bit faster. How can I change it. I don't want to turn it off.
George
Telerik team
 answered on 12 Oct 2010
4 answers
170 views
Hi,
I have the following issue. I use Frame control to load data to my tabs - so i can load different pages. But when i change tabs (create new one with different page loaded) - data that my previous pages load get's requeried. How can i disable that - so that when i open a new tab - previous stays as it was and doesn't reset it's self.

Thank you.
Sam Ur
Top achievements
Rank 2
 answered on 12 Oct 2010
1 answer
104 views
Hello,

I want to use a RadWindow as a user control inside another RadWindow, like as below.

<

 

 

telerik:RadWindow x:Class="MacFellow.WPF.ParentRadWindow"

 

 

 

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:d="http://schemas.microsoft.com/expression/blend/2008"

 

 

 

mc:Ignorable="d"

 

 

 

xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"

 

 

 

d:DesignHeight="300" d:DesignWidth="521">

 

 

 

 

<Grid>

 

 

 

 

<telerik:RadWindow Top="10" Left="10" Height="200" Width="300" Visibility="Visible">

 

 

 

 

<Button x:Name="btnClickMe" Content="Click Me" Width="100"/>

 

 

 

 

</telerik:RadWindow>

 

 

 

 

</Grid>

 

</

 

 

telerik:RadWindow>

 


Now when I click on the button "btnClickMe" it throws an exception "Object reference not set to an instance of object".

Please let me know the reason of the exception and how can it be resolved.
Miroslav Nedyalkov
Telerik team
 answered on 12 Oct 2010
3 answers
108 views

Hi,
We have a RadTreeView nested in a RadPanelBar which the user can undock and have floating. While docked the binding for the all data works fine including the state of the checkboxes. However, when the undocked and floating the checkboxes no longer reflect the correct state. The names for the hierarchical data items are displaying correctly so some of the binding is still working but not the state of the checkboxes.

The following is the xaml we are using:

<telerikNavigation:RadPanelBarItem Collapsed="RadPanelBarItem_ExpandedCollapsed" Expanded="RadPanelBarItem_ExpandedCollapsed" >
    <telerikNavigation:RadPanelBarItem.Header>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="18" />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            <CheckBox Grid.Column="0" IsThreeState="True" IsChecked="{Binding IsDomainsChecked, Mode=TwoWay, NotifyOnTargetUpdated=True}" Click="FilterCheckBox_Click" TargetUpdated="CheckBox_TargetUpdated"/>
            <TextBlock Grid.Column="1" Text="Domains"/>
        </Grid>
    </telerikNavigation:RadPanelBarItem.Header>
    <telerikNavigation:RadTreeView 
        Name="DomainTreeView"
        IsOptionElementsEnabled="True"
        ItemsOptionListType="CheckList" 
        IsTriStateMode="True" Checked="TreeView_CheckedUnchecked" Unchecked="TreeView_CheckedUnchecked"
        ItemsSource="{Binding Path=DomainEmailTypes}">
            
        <telerikNavigation:RadTreeView.ItemTemplate>
            <HierarchicalDataTemplate DataType="{x:Type ViewModels:EmailTypeFilterViewModel}" ItemsSource="{Binding Path=EmailTypes}">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition />
                        <ColumnDefinition />
                    </Grid.ColumnDefinitions>
                    <TextBlock Grid.Column="0" Text="{Binding Path=Name}"/>
                    <TextBlock Grid.Column="1" Margin="5,0,5,0" Text="{Binding Path=DisplayCount}" />
                </Grid>
                <HierarchicalDataTemplate.ItemTemplate>
                    <DataTemplate>
                        <Grid>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition />
                                <ColumnDefinition />
                            </Grid.ColumnDefinitions>
                            <TextBlock Grid.Column="0" Text="{Binding Path=Name}"/>
                            <TextBlock Grid.Column="1" Margin="5,0,5,0" Text="{Binding Path=DisplayCount}" />
                        </Grid>
                   </DataTemplate>
                </HierarchicalDataTemplate.ItemTemplate>
            </HierarchicalDataTemplate>
        </telerikNavigation:RadTreeView.ItemTemplate>
    </telerikNavigation:RadTreeView>
</telerikNavigation:RadPanelBarItem>


Any help or insight would be greatly appreciated.

Thank you.
Tina Stancheva
Telerik team
 answered on 12 Oct 2010
4 answers
158 views
I have gridview with check boxes that needs a filtering function. The problem with the default filter is that if a user opens the filter dialog an selects an item from the list all of the checked/selected items in the gridview are removed. I thought that I could add the checked items to the filter descriptor just prior to the filter event but it removes everything else from the filter list as well. Does anyone know a way around this problem?
I think what I need is the actual filterdescriptor that is being applied at the time the UI is active. I need to add my filterdescriptor to it or add a columndescriptor.
OverCoded
Top achievements
Rank 2
 answered on 11 Oct 2010
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
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
SplashScreen
Rating
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
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?