Problem with Controls on RadDocument

4 posts, 0 answers
  1. Daniel
    Daniel avatar
    5 posts
    Member since:
    Aug 2012

    Posted 01 Jul 2014 Link to this post

    Hello

    We have strange behavior on Twinhead Durabook T7M hardware (http://goldrushtechnology.com.au/Products/tabid/57/ProdID/2825/Default.aspx) OS: Microsoft Windows 7 32 bit.

    When we try to activate the edit controls (f.e. RadComboBox) via the touch pen, they do not become active. Controls are provided by InlineUIContainer  on the object RadDocument. 

    The result is that data can not be replaced via the touch pen. Edit controls have focus only for a fraction of a second, and then focus is lost.

    When working with mouse there was no such problem. Installing other drivers for the touch pen did not help.

    Problem occurs only for objects placed on the object RadDocument.

    Version of Telerik software is 2013 Q2.

    Best regards

    Daniel Gontarek
  2. Svetoslav
    Admin
    Svetoslav avatar
    55 posts

    Posted 03 Jul 2014 Link to this post

    Hello Daniel,

    Thank you for contacting us.

    My attempts to reproduce the issue were not successful. That is why I kindly ask you to provide us more information about the issue that you described and the code that you have used to implement the InlineUIContainer in RadDocument. Also, are you experiencing the issue on other touch devices?

    Looking forward to hearing from you.

    Regards,
    Svetoslav
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Daniel
    Daniel avatar
    5 posts
    Member since:
    Aug 2012

    Posted 20 Aug 2014 in reply to Svetoslav Link to this post

    Hello,

    For example:
    - simple WPF application, on main window only RadRichTextBox (named
    radRichTextBox) control;
    - in OnLoad event such code:

    ComboBox combo = new ComboBox();
    combo.Width = 200;
    combo.Items.Add("First");
    combo.Items.Add("Second");
    Telerik.Windows.Documents.Model.InlineUIContainer container = new Telerik.Windows.Documents.Model.InlineUIContainer(combo, new Size(80, 20));
    radRichTextBox.Document.InsertInline(container);

    Regards,

    Daniel Gontarek

  5. Petya
    Admin
    Petya avatar
    975 posts

    Posted 22 Aug 2014 Link to this post

    Hi Daniel,

    I'm afraid we are still unable to replicate the issue you are observing. Could you please let us know whether this is the only device where you are experiencing the behavior? 

    Additionally, in your first post you mentioned RadComboBox, whereas the code snippet from your last reply shows a ComboBox. Could you please confirm whether the issue occurs in both cases?

    If the issue is observed with RadComboBox only, please try the following code and let us know what the results are:
    RadComboBox combo = new RadComboBox();
    TouchManager.SetIsTouchHitTestVisible(combo, false);

    Additionally, we would recommend making sure that the InlineUIContainer where a control is placed is as big as the control in it. Please try setting the proper dimensions to the container and check the behavior again.

    On a side note, RadDocument's InsertInline() method has been deprecated and I'd advise you against  using it. Instead, you can use the InsertInline() method of RadRichTextBox like this:
    radRichTextBox.InsertInline(container);

    I hope these suggestions are useful.

    Regards,
    Petya
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
Back to Top