Telerik Forums
UI for WinForms Forum
1 answer
205 views

We would like to draw a red border around the camera stream while video is recording. I tried attaching ot the StartRecording event and modifying the UI internals:

 ((Telerik.WinControls.UI.RadWebCamElement)(radWebCam1.GetChildAt(1))).DrawBorder = true;
 ((Telerik.WinControls.UI.LightVisualElement)(radWebCam1.GetChildAt(2))).BorderBoxStyle = Telerik.WinControls.BorderBoxStyle.SingleBorder;
 ((Telerik.WinControls.UI.LightVisualElement)(radWebCam1.GetChildAt(2))).BorderWidth = 8F;
 ((Telerik.WinControls.UI.LightVisualElement)(radWebCam1.GetChildAt(2))).BorderColor = System.Drawing.Color.Red;

 

and it sortof works.. the border reduces size, and isn;t shown at the bottom. I have the 

 radWebCam1.ControlPanelHeight = 0;

because we are adding custom controls.  but when we StopRecording and I execute

((Telerik.WinControls.UI.RadWebCamElement)(radWebCam1.GetChildAt(1))).DrawBorder = false;

the border is not hidden.

The camera control is docked on teh form next to a collapsible panel, If I expand the panel, the border goes to full size.  But it still doesn't hide when I set DraBorder to false.

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 31 Mar 2022
1 answer
144 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
242 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
131 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
196 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
137 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
884 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
135 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
324 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
440 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
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)
Form
Chart (obsolete as of Q1 2013)
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
SmartPasteButton
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?