RadPaneGroup Selection changed Event

3 posts, 0 answers
  1. Jim
    Jim avatar
    4 posts
    Member since:
    Nov 2010

    Posted 08 Sep 2011 Link to this post

    I am having trouble getting this Event to work. I can add the Event to my XAML and to my code behind just fine, it builds fine, but when I run the program it blows up on Initialize component.

        <telerik:RadSplitContainer x:Name="MainDocumentContainer" telerik:ProportionalStackPanel.RelativeSize="0,70">
            <telerik:RadPaneGroup x:Name="MainDocumentGroup" SelectionChanged="MainDocumentGroup_SelectionChanged">
                <!--<telerik:RadPaneGroup x:Name="MainDocumentGroup" SelectionChanged="MainDocumentGroup_SelectionChanged">-->
                <telerik:RadDocumentPane x:Name="MainDocumentPane" Header="Search"
                    CanUserClose="False" CanFloat="False" IsPinned="True" CanDockInDocumentHost="True">
                    <Grid x:Name="SearchGridLayout">
                        <ig:XamGrid x:Name="MyDataGrid" Grid.Row="1" AutoGenerateColumns="False" ColumnWidth="*">
                                <ig:SelectionSettings RowSelection="Single" CellClickAction="SelectRow"/>
    private void MainDocumentGroup_SelectionChanged(object sender, RadSelectionChangedEventArgs e)
        RadPane pane = e.AddedItems[0] as RadPane;
        if (pane.Content is PricingSubmissionForm)
            PricingSubmissionForm form = pane.Content as PricingSubmissionForm;
            // hide the side panes
            this.SubmissionDetails.IsHidden = true;
            this.LineItemDetails.IsHidden = true;

    Failed to assign to property 'Telerik.Windows.Controls.RadTabControl.SelectionChanged'. [Line: 257 Position: 91]
  2. Jim
    Jim avatar
    4 posts
    Member since:
    Nov 2010

    Posted 12 Sep 2011 Link to this post

    Hello, really need to get this figured out and squared away. Anyone have any ideas?
  3. Boyan
    Boyan avatar
    758 posts

    Posted 13 Sep 2011 Link to this post

    Hi Jim,

    I was not able to reproduce the error. Could you provide some more info about your project and the version you are using. A sample project where the error can be reproduced will be best. I have attached the project I tried with. You can see that the event is fired without problems and no error is thrown.

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top