This is a migrated thread and some comments may be shown as answers.

Textboxes readonly in RadPane

8 Answers 144 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Matthias
Top achievements
Rank 1
Matthias asked on 05 Oct 2011, 07:14 PM
HI there,
I have a WPF application with MVVM. My main view has a RadDocking with multiple documents (MDI). The RadPanes are implicitly created through a coupling of the ViewModel with the RadDocking (I use the RadPaneGroupExtension from another forum post).
My RadDocking looks like this:

<Controls:RadDocking.DocumentHost>
    <Controls:RadSplitContainer>
        <Controls:RadPaneGroup Name="OpenEntities" local:PaneGroupExtensions.ItemsSource="{Binding OpenDocs}">
            <local:PaneGroupExtensions.ItemContentTemplate>
                <DataTemplate DataType="{x:Type ReferenceViewModels:DepartmentViewModel}">
                    <views:DepartmentView />
                </DataTemplate>
            </local:PaneGroupExtensions.ItemContentTemplate>
DepartmentView contains some Textboxes.
Unfortunately, the TextBoxes are readonly if instantiated this way. If I place the DepartmentView at another place (e.g. in a hardcoded RadPane in the above code), it works.

Since I have no clue where to search is any hint appreciated.

Regards

Mat

8 Answers, 1 is accepted

Sort by
0
Matthias
Top achievements
Rank 1
answered on 05 Oct 2011, 08:33 PM
Pasting into the textboxes work, keyboard input does not (selecting text does not either)

Regards

Mat
0
Matthias
Top achievements
Rank 1
answered on 06 Oct 2011, 07:55 AM
I played a little with the DockingAndMVVM-Example provided somewhere in this forum.
  • Unpack it
  • change the button in the datatemplate in window1.xaml to <TextBox Text="{Binding Content.SomeContent}" />
  • run it.
You have an editable and selectable field in the pane.
Now
  • change the target runtime to .NET 4.0
  • run it
You can see the same app, but you can neither select nor edit the text in the pane.
What is going wrong here?

Regards 
Matthias
0
Matthias
Top achievements
Rank 1
answered on 06 Oct 2011, 08:12 AM
Switched back to version 2011.1.419.40 and it works. 2011.2.920.40 seems to be the problem here.
0
Chris
Top achievements
Rank 1
answered on 06 Oct 2011, 10:23 PM
Hi,

   I have the similar problem. I have a TextBox inside the <RadPane.TitleTemplate></RadPane.TitleTemplate>, which I can edit on previous version (version 2011.2 712). Since I upgrade to latest version (2011.2 920). It becomes ReadOnly, can't type anymore.

   Could you help?

Thanks,
Chris
0
George
Telerik team
answered on 12 Oct 2011, 12:57 PM
Hello,


We are aware of this problem and it is logged it in our system. We will do our best to add the fix for this issue for the next internal build.

Hope this helps.


Regards,
George
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
George
Telerik team
answered on 24 Oct 2011, 11:13 AM
Hi,

 
We can confirm that this bug is resolved with the latest internal build (version 2011.2.1017). Please do not hesitate to contact us if you encounter any problems with the RadDocking control.

Regards,
George
the Telerik team

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

0
Greg
Top achievements
Rank 1
answered on 02 Dec 2011, 08:47 PM
I just upgraded to the latest internal build (2011.3.1129.40) , and now everything is read-only again in the pane. Has this bug been re-introduced?
0
Ivo
Telerik team
answered on 07 Dec 2011, 03:15 PM
Hi Greg,

I could not reproduce it with the 2011.3.1129.40 build. Could you please sens us sample running project, so we could investigate this further?

All the best,
Ivo
the Telerik team

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

Tags
Docking
Asked by
Matthias
Top achievements
Rank 1
Answers by
Matthias
Top achievements
Rank 1
Chris
Top achievements
Rank 1
George
Telerik team
Greg
Top achievements
Rank 1
Ivo
Telerik team
Share this question
or