Telerik Forums
UI for WinForms Forum
2 answers
95 views
Hello,

I created a new combobox class and used the RadDropDownList as base class, but when I override the CreateDropDownListElement function and return my own element, a black border appears:

public class TestComboBox : RadDropDownList
    {
        public override string ThemeClassName
        {
            get
            {
                return typeof(RadDropDownList).FullName;
            }
            set
            {
                base.ThemeClassName = value;
            }
        }
 
        protected override RadDropDownListElement CreateDropDownListElement()
        {
            //return base.CreateDropDownListElement();
            return new TestElement(this);
        }
    }
 
    public class TestElement : RadDropDownListElement
    {
        public TestElement()
        {
            //
        }
 
        public TestElement(object owner)
            : base(owner)
        {
            //
        }
 
    }

Stefan
Telerik team
 answered on 24 Jul 2013
2 answers
114 views
Hi,

we have a localization problem. We have done the localization of the grid view. But now we have the following behaviour: The user starts the application the first language. As requested by the customer, the layout of the grid will be automatically saved. Now the user changes the language. The application starts and loads the layout, and everything is translated into the new language except the columns, because they are read from the layout file in the old language.

What is the right strategy to deal with this problem?

Thanks,
Michael
xclirion
Top achievements
Rank 1
 answered on 24 Jul 2013
1 answer
162 views
Hello,

I'm trying to use the RadTrackBar with Range mode, but I cannot access the values of the two ranges. I see in the documentation that I must use Ranges_CollectionChanged, but I don't understand how to access this function.

Do you have any example how to use two ranges.

Thank you,
Eduard
George
Telerik team
 answered on 24 Jul 2013
4 answers
150 views
Hi,
please is there any way to reach result attached in the second picture programatically ? The tab is aligned to bottom.

1) I would need to get close button to the right of the tab name
2) I would need to get rid of close button at one tab.

First picture describes current state. Second picture shows my wish.

Thanks
Dudu
Top achievements
Rank 1
 answered on 24 Jul 2013
3 answers
280 views
RadControls for WinForms Q2 2010 / 2010.2.10.071

I am trying to set the Font for the list elements of a drop down list. I am able to set the font using the Properties window but the setting does not effect the list elements when the application is run. At run time, the application creates an array of RadListDataItem which is used as the data source. I have also tried setting the Font property of the individual RadListDataItems.

Setting the font for the DropDownList works correctly for the text box associated with the list.

Thanks,
Scott
Paul
Telerik team
 answered on 23 Jul 2013
1 answer
158 views
If a property grid combo editor is double clicked to start an edit the value will cycle through the available values.

Here is a really simple code example for this.  If you just double click to start the edit on the MyEnum field you will notice that the value will keep changing every time you start the edit.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
 
namespace PropertyGridTest
{
    public partial class Form1 : Form
    {
        MyObject theObject = new MyObject();
 
        public Form1()
        {
            InitializeComponent();
 
            theObject.MyEnum = MyEnum.One;
            theObject.Name = "test";
            radPropertyGrid1.SelectedObject = theObject;
        }
    }
 
    public enum MyEnum { One, Two, Three, Four, Five };
 
    public class MyObject
    {
        public string Name { get; set; }
        public MyEnum MyEnum { get; set; }
 
        public MyObject() { }
    }
}
George
Telerik team
 answered on 23 Jul 2013
1 answer
87 views
Hello all,

I'm currently trialing both the Winform and Reporting suites and have been very impressed. I have however come across some unwanted behaviour which I think is probably a bug.

The problem comes when you populate the AutoCompleteBox and start a search returning enough results to need the scrollbar. When clicking and dragging the scroll bar to scroll - if the cursor is not positioned directly over the scrollbar at the time you release the mouseclick, the dropdown list is closed an item is added to the selection.

If I encounter a problem like the above after purchasing the Telerik tools how long does it take to normally find a solution? I'm basically looking for confirmation I wouldn't have to wait for a Quarterly update.

Many Thanks.
Paul
Telerik team
 answered on 23 Jul 2013
1 answer
109 views
Hi,

When I have a few instances of the RadTextBox on a Form, and pressing Shift+Tab I have to press it twice to get the focus to the previous textbox. Pressing Tab only to get the focus to the next textbox works fine.

Best regards.
Stefan
Telerik team
 answered on 23 Jul 2013
1 answer
67 views
I have a application that on a screen is a RadGridView that contains a GroupPanel.  I would like to allow the users to export this grid to excel, but when I try to export I get an error converting the GroupPanel.  I have tried to set the ShowGroupPanel to false during the export but that does not seem to help.  IS there an export setting that would remove the GroupPanel?
Eric Klein
Top achievements
Rank 1
 answered on 22 Jul 2013
1 answer
183 views
Hello,

Is is possible to make the menus to be on the window title bar?
Something like this:
http://cdn1.pcadvisor.co.uk/cmsdata/products/3291330/CyberLink_PhotoDirector_2011_1000.JPG

Thanks!
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Jul 2013
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
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
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?