Telerik Forums
UI for WPF Forum
2 answers
70 views
I currently have a diagram binding through the MVVM Telerik ViewModels.  This binds to simple properties just fine, with a template that has a few textblocks in it.  When I add a DataGrid to the template and set the ItemsSource to a property on that same object, it bombs terribly.  How do you add a datagrid to a diagram item and bind it to an observable collection?
Scott
Top achievements
Rank 1
 answered on 16 Sep 2015
2 answers
120 views

Hello,

 I would like to extend the Calendar control to add the SpecialDays-Feature. I was able to override the SelectTemplate function and return two different DataTemplates. I also added a list of dates to the control, all those days are shown bold red in the calendar. This works fine if IsTodayHighlighted is set to false - whenever I enable this feature, the style of my SpecialDay-Feature is overwritten. How can I modifiy the style of the today field, based on the list that is bound to the control?

 

Thanks in advance

ProXy
Top achievements
Rank 1
 answered on 16 Sep 2015
3 answers
656 views
I have been creating and adding RadDiagramShape to the RadDiagram control at run time.
I wan to detect/capture the event whenever the shape is moved(dragged to change its position) on the RadDiagram control.
How can I do that?

I tried to do something like 
radShape.DragEnter += OnShapePositionChanged;


also tried
radShape.AddHandler(RadDragAndDropManager.DragQueryEvent, new EventHandler<DragDropQueryEventArgs>(OnShapePositionChanged));

Didn't work.
Help
Milena
Telerik team
 answered on 16 Sep 2015
7 answers
639 views
I want to get or set multiple cell values.
I have tested with this piece of code:

CellRange cellRange = new CellRange(0, 0, 5, 5);
CellSelection selection2 = worksheet.Cells[cellRange];
var vals = selection2.GetValue();

But the getvalue function does not act as expected.

I need this to cancel some performance issues. I discovered a heavy load when you read and write 100 cell values each second.
Nikolay Demirev
Telerik team
 answered on 16 Sep 2015
5 answers
379 views
Hi,

while evaluation RadGridView I'm wondering why in case of AutoGenerated columns bound to an DataTable
the HeaderText is taken from ColumnName instead of Caption.
All I found about this 'issue' is that old post:

http://www.telerik.com/community/forums/aspnet/grid/should-radgrid-bind-caption-field-of-datatable-colums-to-gridboundcolumn-headertext.aspx#404028

Telling that this might be changed in future, has this been changed or is there a other solution in MVVM environment (without doing it in code behind)?

Any help is welcome.

Regards
Thomas
Stefan
Telerik team
 answered on 15 Sep 2015
1 answer
160 views

How to draw RadBarcode128 (Telerik.Windows.Controls) in RadFixedPage (Telerik.Windows.Documents.Fixed.Model).

I have tried to export image  from Barcode as a FrameworkElement (BitMapImage) and draw this image into the RadFixedPage, but the quality of the image was very low. 

 

Thanks.

Peshito
Telerik team
 answered on 15 Sep 2015
5 answers
317 views

I have problem with sorting on GridView 

I have two number columns (integers) and when I click on the column header to sort it sorts them as string and not numeric values.

.xaml file

 <telerik:RadGridView x:Name="gridViewOrders"
                                     ShowGroupPanel="False"
                                     AutoGenerateColumns="False"
                                     CanUserSortColumns="True"
        RowIndicatorVisibility="Collapsed"
                                     IsFilteringAllowed="False">
                                <telerik:RadGridView.Columns>
                                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Order}"/>
                                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Account}" />
                                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}"/>
                                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Timestamp}"/>
                                </telerik:RadGridView.Columns>
   </telerik:RadGridView>​

 

cs file

 

 gridView​Orders.ItemsSource = tradesRepo.ListOfPendingOrders;​

 

 

Any ideas?

 

Thanks

Yoan
Telerik team
 answered on 15 Sep 2015
8 answers
266 views
Hi everyone, i'm displaying a simple window with a RadRichTextBox and a RadRichTextBoxRibbonUI as a modal dialog. I noticed that each time the modal is shown there's a significant spike in the application's memory usage, memory that never seems to be freed even after the dialog is closed. Eventually if the user opens the dialog enough time he/she receives an OutOfMemoryException.

Any ideas on what can be going on? I'm using version 2013 Q3

Thanks, Gonzalo
Tanya
Telerik team
 answered on 15 Sep 2015
5 answers
158 views

Hello,

I am catching MouseLeftButtonUp event. I select multiple items and then select one item from that multiple selected item (The focus and selection is now in one item). When MouseLeftButtonUp fires, it still displays the multiple selection count in SelectedItems.count. Is it a bug? how to do a work around? Thanks in advance. I am using file version 2015.2.728.45 Telerik.Windows.Controls.dll.

Riyadh
Top achievements
Rank 1
 answered on 15 Sep 2015
2 answers
111 views

Hi,

I have gridview in which I added some common group headers to group the columns logically. Depending on the context some of these logical groups have no data and therefore I hide them in the UI (IsVisible=false on DataLoaded event). On exporting the grid to Excel (.ExportToXlsx method) the Group Headers does not line up with the relevant columns. I put this down to the hidden columns so my solution was to first show all the columns (IsVisible=true), do the export and then hide the relevant empty columns again. However, now none of the group headers are exported.

 I capture the ElementExportingToDocument event and can see a CommonColumnHeaderRow element being exported but no CommonColumnHeaderCell element or the like (next element is HeaderRow).

Any thoughts?

Stefan
Telerik team
 answered on 15 Sep 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?