Telerik Forums
UI for WPF Forum
3 answers
108 views
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,



C
Top achievements
Rank 1
 answered on 01 Oct 2014
1 answer
204 views
Hi,

When the radgridview AddNewRowPosition property NewRowPosition is set to Bottom and the grid doesn't have any items, the add function is hidden. This means I cannot add any new items.
It's working when I set the property to 'Top', but I want the items to be inserted at the bottom..

Is this a known bug? Is there a workaround available?

Thanks,
Jorik
Yoan
Telerik team
 answered on 01 Oct 2014
1 answer
83 views
Hello,

I have a simple application containing a RadGridView with the ItemsSource binded to an ObservableCollection of elements. I use the RowLoaded event to set the background of the cells and it works fine.
Here is the code i use in the RowLoaded:
            string colorStr = "#5cfc56";
            SolidColorBrush b = new SolidColorBrush();
            b.Color = (Color)ColorConverter.ConvertFromString(colorStr);
            var cell= (from a in e.Row.Cells where a.Column.UniqueName == "a" select a).FirstOrDefault();
            cell.Background = b;
            cell.ToolTip = "aaaas";

The problem is that when i refresh the ObservableCollection with new elements the grid does not apply the background color to the rows in spite of launching the RowLoadedEvent however the Tooltip of the cell works.

Is there something i'm doing wrong here?


Tanks.







Yoan
Telerik team
 answered on 01 Oct 2014
2 answers
212 views
Hi,

We are trying to create a workflow using Raddiagram, and after adding shapes and connection the diagram looks like attached image. I am looking for formatting the connections in a way they are more better like am seeing in the demo for swimlan diagram, But am finding difficulties to format the connections. Can you please help me with this.

Thank you
Muthukumar
Top achievements
Rank 2
 answered on 01 Oct 2014
1 answer
107 views
I've already changed the diagram's activetool to the pan tool, but this does not seem to take affect when the mouse is over a container shape, some of my container shapes are very large, and I don't really need the capability to select them, so is it possible to make the mouse pan while over a container shape?
Martin Ivanov
Telerik team
 answered on 01 Oct 2014
1 answer
82 views
Hi,

I would like to know if it's possible set a value to the HighlightedIndex property of the RadListBox part in the AutoCompletBox?

Thank's
Alain
Kalin
Telerik team
 answered on 01 Oct 2014
12 answers
374 views
Hi All,
Can you please see this video: https://www.youtube.com/watch?v=UtJ85t8URUU

I move to next column with tab. Currently when I am on the last column and click tab the cursor go to next row first editable column.
How can go do a grid.BeginInsert() and go there to add a new item and not to go on edit row in next line. We need this only when tab is clicked from the last column.

Regards
Boris
Telerik team
 answered on 01 Oct 2014
0 answers
92 views
Hi,

using c# - wpf - NET 4.5

we have to create a dynamic mask. Our application should get a mask with fields, ids, position from a extern file.
Later the user should edit this mask, so we have to save the changes.

Is this possible and how can we do this?

Thanks a lot
Best Regards
Rene
ITA
Top achievements
Rank 1
 asked on 01 Oct 2014
1 answer
89 views
Hi,

I am trying to call rad schedule view drag drop behavior in a menu item click. Similar to copy and paste from one grid to another.
We already have drag drop code in place which will work with DragDropState as input parameter. Is it possible to pass our custom drag drop state with our list of DestinationSlots and DraggedAppointments to drop method? So that, we can use the same code which used for drag drop in menu click also.

Regards,
Sugumar P
Sugumar
Top achievements
Rank 1
 answered on 30 Sep 2014
3 answers
226 views
Whenever I place a RadDocking control in my views (usually UserControl) in order to have RadSplitContainer, RadPane, etc that I can rearrange, tear off etc. I loose the ability to manipulate the view in the Design pane of the designer.  Everything looks fine, I can edit the Xaml to my heart's content, and when I run the application everything works great.

But Clicking anywhere in the Design half of the designer just highlights the rectangle of the entire RadDocking control.  This makes it impossible to click on any child controls.  The focus is normally synchronized between the Xaml and Design halves of the designer, so moving the caret in the Xaml moves the focus in the Design, and vise-versa.  But once a RadDocking is added as a containing control, all that stops working.

I can live without the abilitity to actually change the child controls directly in the Design view because I almost always just directly edit the Xaml.  But the loss of the ability to select and more so the synchronized highlight is really killing my productivity on complex views. Namely because when there are many nested controls and a LOT of Xaml I can't just "jump" to the correct markup by clicking the control, and conversely when I click on Xaml markup I can no longer see in Design exactly which control I'll be effecting with changes.

So is the problem I'm having with the RadDocking and designer interaction a deficiency in the control, the VS2013 designer, or something else?
Georgi
Telerik team
 answered on 30 Sep 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?