I would like to set columns in the Gridview as unique name. The Gridview is in unbound mode.
How can I proceed?
WinForms v 2020.1.218.40
Editing an decimal element in a RadPropertyGrid causes the data to be rounded to 2 decimal places.
pre-edit:
editing:
post edit (no user made changes):
The desired behavior is to preserve at least original precision.
Setting the DecimalPlaces property on the BaseSpinEditorElement in the EditorInitialized event handler to 12 as suggested here: https://www.telerik.com/forums/propertygrid-rounding
caused this behavior when editing:
and post-edit (no user input):
Suggestions?
Hello,
I am developing a hierarchical radgridview using winform. I am able to retrieve data from the database (bound data). I would like to enable users to add multiple rows in the same radgridview and then save everything to the database. I have developed another radgridview that allows users to enter data. but I want to perform these functionalities into one radgridview.
When I am trying to do that, the system says: " Rows cannot be programmatically added to the datagridview's row collection when the control is data-bound".
Can you help me with this please?
Thank you
I have a RadTextBox data bound to an Decimal field (12,9). When the user hits the "DELETE" button on their keyboard to blank out that field's value, the value is cleared out, but the user cannot exit the control until the user enters a value of some kind (Alpha or Numeric). This is not the desired outcome that we would like. What I would like to happen is for the bound field's value to be set to null. Can anyone help me with code sample please. I have tried also using a MaskedEditBox with a MaskType of Numeric and Mask of F9, but this also gives us undesired results (0.0000000) when user clicks the DELETE button on their keyboard.
Thank you.Text
Is there a way to capture when the "Clear Button" in the RadTextBox/RadTextBoxControl is clicked?
Thank you
This happens on both a RadMenu and a RadContextMenu.
I have a contextmenu tied to a text box. THere are 2 items on the context menu. One is defined as RadMenuItem, one is defined as cMyMenuItem.
My Code:
Public Class cMyMenuItem
Inherits Telerik.WinControls.UI.RadMenuItem
Sub New()
End Sub
End Class
Now, when the program is run, the menu item defined as RadMenuItem is fine, but the one defined as cMyMenuItem has a heavy border around it.
What do i need to setup in my class so the border isn't there.
I read in a previous forum post about changing the column display order by using the MOVE argument.
My question is does that really move the COLUMN or just where it is displayed?
With the standard windows listview, you can change the DisplayIndex, which only displays where that column is displayed, but the index of the column doesn't change, only the display index.
When you do a move, is it really moving the INDEX of the column
For example
Vendor # Name Contact Name
Move
Vendor # Contact Name Name
These are my columns in a DetailsView RadListView. If i move name from column 2 to 3 (or 1 to 2 is zero-based), is the DISPLAY only changing, or the actual index of the column. After the MOVE, to get the contact name of the selected column, is that index 2 or is it still the original index 3?
I have a radlistview setup for viewtype=DetailsView. The HOME/END keys work, but the Page up/down only move the scroll area, not the selected item.
You will notice when running the below code, page up/down will always keep the selected item as FIELD 0 (the top one), but END moves the select to the last entry, and HOME moves the select to the first entry.
How can i get the page up/down to move the selected item. I am probably just missing something really simple that i can't seem to find.
ListViewDetailColumn1.HeaderText = "Column 0"
ListViewDetailColumn1.Width = 100.0!
ListViewDetailColumn2.HeaderText = "Column 1"
ListViewDetailColumn2.Width = 100.0!
Me.RadListView1.Columns.AddRange(New Telerik.WinControls.UI.ListViewDetailColumn() {ListViewDetailColumn1, ListViewDetailColumn2})
Me.RadListView1.ItemSpacing = -1
Me.RadListView1.KeyboardSearchEnabled = True
Me.RadListView1.Location = New System.Drawing.Point(200, 72)
Me.RadListView1.Name = "RadListView1"
Me.RadListView1.Size = New System.Drawing.Size(296, 208)
Me.RadListView1.TabIndex = 2
Me.RadListView1.ViewType = Telerik.WinControls.UI.ListViewType.DetailsView