Telerik Forums
UI for WPF Forum
1 answer
183 views
Good afternoon.

Are trying to run an event in instaciado RadWindow inside a usercontrol, but returns me an error: Object reference not set to an instance of an object.

what could be the cause?
Yana
Telerik team
 answered on 07 May 2013
2 answers
100 views
Hi Everyone,

     Is there any way to get the total size (width/height) of columns/rows of a Pivot grid? 
     See attached file.

Thanks,
     
Randell
Top achievements
Rank 1
 answered on 07 May 2013
1 answer
103 views
Hi,

i've got a strange behavior when i try to remove a filter by using RadDataFilter's UI remove button (red cross).
Whenever i remove any CompositeFilter other than the root Filter, i've got the following exception.

System.NullReferenceException wurde nicht von Benutzercode behandelt.
  HResult=-2147467261
  Message=Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
  Source=Telerik.Windows.Controls.Data
  StackTrace:
       bei Telerik.Windows.Controls.Data.DataFilter.CompositeFilterViewModel.get_LogicalOperator() in c:\TB\221\WPF_Scrum\Release_WPF\Sources\Development\Controls\Data\DataFilter\CompositeFilterViewModel.cs:Zeile 47.
  InnerException:

I am using the 2013 Q1 SP1 controls. RadDataFilter is used in "unbound" mode.
The source property ist bound an IEnumrable<T> and AutoGenerateItemPropertyDefinitions is set to true.
The IEnumrable<T> has no items at all. It's only for auto generating the property definitions.
Even if i set no source property on RadDataFilter the above exception is thrown.
My RadDataFilter sits inside a Grid, the Grid itself is hosted by a UserControl which gets injected by Prism Region Manager.
When i use RadDataFilter directly on a Window without any Prism Regions Stuff then there seems to be no problem !?

Kind Regards
Kim 
Rossen Hristov
Telerik team
 answered on 07 May 2013
4 answers
171 views
Hello,
is it in some way possible that RadDataForm uses the IDataErrorInfo interface to validate user input and to show the according error messages?

Regards
Ivan Ivanov
Telerik team
 answered on 07 May 2013
3 answers
175 views
Is it possible to get a contour plot or customize one in telerik chart?
Petar Marchev
Telerik team
 answered on 07 May 2013
1 answer
120 views
I'm using a TextBox in a CellEditing template in a GridView for entering data.

The requirement is that we make sure that when someone clicks into the grid to edit, the data that is already in the text box be selected. Always. Always. The text should ALWAYS be selected when entering edit mode. We NEVER want to see the cursor until at least one new key is hit (arrow key, or other). The text should always be selected.

So I implemented some changes to the text box as outlined here:

http://stackoverflow.com/questions/660554/how-to-automatically-select-all-text-on-focus-in-wpf-textbox

That should in theory work for always selecting the text box.

However, I've found that the Grid View column, when going into edit mode, always UNSELECTS the selection if you click directly on the middle of the text. In other words, it gives me a cursor and no text selection.

Debugging into this, I've found that the culprit comes from one of the GridViewColumn classes calling "PlaceCaretOnTextBox". I want to avoid this.

Is there a setting in the column where I can get it to stop killing the selected text when entering edit mode?


Thanks,
Chad Lehman
20th Century Fox


Chad
Top achievements
Rank 1
 answered on 06 May 2013
3 answers
107 views
Hi all,

I am looking for a way to know which datapoints (or screen coordinates) are in range of my current zoom level.
I'm drawing specific stuff above the graph and don't want to change anything if the user clicks outside the graph.

Any ideas?

Kind regards,
Dwight
Tsvetie
Telerik team
 answered on 06 May 2013
14 answers
1.7K+ views

I have a WPF application which contains a window, which has a RadGridView control in it.  There's an action that I want to occur when the user double clicks on a row in the `RadGridView` control, or if they press the `Enter` key while a row is selected.

The `RadGridView` control currently has an event handler associated with the `MouseDoubleClick` event.  What I want to do is to execute the same code that's in the `MouseDoubleClick` event handler when the user presses the `Enter` key and a row is selected in the `RadGridView`.  I've already moved that code into a helper method that can be called from either place.

Right now, pressing enter while a row is selected in the RadGridView control causes the row after the currently selected one to be selected.  How do I change the behavior associated with pressing the Enter key?

Tony
Top achievements
Rank 1
 answered on 06 May 2013
10 answers
244 views
Hi ,
Can we expect RadRichTextBox for WPF within 2 months , ie by April 2011? We are eagerly waiting for that.
Regards,
RS
Boby
Telerik team
 answered on 06 May 2013
0 answers
86 views
Dear staff,
      it is possible to display the current page based on a selected item in the grid?
      The selection of the element can be done dynamically, but not the paging
      below the selected row.
     That is, the current page must act on the basis of where the selected row in the grid.

is it possible?

thanks in advice
AP
Alberto
Top achievements
Rank 1
 asked on 06 May 2013
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?