Telerik Forums
UI for WinForms Forum
1 answer
93 views

I would like to set columns in the Gridview as unique name. The Gridview is in unbound mode.

How can I proceed?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 31 Mar 2022
1 answer
185 views

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?

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 31 Mar 2022
1 answer
85 views

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

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Mar 2022
1 answer
102 views

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

Dinko | Tech Support Engineer
Telerik team
 answered on 30 Mar 2022
1 answer
101 views
radRibbonbar shortcut keytips in telerik c#, firsttime after open application key tips showing , second time not showing keytips in Radribbonbar
Dinko | Tech Support Engineer
Telerik team
 answered on 30 Mar 2022
1 answer
660 views

Is there a way to capture when the "Clear Button" in the RadTextBox/RadTextBoxControl is clicked?

 


Thank you

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Mar 2022
1 answer
85 views

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.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 Mar 2022
0 answers
249 views
When no data is entered into combobox, Width of the combobox is covering all the remaining Options (overlapping)
Naresh
Top achievements
Rank 1
Iron
 asked on 29 Mar 2022
1 answer
304 views

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?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Mar 2022
1 answer
119 views

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

 Private Sub RadListView1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadListView1.DoubleClick
        MsgBox("DoubleClick" & vbCrLf & RadListView1.SelectedItem(0).ToString)
    End Sub

    Private Sub RadListView1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles RadListView1.KeyPress
        If e.KeyChar = ChrW(13) Then
            MsgBox("KeyPress" & vbCrLf & RadListView1.SelectedItem(0).ToString)
        End If
    End Sub

    Private Sub LoadList()
        Dim lItem As Telerik.WinControls.UI.ListViewDataItem
        Dim cnt As Integer
        Dim selected As Boolean = False
        For cnt = 0 To 100 Step 1
            lItem = New Telerik.WinControls.UI.ListViewDataItem
            lItem.SubItems.Add(CStr(cnt))
            lItem.SubItems.Add("FIELD " & CStr(cnt))
            RadListView1.Items.Add(lItem)
            If Not selected Then
                RadListView1.SelectLastAddedItem = False
                selected = True
            End If
        Next
    End Sub

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Mar 2022
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?