Telerik Forums
UI for WPF Forum
2 answers
78 views
Hi,I have a problem.
While using the RadDocumentPane control, how can I add a minimizeButton or maximizeButton on it?
Is there any minimizeButton or maximizeButton on the RadDocumentPane control?

Thank you!
xu jundong
Top achievements
Rank 1
 answered on 08 Feb 2010
2 answers
65 views
Hello,

It looks like using a filter on one of my grid columns stops RowEditEnded from being invoked properly after the filtering.

I'm binding my grid to an ObservableCollection<> of business objects, and I have everything set up so updating/inserting rows works properly in most cases.  However I've noticed that if I use a column filter and narrow down the rows displayed, for example to only those rows including certain text in that column, that any subsequent edits won't be saved because RowEditEnded no longer gets invoked when I finish editing one of the remaining rows.

Have you seen this behavior before?  Is there something I'm doing wrong, or is this a known issue? 

I can submit a ticket and provide a sample project if necessary.

Thanks for any help you can provide!

Eddie
Eddie
Top achievements
Rank 2
 answered on 05 Feb 2010
2 answers
105 views
Hi.
I am using the following code:
    public partial class Window1 
    { 
        public Window1() 
        { 
            InitializeComponent(); 
            this.Foos = new ObservableCollection<Foo>(new[] 
                        { 
                            new Foo { Name = "1" }, 
                            new Foo { Name = "2" }, 
                        }); 
        } 
 
        private void Window_Loaded(object sender, RoutedEventArgs e) 
        { 
            this.DataContext = this
        } 
 
        public ObservableCollection<Foo> Foos{ getset;} 
    } 
 
    public class Foo : IDataErrorInfo 
    { 
        public string this[string columnName] 
        { 
            get 
            { 
                return "Error"
            } 
        } 
 
        public string Error 
        { 
            get 
            { 
                return "Error!"
            } 
        } 
 
        public string Name { getset; } 
    } 

in combination with this xaml:
<Window x:Class="WpfApplication6.Window1" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView" 
    Title="Window1" Height="300" Width="300" 
        Loaded="Window_Loaded"
    <telerik:RadGridView ItemsSource="{Binding Path=Foos}" 
                         AutoGenerateColumns="False"
        <telerik:RadGridView.Columns> 
            <telerik:GridViewDataColumn Header="Name 1" 
                                        DataMemberBinding="{Binding Path=Name, ValidatesOnDataErrors=True}" /> 
            <telerik:GridViewColumn Header="Name 2"
                <telerik:GridViewColumn.CellTemplate> 
                    <DataTemplate> 
                        <TextBox Text="{Binding Path=Name, ValidatesOnDataErrors=True}" /> 
                    </DataTemplate> 
                </telerik:GridViewColumn.CellTemplate> 
            </telerik:GridViewColumn> 
        </telerik:RadGridView.Columns>         
    </telerik:RadGridView> 
</Window> 

The second TextBox "Name 2" does show the DataErrors fine. However the GridViewDataColumn ("Name 1") seems unaware of the DataErrorInfos.

Am I missing something or is the GridVioewDataColumn unaware of IDataErrorInfo ?

Nils
Nils
Top achievements
Rank 1
 answered on 05 Feb 2010
1 answer
90 views
Hello,
    I've added some code to my grid's double click event so if a cell is double clicked the column header's caption will be appended with (*). The problem I having occurs when I scroll to the right and than double click the column caption is not modified. If I scroll to right a couple of times and than scroll back to where I double clicked the (*) appears in the column caption.
I am almost certain this is caused by  Column Virtualization. Is their anyway to fix this so the (*) appears after I've double clicked?
Thanks
Vlad
Telerik team
 answered on 05 Feb 2010
9 answers
240 views
Hello, I just installed the demo. It seems to work fine when I click on an item on the tree list but when I click on another item on the tree list, it crashes. It always crashes when I select my second item but the first item loads fine.

Here's a screenshot: http://img291.imageshack.us/img291/7963/crashwi6.jpg
yagimay
Top achievements
Rank 1
 answered on 05 Feb 2010
2 answers
119 views
Hello
I'm binding a IList<BusinessObject> to the GridViewDataColumn through a converter.
Code snippet:

                          <telerik:GridViewDataColumn
                                                        Header="Classes"
                                                        Width="15*"
                                                        UniqueName="AuthorisationClasses"
                                                        DataMemberBinding="{Binding AuthorisationClasses, Converter={StaticResource AuthorisationClassesListConverter}}"

The view gets updated dynamically if I make the AuthorisationClasses an ObservableCollection. I was wondering if I could make the view update dynamically without making it an ObservableCollection. The reason being, AuthorisationClasses is a business entity and all the business entites in our solution are of type List<T>.
Thanks in advance

Regards
Binu
 
Binu Abraham
Top achievements
Rank 1
 answered on 05 Feb 2010
4 answers
97 views
Hello,
     I several checkbox columns on my grid and every once in a while a checkbox in one of the rows turns to the word True or False.
Usually when I scroll up or down it will change back to a checkbox but sometimes it won't and when I click on the checkbox that's changed the cell is protected. I have to close the app down. 
Jorge Gonzalez
Top achievements
Rank 1
 answered on 04 Feb 2010
2 answers
259 views
When the RadComboBox is in IsEditable mode, how do I set the MaxLength and CharacterCasing properties of the TextBox used for entering data?
Konstantina
Telerik team
 answered on 04 Feb 2010
10 answers
263 views
Hello,

The moment I try to edit the PaneHeader Style through Blend (Edit Style >create a copy), after putting the PaneHeader WPF component in a window.xaml, it returns "invalid xaml".. see screenshot.



I would like to make them blue, but have a hard time with the theming process.

would you have a custom colour theming of the Radpane working sample as described in the help documentation ?

Cheers
Konstantina
Telerik team
 answered on 04 Feb 2010
3 answers
105 views
Hi, Im using Prism + Wpf and trying to get the commanding to work on a button i have placed in the panel bar using a datatemplete. Here is a copy of the datatemplate:

<DataTemplate x:Key="RadPanelBarItemTemplate">
                <StackPanel Orientation="Vertical" Margin="1" HorizontalAlignment="Left">
                    <Button Width="140" Height="25" Margin="2"
                            Tag="{Binding Tag}"
                            Content="{Binding Title}"
                            ToolTip="{Binding Description}"
                            commands:Click.Command="{Binding NavigationBarClickCommand}"
                            commands:Click.CommandParameter="{Binding Tag}"/>
                </StackPanel>
            </DataTemplate>

Is this possible, at the moment my command is never getting fired. Or should I be using a different approach?

Thanks, Mark


Tihomir Petkov
Telerik team
 answered on 04 Feb 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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
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
Iron
Iron
Missing User
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
Iron
Iron
Missing User
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?