We are making decision to purchase C1 components pack. We are interested in C1RichTextBox. When testing revealed a problem of this element:
We have a list. Elements of this list is C1RichTextBox(IsReadOnly=false). When I try to edit the text field under my list. After keyboard is rose, I constantly have crash.
Parameter is incorrect.
in System.Windows.dll!System.Windows.Size.Size(double width, double height) + 0x1e bytes
in C1.Phone.RichTextBox.dll!C1.Phone.RichTextBox.C1RichTextBox.ArrangeOverride(System.Windows.Size finalSize) + 0x6b bytes
in System.Windows.dll!System.Windows.FrameworkElement.ArrangeOverride(System.IntPtr nativeTarget, double inWidth, double inHeight, out double outWidth, out double outHeight) + 0×43 bytes
Please fix it. And please tell me when we will can download fixed version. On this depends our decision to purchase the components.
arkafss said 1 year, 1 month ago:
Hello. I have same problem. Any ideas?
I’ve tried to replicate this issue by putting several C1RichTextBoxes in a ListBox like below. I don’t see any error, so i am probably missing some key piece. Can you please elaborate on the issue or attach a sample?
<ListBox Name="listBox1"> <ListBox.Items> <ListBoxItem> <my:C1RichTextBox Name="c1RichTextBox1" Height="100" Margin="10"/> </ListBoxItem> <ListBoxItem> <my:C1RichTextBox Name="c1RichTextBox2" Height="100" Margin="10"/> </ListBoxItem> <ListBoxItem> <my:C1RichTextBox Name="c1RichTextBox3" Height="100" Margin="10"/> </ListBoxItem> </ListBox.Items> </ListBox>
I am running the 2012 v1 release version (build .237).
I wrote sample app( https://docs.google.com/open?id=0B-XC6_TDbXYnUGFidEtocW5za1U).
To reproduce problem you should set focus in TextBox that under list.
Attachments:You must be logged in to view attched files.
Thanks for the sample. I’ve notified development and they will take a look. I estimate a fix to be available on Monday April 16th.
Thanks for your reply.
I have 2 more questions. This questions is simple and I decided not to create a separate post.
1. Is there a standart mechanism to Copy selection in C1RichTextBox? Standart mechanism of WP7(Visualizing of button "Copy") do not work, after selection change in C1RichTextBox.
2. When I am scrolling list in my sample, text visualize with some delay(Maybe it is effect of virtualization). Is there possible to remove this effect?
Since the Copy button on Windows Phone only works for standard TextBoxes, it’s not free for C1RichTextBox. But with C1RichTextBox we can mimick the copy functionality because you can easily determine when the selection changed and where on the screen the selected text is displayed.
Attached is a sample which shows how to display a Copy button above selected text in C1RichTextBox.
2. I do not believe this is possible.
The earlier bug fix will be available in our weekly drop (build 241) on Monday. http://prerelease.componentone.com/hotfixes/
Attachments:You must be logged in to view attched files.Answer
The original issue of this thread has been fixed in the latest build available below.
ThanksViewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.