Telerik Forums
UI for WinForms Forum
1 answer
182 views

I'd like to show a custom context menu when the user right clicks on an RadCheckedDropDownList item

What is the best way to do it?

 

I've tried setting the ContextMenuStrip property, as in:

    dropDownList.ContextMenuStrip = contextMenuStrip1;

but both my custom menu strip and the default context menu appears. See the attached image

 

 

Nadya | Tech Support Engineer
Telerik team
 answered on 23 Jan 2020
1 answer
166 views

Hi,

I have three GridViewComboBoxColumn in RadGridView. Each Combobox column has display name and selected value code. When I assign the value, corresponding values are assigning correctly. But when when I fetch the row, Code value is coming as null and code value is displaying in name. I have attached the image.

The following code I have used to bind data to GridViewComboBoxColumn.

 ((GridViewComboBoxColumn)this.dataGrid.Columns["Company_Name"]).ItemsSource = CompanyList;
 ((GridViewComboBoxColumn)this.dataGrid.Columns["Company_Name"]).DisplayMemberPath = "Company_Name";
 ((GridViewComboBoxColumn)this.dataGrid.Columns["Company_Name"]).SelectedValueMemberPath = "Company_Code_Hdn";

Vladimir Stoyanov
Telerik team
 answered on 23 Jan 2020
2 answers
180 views

Hello.

I want to know about how to visible the minimizeButton in 'Floating Window'.

private void CtrlWorkbenchDoc_FloatingWindowCreated(object sender, FloatingWindowEventArgs e)
        {
            e.Window.FormElement.TitleBar.MinimizeButton.Visibility = ElementVisibility.Visible;
            e.Window.FormElement.TitleBar.CloseButton.Visibility = ElementVisibility.Collapsed;
            e.Window.ControlBox = true;
            e.Window.MaximizeBox = true;
            e.Window.MinimizeBox = true;
        }

I wrote the above code but minimizeButton were not showed in 'Floating Window'.

So, I want to know about another ways. 

Thanks.

Kim
Top achievements
Rank 1
 answered on 23 Jan 2020
3 answers
188 views

How do I change the mouse icon to the hand when user hovers the mouse over the items in the DDL?

 

Nadya | Tech Support Engineer
Telerik team
 answered on 22 Jan 2020
1 answer
248 views

I've bound a RadBinding Navigator to a binding source

every thing is ok Before any event is fired like 

Move to first item 
Move to previous item  
Move to next item  
Move to last item 

unfortunately after One of the above event is fired , all the buttonS (first ,previous,next,last ) Get Disabled.

Can You Help Me?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Jan 2020
3 answers
688 views
Is there any way to implement a panel or a form that displays when a user hovers over or clicks on a cell in the grid? 

I've looked at the code on how the combobox does its dropdown, using the PopupForm class, but i haven't had any luck.

What about a button that shows a drop down? basically a combobox without the textbox aspect. I want to be able to put the contents of a usercontrol on to the popped-up panel.
Nadya | Tech Support Engineer
Telerik team
 answered on 20 Jan 2020
6 answers
709 views

I want the cell value from RadVirtualGrid as the user selects a row.

 

I don't have multi-select enabled.... And, I have row select.... So, there should be only one row selected at a time.

 

I'd like the text or number that appears in one of the columns. For example, the text value of the first column (0)

 

How is this obtained?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Jan 2020
5 answers
185 views

Hello,

why isn't my header shown like inside the designer?

Thank you for helping.

Regards

Dimitar
Telerik team
 answered on 16 Jan 2020
1 answer
165 views

I have a business object ,

public class Person
{
public string Name {get;set;}
public bool Show {get;set;}
public class Company {get;set;}
}
 
public class Company
{
public string Name {get;set;}
public string Address {get;set;}
}

 

I expect that Company will hide when the Show is false, and vise versa.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Jan 2020
1 answer
173 views

I have a customize object just like this.

01.public class Person
02.        {
03.        [CategoryAttribute("Personal Info.")]
04.        public Name Name { get; set; }
05.        [CategoryAttribute("Personal Info.")]
06.        public int Age { get; set; }
07.       [CategoryAttribute("Profession Info.")]
08.        public Profession Profession { get; set; }
09.        }
10. 
11.      public class Profession
12.        {
13.        private Title title_;
14. 
15.        public string Company { get; set; }
16.        public string Address { get; set; }
17.        public Title Title
18.            {
19.            get { return title_; }
20.            set
21.                {
22.                title_ = value;
23.                if (title_ == Title.Manager)
24.                    {
25.// hide property subordinates
26.                    }
27.                else if (title_ == Title.Developer)
28.                    {
29.// show property subordinates
30.                    }
31.                }
32.            }
33. 
34.        public List<Person> Subordinate { get; set; }
35.        }

 

Is there a way to show or hide Subordinate according to the property Title? When I selected the Title with Manager, the subordinate will appear. When I selected the Title with Developer, the subordinate will hide.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Jan 2020
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
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
ScrollablePanel
DataEntry
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
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?