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

Problem with Controls on RadDocument

3 Answers 84 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 01 Jul 2014, 07:59 AM
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

3 Answers, 1 is accepted

Sort by
0
Svetoslav
Telerik team
answered on 03 Jul 2014, 02:37 PM
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.
 
0
Daniel
Top achievements
Rank 1
answered on 20 Aug 2014, 11:49 AM
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

0
Petya
Telerik team
answered on 22 Aug 2014, 02:59 PM
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.
 
Tags
General Discussions
Asked by
Daniel
Top achievements
Rank 1
Answers by
Svetoslav
Telerik team
Daniel
Top achievements
Rank 1
Petya
Telerik team
Share this question
or