Telerik Forums
UI for WinForms Forum
3 answers
199 views

Hi all,

I wish to open a DropDown list in a context menu when a user right click on a GridView cell and handle the click event on an element of this DropDown list.

I am a bit lost between the GridView context menu documentation and the one specific to general context menus

I tried using the RadMenuComboItem (as described in this document) but the result is no satisfactory.  

Would someone have a simple example on how to do this ?

Many thanks

Patrick

Patgat
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 13 Jan 2023
1 answer
222 views

Does anyone know if it's possible to change the behaviour of the Spreadsheet column 'autoFitWidth' method?

It does exactly what it says, and changes the column width to fit the contents of the column. My problem is that it's TOO good, and everything looks a bit squashed:

What I would like is to add a bit extra to the columns :

I think it just looks a bit more friendly.

Dimitar
Telerik team
 answered on 13 Jan 2023
1 answer
290 views

Hi,

I've been searching now for hours for something that should be simple so I ask it here.

The radGridView got a area where columnheaders can be dropped. The panel has the default text: Drag a column here to group .... See also the attached image.

I want to change the height of that area but can't figure out how. Help would be appreciated.

Regards,

Daniel

Dinko | Tech Support Engineer
Telerik team
 answered on 12 Jan 2023
4 answers
474 views
I have a thread that connects to a service. All is well there. I am able to show MessageBox and forms from it.

The problem occurs when I try to plug in the desktopalert to show a message instead of using a form or MessageBox.  I get a black box down next to my task manager and if I click it I get an non response message fom windows.

How can I show an alert from a thread which isn't the main thread? I do not want to use backgroundworker and my component doesn't have Invoke() available.

Thank you.
Dess | Tech Support Engineer, Principal
Telerik team
 updated answer on 12 Jan 2023
1 answer
126 views

Hello everyone!

EDIT: Also read the comment!

I'm currently moving some projects from DotNetBar to Telerik UI WinForms and trying a bit around the HTML makrup feature.

Is there a way to hook to an event to provide a custom way to resolve the "src" attribute of the "img" node, like in DotNetBar (see picture)? I searched thorugh all the assemblies using the IDE and I searched throw the forum, but yet I'm still not sure if there is maybe already an option for and I just can't find it.

With this custom handling it would be possible to use already loaded images or provide images from a custom destination e.g. from a ResX file. All my images and icons are stored in ResX files and I really want to avoid to put some of icons also as embedded ressource because they are already available within a resource file itself.

(Tagged as "Label" as "Markup" or "Html" does not exists and here I want to put the text into a RadLabel.)

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Jan 2023
1 answer
187 views

Hi, 

how can i do?

i need to Mantain the value of text when not match with the list radmulticolumncombobox

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Jan 2023
0 answers
138 views

I seem to spend a lot of time searching through the properties of controls, trying to find out why one looks just a little bit different from another.

Todays example:

why is the (x) button slightly out of allignment with the other three ?

Does anyone know of a way to do a comparison of all of the properties of two controls of the same type (even when those controls are LayoutControlItems) to make this easier? Telerik adds so many more properties, many of which are only visible in the Telerik property Builder UI, and that is modal, and has loads of properties to check.

Any ideas? Or is there a simpler way of doing this?

Ian
Top achievements
Rank 2
Bronze
Bronze
Iron
 asked on 10 Jan 2023
0 answers
106 views

RadControlSpy

So if I wanted to modify a value (example: Visible = Collapse) in this highlighted element of RadScheduler. How do I do that? 

Thomas
Top achievements
Rank 1
 asked on 09 Jan 2023
1 answer
106 views

I am trying to mousedown on a appointment in the scheduler and want to grab the EventId and place into a variable that I declared.

My Scheduler is in Timeline / Resource View mode.


 private void radScheduler1_AppointmentMouseDown(object sender, SchedulerAppointmentMouseEventArgs e)
        {
           
            
        }
Anyone?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Jan 2023
1 answer
268 views

Here is some sample code:

Imports Telerik.WinControls
Imports Telerik.WinControls.UI

Public Class RadForm1
    Private Sub RadForm1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        RadOverlayManager.Show(Me)
        For x = 0 To 1999999999

        Next
        RadOverlayManager.Close()
        RadMessageBox.Show("You will never see this.", "Nope", MessageBoxButtons.OK, RadMessageIcon.Info)
    End Sub
End Class

What you'll see is, the overlay will appear and disappear as expected.  However the radmessagebox will never appear. 

If you comment out the overlay lines, then the message box will appear.

Looks like a threading issue, but I'll leave that to the professionals to figure out. =)

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