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

Cannot add inline, which does not have at least one position.

1 Answer 236 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Neil Chow
Top achievements
Rank 1
Neil Chow asked on 16 Nov 2011, 08:37 AM

Posted on Aug 19, 2010 (permalink)

I'm getting this error when trying to load xaml:
Cannot add inline, which does not have at least one position.

Here is the xaml it is trying to load:

                        <telerik:TableRow>
                            <telerik:TableCell>
                                <telerik:Paragraph>
                                    <telerik:Span Text="Operating Manager:" />
                                </telerik:Paragraph>
                            </telerik:TableCell>
                            <telerik:TableCell>
                                <telerik:Paragraph>
                                    <telerik:Span Text="{Binding Path=xx,Mode=OneWay}" />
                                </telerik:Paragraph>
                            </telerik:TableCell>
                            <telerik:TableCell>
                                <telerik:Paragraph>
                                    <telerik:Span Text="Report Type:" />
                                </telerik:Paragraph>
                            </telerik:TableCell>
                            <telerik:TableCell>
                                <telerik:Paragraph>
                                    <telerik:Span Text="{Binding Path=xx,Mode=OneWay}" />
                                </telerik:Paragraph>
                            </telerik:TableCell>
                        </telerik:TableRow>

Can't I use binding???
Are there some solutions for this issue?
Thanks.

1 Answer, 1 is accepted

Sort by
0
Boby
Telerik team
answered on 22 Nov 2011, 09:18 AM
Hello Neil Chow,
Please find an answer to your question in this forum thread. The spans are constantly merged/split when document is edited, so you cannot bind  them directly.
Don't hesitate to contact us if you have other questions.

Greetings,
Boby
the Telerik team

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

Tags
RichTextBox
Asked by
Neil Chow
Top achievements
Rank 1
Answers by
Boby
Telerik team
Share this question
or