Telerik Forums
UI for WinForms Forum
4 answers
175 views

Can you explain why you forbid the empty char ?
As far as i can see you can set it in the exposed child element (maskEditBoxElement) and it is handled correctly if set as empty.
I need it as empty, so i'm wondering if i'll run into problems that i currently can not see.

public char PromptChar
{
  get
  {
    return this.maskEditBoxElement.PromptChar;
  }
  set
  {
    if (value == char.MinValue)
      throw new ArgumentException("Specified Character is not valid for this property!");
    this.maskEditBoxElement.PromptChar = value;
  }
}
Tomislav
Top achievements
Rank 1
 answered on 23 Oct 2019
7 answers
730 views

Hi

 

I have got the following code in my form load function;

        da_products = New OleDb.OleDbDataAdapter(SQL_String, con)

        dt_Products = New DataTable

        'Create Datatable
        da_products.Fill(dt_Products)

        'Assign datatable to datagrid
        RadGridView1.DataSource = dt_Products
        RadGridView1.Columns(0).Width = 100
        RadGridView1.Columns(1).Width = 300

    End Sub

This displays the database as expected (two text fields and around twenty tick boxes).

 

I then have a button to allow me to save the RADGRIDVIEW back to my database, but this does not work and comes up with error

System.InvalidOperationException: 'Update requires a valid UpdateCommand when passed DataRow collection with modified rows.'

 

Code in update button;

 

    Private Sub CmdDatabaseSave_Click(sender As Object, e As EventArgs) Handles cmdDatabaseSave.Click
                da_products.Update(dt_Products)

  End Sub

 

da_products and dt_Products are defined as global

  Public da_products As OleDb.OleDbDataAdapter
    Public dt_Products As DataTable

 

Thanks

Neil

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Oct 2019
1 answer
317 views
I have upgraded my project to Version=2019.3.917.40 but the tool box is stuck at 2019 R2  I have tried the update with Tools -> Extensions and updates but it is still stuck.  How do I get the toolbox to force an update.
Yana
Telerik team
 answered on 23 Oct 2019
8 answers
344 views
hello sir , im using your telerik library . sir we  are using the radial gauge but i want to use my real time data to move the needle of the gauge , can u please help me out how we can do the programming .
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Oct 2019
21 answers
1.5K+ views

I want to add a column to the GridView that will allow me to assign and display multiple values for an item.

For example, imagine you want to track the types (home, office, cell) of telephone numbers for users. Note, this is not my actual requirement.  A user can have multiple telephone number types. I don't want to display two separate rows in the GridView for the same user, though. I want to display one row per user, and have the telephone types column allow the display and assignment of multiple telephone number types (e.g., home, office, cell).

A co-worker came up with the idea of creating a User Control that would contain a combobox control to allow the user to select the telephone number types in the combobox and display the selected values in a listbox below it. I specifically chose types for this example, because there's a limited, known set of them-- that's where the idea of the combobox control came in, that is, I need to choose from a limited set of choices.

I looked at the Forums blog titled, "Possible to Add a User Control a A Grid Column," at the following url:
 http://www.telerik.com/community/forums/winforms/gridview/possible-to-add-a-user-control-to-a-grid-column.aspx 
 . . . and tried to implement the solution therein, but when I tried defining a variable of type GridViewDataColumn I got the following design-time error message:
 'New' cannot be used on a class that is declared 'MustInherit'.

I also tried defining a variable of GridViewColumn, but got the same error message.

Is there a way to add a User Control to a GridView?

As a separate, but related issue, can I add a LinkLabel control to the GridView, and can the GridViewComboBoxColumn display multiple selections?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Oct 2019
3 answers
120 views

Hi,

We need to remove the local row option in scheduler from the day view. Screenshot mentioned below for your reference.

screenshot

Nadya | Tech Support Engineer
Telerik team
 answered on 22 Oct 2019
1 answer
113 views

Hi,

I think this question has been done before, but I wasn't able to find it.

Is it possible to use a Property in a "editors always active" mode?

Thanks

Nadya | Tech Support Engineer
Telerik team
 answered on 22 Oct 2019
1 answer
271 views

How do you remove the arrows on the right had side and the New folder button from the Explorer control.  I want to open the form to a specific folder and then only allow upload, download, to that folder.  I have been able to remove everything else but cannot find these settings.

This is 2019 R2

 

 

Dimitar
Telerik team
 answered on 22 Oct 2019
9 answers
150 views

Hello Admins,

I want to develop a Responsive DataGrid Record insertion.

Like When I have to add Data from List<Objects>.

  • I want to Show RowByRow insertion.
  • How can i show waiter control while loading the data From the List.

What will be Best Solution can be applied in both scenarios.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Oct 2019
1 answer
169 views

Hello,

am I missing something or there's no way to set the autocomplete mode to a PropertyGridDropDownListeditor?

 

var editor = new PropertyGridDropDownListEditor();
editor.DropDownStyle = RadDropDownStyle.DropDown;
// nope:
// editor.AutoCompleteMode = AutoCompleteMode.SuggestAppend;

 

Thanks.

Nadya | Tech Support Engineer
Telerik team
 answered on 18 Oct 2019
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?