Textboxes readonly in RadPane

9 posts, 0 answers
  1. Matthias
    Matthias avatar
    4 posts
    Member since:
    May 2011

    Posted 05 Oct 2011 Link to this post

    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
  2. Matthias
    Matthias avatar
    4 posts
    Member since:
    May 2011

    Posted 05 Oct 2011 Link to this post

    Pasting into the textboxes work, keyboard input does not (selecting text does not either)

    Regards

    Mat
  3. UI for WPF is Visual Studio 2017 Ready
  4. Matthias
    Matthias avatar
    4 posts
    Member since:
    May 2011

    Posted 06 Oct 2011 Link to this post

    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
  5. Matthias
    Matthias avatar
    4 posts
    Member since:
    May 2011

    Posted 06 Oct 2011 Link to this post

    Switched back to version 2011.1.419.40 and it works. 2011.2.920.40 seems to be the problem here.
  6. Chris
    Chris avatar
    9 posts
    Member since:
    Feb 2011

    Posted 06 Oct 2011 Link to this post

    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
  7. George
    Admin
    George avatar
    1332 posts

    Posted 12 Oct 2011 Link to this post

    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 >>
  8. George
    Admin
    George avatar
    1332 posts

    Posted 24 Oct 2011 Link to this post

    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 >>

  9. Greg
    Greg avatar
    6 posts
    Member since:
    Mar 2011

    Posted 02 Dec 2011 Link to this post

    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?
  10. Ivo
    Admin
    Ivo avatar
    390 posts

    Posted 07 Dec 2011 Link to this post

    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 >>

Back to Top
UI for WPF is Visual Studio 2017 Ready