Telerik Forums
UI for WinForms Forum
1 answer
125 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
116 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
132 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
157 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
598 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
610 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
105 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
102 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
117 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
1 answer
207 views

I have a hierarchy

public class Corner
    {
    public string Name { get; set; }
    }
 
public class Fillet : Corner
    {
    public double Radius { get; set; }
    }
 
public class Chamfer : Corner
    {
    public double Distance1 { get; set; }
    public double Distance2 { get; set; }
    }

and a business object,

public enum CornerMode
{
Fillet,
Chamfer
}
 
public class CornerAttribute
{
public CornerMode CornerMode {get;set;}
public Corner Corner {get;set;}
}

 

I will assign a subclass instance according to the CornerMode. How to switch the type convert at runtime so that the property Corner can be expandable?

Dimitar
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)
Chart (obsolete as of Q1 2013)
Form
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
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
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
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
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?