Telerik Forums
UI for WinForms Forum
1 answer
1.1K+ views

Very simple problem. 

How to get a CLB with only one item ever checked? There's a simple property to allow only single-select, but not one for 'only allow one box to be checked at a time'

How to do this, from inside the 'ItemCheckedChanged' event handler, without causing a stack overflow, as the previously cheked items are un-checked?

I feel this must be really easy - am I just missing something?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 01 Feb 2022
1 answer
63 views

Hi,

I'm looking for a way to forbid resizing a task but allow users to move them to another time.

If found issues about blocking events (https://www.telerik.com/forums/how-to-disable-edit-add-new-delete-items), but it implies to "cancelstart" on the dragDropService.

I can't find an event that gives me enough information to choose between "allow" and "cancel" modification if its "move" or "resize"

 

ps: I had to remove packages of the solution so it respects the 20MB limit, hope that won't cause any trouble.

 

Thanks for your time and help.

 

Simon.

 

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

hi 

what bottom border text box control not show after enable Embedded Label

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

I would be great if the RadProgresBar control was a bit more tolerant of values whih are > max value.

OK, so this is a programming errot, but the error message the user sees is a bit extreme - a .NET error.

Perhaps the Telelrik framework might just ignore these values which are > max value , and just set to 'max value'.

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

I've made the change to the App.config file to set to use the 'Fluent' Theme for all forms everywhere in the application:

 <add key="TelerikWinFormsThemeName" value="Fluent" />

..which looks perfect in the Designer, but the runtime is still using some other theme.

 Designer

 Runtime

 

 

The form does not specify a Theme, so I thought it would use the 'Fluent' theme which I specified.

Do I need to do something else to make the runtime form use the right theme? I'm confused....

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Jan 2022
1 answer
100 views

I'm experimenting thia for almost one week. I almost read every post in forum and also other sources. problem is simle. I want to flash a grid cell when value changes. It works them column and row count is small but when grid is in fullscreen form with 20 columns and lets say 100 rows, cells sometimes blink, sometimes not. I noticed that when you decrease blink time it doenst work. when you go up to 150 ms and up it works. this tells me it has something todo with refresh rate or something. same problem exists with other solution approaches in forum.

Can I kindly ask you yo provide a working a flashing cell sample. I really tried to use every event, every suggestion in this forum.... and also its not first time I face the problem. Last year I had again and at the end I gave up and didnt use flashing function in my project. But this time I reaaly need this.

And also I should mention that this is a very common practice nowadays, so radgrid should able to handle that.

best.

' at the form load event..   
radGrid1.DataSource = sampleDataTable()
   
Private Function sampleDataTable() As DataTable
        Dim table1 = New DataTable("prices")
        table1.Columns.Add("id")
        table1.Columns.Add("Symbol")
        table1.Columns.Add("BuyPrice")
        table1.Columns.Add("MarketPrice")
        For i = 1 To 20
            table1.Columns.Add("Extra Column " & i)
        Next
        For i = 1 To 100
            table1.Rows.Add(i, "Stock A, "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10")
        Next
        Return table1
End Function
    
Private Sub radGrid1_CellValueChanged(sender As Object, e As DataGridViewCellEventArgs) Handles radGrid1.CellValueChanged

        radGrid1.Rows(e.RowIndex).Cells(e.ColumnIndex).Style.BackColor = Color.Lime

        Dim t1 As Task = Task.Run(Sub()
                                      System.Threading.Thread.Sleep(180)
                                      radGrid1.Rows(e.RowIndex).Cells(e.ColumnIndex).Style.BackColor = oldcolor
                                  End Sub)

End Sub
    

Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click

' change some random cells

        Dim r As Integer = random.Next(1, 10)
        Dim c As Integer = random.Next(1, 6)

        radGrid1.Rows(r).Cells(c).Value = Now.ToLongTimeString

End Sub
    

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Jan 2022
1 answer
81 views

Hi all, I'm trying to do something very similar to the WPF Custom Shape example; add controls to a shape in some sort of container (panel,...)

WPF Example desired in Winforms

Is there a Winforms version of this example somewhere?

Future Request:  I think (IMHO) that there should be a section for this.  Defining a Custom Shape, Adding Controls, Setting Custom Connection Points, Adding the new shape to the Toolbox, Configuring the Properties Editor, and setting up Drag-Drop.  If you are creating a custom shape all of these are parts of the effort.  The Documentation is all spread out over each element with no real guiding document to cover what all is possible/necessary to get a working shape (that i could find anyway).

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Jan 2022
1 answer
92 views

Hi

Is there any way to use callout instead of tooltiptext in radstepprogress control

such that when i point to StepItemIndicatorElement the callout display the first header text

if yes , can you give me a sample please

Best regards

Atfat

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Jan 2022
1 answer
165 views

Hi

Is there any way to use callout instead of tooltiptext in radstepprogress control

if yes , can you give me a sample please

Best regards

Atfat

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Jan 2022
1 answer
130 views

hi

how show cell time like hh:mm

this code have error
GridViewDateTimeColumn column = (GridViewDateTimeColumn)this.radGridView1.Columns["Date"];

column.FormatString = "{0:hh.mm}";      //hour.minutes
thanks
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Jan 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
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
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
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
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
ColorBox
Callout
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?