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

I have a class like,

        enum ConstraintType
            {
            Horizental,
            Vertial,
            Slope,
            Offset
            }

       class Constraint

{

ConstraintType First {get;set;}

ConstraintType Second {get;set;}

}

I know the enum will be dropdownlist on the propertygrid.

I hope the candidate enum values of Second is Slope and Offset when the First equals Vertical. 

I want to know how to display limited enum value in dropdownlist according to some other property.

Thanks.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Feb 2020
1 answer
215 views

Hi,

I have 2 questions about Image Editor:

1- I want to make the image which i open to fulfill the whole area, how?

2- I want to control the vertical menu width, how?

3- I want to add a button on top of the opened image, but I want to that the drawings to appear on top of the added button, how?

4- I want to add an entry to the menu (flag) where when clicking it it adds an flag png image to the image where i can drag/drop it and draw on top of it, any idea?

Thx

Nadya | Tech Support Engineer
Telerik team
 answered on 07 Feb 2020
1 answer
980 views
Hi,
How to Implement Lazy load in RadGridView.
Waiting for your favorable response.
Thanks
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Feb 2020
8 answers
412 views

Hi,

I have a RadTreeView with MultiSelect = true. If I select more than one item in the tree and I right click the last selected item all items remain selected. If I right click any other of the selected items the current selection disappears and only the last clicked item is selected.

I'm using Telerik for WinForms Q2 2016.

You can test this behaviour with the WF Demo Application -> TreeView -> Selection

What can I do to keep the current selection?

 

Thanks in advance,

Peter

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Feb 2020
2 answers
114 views

Hi,

I Want custom cell in RadGridview. For enter data and also arrow button to view popup like Figure 1.

I am looking forward to your reply.

Thanks.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Feb 2020
10 answers
461 views
Hello,

When I try to instantiate a new RadGridViewExcelExporter I get a type is not defined error.  I have the Interop assemblies referenced and imported as well as:

Imports Telerik.WinControls.Data
Imports Telerik.WinControls.UI.Export

Has the location of the Exporter changed since the documentation was written?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Feb 2020
11 answers
467 views

I have a C# Outlook VTSO Add-in project that has issue regarding the behavior of the comboboxcolumn in a datagrid when using the mousewheel. The item just jumps to the first or last item when scrolling using the mousewheel, and also when pressing the up or down arrow while the dropdownlist is visible.

I tried to replicate the issue on a new Telerik C# Windows Forms Application but it seems that the issue only exist for C# Outlook VTSO Add-in projects. What I did was to add a dropdownlist and add more than 20 items and tried scrolling using the mouse wheel on both win form app and vtso addin. The issue only exist on the vtso addin.

Are there any workarounds about this?

Attached here are screen capture of outlook vtso addin and another for telerik windows form.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Feb 2020
5 answers
726 views
Is it possible to have a theme for the whole application and a different theme be set with SetTheme for the RadMessageBox? If I set the application theme, SetTheme has no effect. I see how I can override specific controls in your documentation, but the MessageBox is not a form control and, as far as I can see, the only way to set its theme is with the SetTheme function. Can I change the ControlDefault theme to, for example, Breeze, so my forms will automatically use the theme I want for the whole application? If so, how do I go about doing it?
Dimitar
Telerik team
 answered on 05 Feb 2020
12 answers
1.0K+ views
Hi,

Anyone know how to display string as password in RadPropertyGrid?
I've tried to use the PasswordPropertText attribute as the original PropertyGrid, but it is not working.

[PasswordPropertyText(true)]
public string Password  {get;set;}

I hope that telerik still maintain the original behaviour, to keep the control's usage intuitive.

Regards,
Laks
Nadya | Tech Support Engineer
Telerik team
 answered on 04 Feb 2020
4 answers
238 views

Hi...

i got some problem on my custom new row element according to this link, but on my code i made with button element

internal class CustomGridNewRowElement : GridRowElement
{
    private GridCellElement cellElement;
    private RadButtonElement radButtonElement;
    public RadButtonElement AddButtton => this.radButtonElement;
 
    public CustomGridNewRowElement() { }
 
    protected override void CreateChildElements()
    {
        base.CreateChildElements();
        this.cellElement = new GridCellElement(null, this) { StretchHorizontally = true, StretchVertically = true };
        this.radButtonElement = new RadButtonElement("Add New");
        this.Children.Add(cellElement);
        this.cellElement.Children.Add(this.radButtonElement);
        this.cellElement.ClipDrawing = true;
    }
 
    public override bool IsCompatible(GridViewRowInfo data, object context)
    {
        return data is CustomGridViewRowInfo;
    }
}
 
internal class CustomGridViewRowInfo : GridViewNewRowInfo
{
    public CustomGridViewRowInfo(GridViewInfo viewInfo) : base(viewInfo)
    {
    }
 
    public override Type RowElementType => typeof(CustomGridNewRowElement);
}

the problem is im missing an rowheadercellelement as shown on attachment, i need the Add Button only fit on GridViewDataColumns like a standard GridViewNewRowInfo,

and shown on 2nd attachment it throw an exception when mouse right button press / contextmenu on Add Button Element, i couldnt find whats wrong.

any help please.

 

Agung
Top achievements
Rank 1
 answered on 04 Feb 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
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
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
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?