Telerik Forums
UI for WinForms Forum
2 answers
2.1K+ views

Hi,

Is it possible to open a context menu's sub menu item programmatically?

I have a context menu with sub menu items, as shown in the attached image.

I know how to show the context menu in a particular location but I can't find a way of also opening/expanding sub menu "Item 2" so that menu items "Sub item 1" and "Sub item 2" are shown to the user.

Not sure if it make any difference but, the context menu is activated by right click on a RadGridView. 

Thanks,

Arash


Arash
Top achievements
Rank 1
Veteran
 answered on 19 Feb 2021
1 answer
182 views

Hello,

is it possible to show pop-up infos (like in Windows everywhere) to your controls? A search doesn't Show ANY Information About that which surprises me extremely. Especially I want to show the complete entry of this RadDropDownList when it is too Long to show in the list.

Thank you in advance!

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Feb 2021
4 answers
183 views

How do you align the text in the TextBox area? 

I tried both CheckedDropDownListElement.EditableElement.TextBox.Alignment

and also CheckedDropDownListElement.TextBox.Alignmentbut but neither has any affect.

It is always TopLeft.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Feb 2021
1 answer
298 views

Hello,

We are having an issue with our application on high DPI monitors. When the PdfViewer loads a document, it resizes the whole application. The issue only occurs with the published application. It does not happen on debug mode. See attached video.

Thank you,

video: https://drive.google.com/file/d/1N_JkCRQ6GNOYgsL3PrwOYm0hOBPpaGn8/view?usp=sharing

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Feb 2021
5 answers
1.6K+ views
When I drop a RAD control on a form, the control does not show on the design surface of the form - it goes to the components section of the form (where timers and dialogs components are shown).

Do I have a bad build? I'm using the .dll's only, not a full install of the 2011 Q1 release.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Feb 2021
5 answers
187 views

Hi,

I need to host radpopupeditor in radcommandbar. i know i have to use radHostItem. It was possible to do but there was no way to set the associatedControl for the popupeditor because its Element does not have this property. here is the code i managed to get so far:

 

            Dim cont As New RadPopupContainer
            cont.Controls.Add(New tempControl With {.Dock = DockStyle.Fill})
            Dim pop As New RadPopupEditorElement
            pop.??? = cont
            hostFilter.HostedItem = pop

Nadya | Tech Support Engineer
Telerik team
 answered on 12 Feb 2021
1 answer
149 views

Hello I have a problem with operators wrapped with special characters.

For example when registering the parentheses as operators it works if the previous and next characters are not special characters like the example below.

select SUM(firstColumn) from myTable;

But if the previous or next character of parentheses is a special character, it does not recognize the parentheses as operators.

select SUM(*) from myTable;

How can I make it so that the registered operators are highlighted even if it is wrapped with special characters?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Feb 2021
1 answer
123 views

I have two problems with SyntaxEditor.

First problem is when any special characters are followed by -- other than a space, it is not treated as comment.

How can I make it so that it understands the second comment below is a comment line? (Any way to override a comment REGEX?)

-- testing working comment
--- testing not working comment

 

Second problem is when the keywords wrapped around with any special characters in a non-keyword are recognized as a keyword.

In other words, the word TEST_TABLE is one word and is NOT a keyword, but because TABLE is a keyword and it is wrapped with _ and a end of line, TABLE is highlighted.

How can I make it so that those keywords to be highlighted only when it is wrapped with start of line, end of line or a space? 

SELECT * from TEST_TABLE

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Feb 2021
5 answers
353 views

I have toggle switches to mark a day of the week as closed.  The event sender is RadToggleSwitchElement and not RadToggleSwitch.  I need to get RadToggleSwitch.Name to extract the day of the week from the control's name which is then used down the line.

 

RadToggleSwitchElement.Name = null

RadToggleSwitchElement.Parent.Name = null 

 

How can I get the name of the RadToggleSwitch in the ValueChanged event handler?

 

TIA

Memo
Top achievements
Rank 1
Iron
Veteran
 answered on 11 Feb 2021
3 answers
3.8K+ views

Is it possible to restrict the selections and shown options to just be the month and year and not show the days?

 

I have set the format to MMMM yyyy - which all works fine, I just do not want the days to show up to select from, just the months and year.

 

I have attached how the picker currently looks, but I do not want the calendar.

 

Thanks in advance.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 10 Feb 2021
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
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?