Hello,
When creating a raddocument, if you create a table add it, then create another table right after it, the expected functionality is not there. Using the sample code found at "http://www.telerik.com/help/wpf/radrichtextbox-features-document-elements-tables.html", moving the creating of the table to a function and then doing the following causes the program to select more than desired.
RadDocument document = new RadDocument();
Section section = new Section();
section.Blocks.Add(new Paragraph());
section.Blocks.Add(CreateTable());
section.Blocks.Add(CreateTable());
section.Blocks.Add(new Paragraph());
document.Sections.Add(section);
radRichTextBox1.Document = document;
Now if I hover over the second table, and press the "select all" icon that appear in the upper left hand corner, it will select the table as expected, and the last row of the previous table.
Since the RadDocument does not support list indenting, before I go to print a document, I have to fake it out by creating a bunch of tables/paragraphs to create this functionality. So a document that has lets say, 100 tables, if you click in the upper left hand corner, it will crash the program either right away giving a cannot convert error, or after freezing it will wait a bit and then run out of memory.
The above functionality is negated of course if I insert a paragraph in-between tables, however that is not the desired functionality and kind of a waste of resources.
So is there anyway to ensure the grid cannot have the "Select All" icon appear? If not, is there anything I can do other than inserting something in-between the tables? If I do have to insert something in-between the tables, is a Paragraph my best bet?
Thanks and Kind Regards,
When creating a raddocument, if you create a table add it, then create another table right after it, the expected functionality is not there. Using the sample code found at "http://www.telerik.com/help/wpf/radrichtextbox-features-document-elements-tables.html", moving the creating of the table to a function and then doing the following causes the program to select more than desired.
RadDocument document = new RadDocument();
Section section = new Section();
section.Blocks.Add(new Paragraph());
section.Blocks.Add(CreateTable());
section.Blocks.Add(CreateTable());
section.Blocks.Add(new Paragraph());
document.Sections.Add(section);
radRichTextBox1.Document = document;
Now if I hover over the second table, and press the "select all" icon that appear in the upper left hand corner, it will select the table as expected, and the last row of the previous table.
Since the RadDocument does not support list indenting, before I go to print a document, I have to fake it out by creating a bunch of tables/paragraphs to create this functionality. So a document that has lets say, 100 tables, if you click in the upper left hand corner, it will crash the program either right away giving a cannot convert error, or after freezing it will wait a bit and then run out of memory.
The above functionality is negated of course if I insert a paragraph in-between tables, however that is not the desired functionality and kind of a waste of resources.
So is there anyway to ensure the grid cannot have the "Select All" icon appear? If not, is there anything I can do other than inserting something in-between the tables? If I do have to insert something in-between the tables, is a Paragraph my best bet?
Thanks and Kind Regards,