Telerik Forums
UI for WinForms Forum
1 answer
131 views

Hello.

After a few tries, I came to a method that dynamically changes shades depending on the amount of characters MaskedEditBox:

public partial class RadForm6 : Telerik.WinControls.UI.RadForm
    {
        public RadForm6()
        {
            InitializeComponent();
            this.radMaskedEditBox1.TextChanged += radMaskedEditBox1_TextChanged;
            this.radMaskedEditBox1.TextMaskFormat = MaskFormat.ExcludePromptAndLiterals;
            this.radMaskedEditBox1.MaskType = Telerik.WinControls.UI.MaskType.Standard;
            this.radMaskedEditBox1.Mask = "000,000,000-0099";
            this.radMaskedEditBox1.PromptChar = ' ';
        }
 
        string initialValue = string.Empty;
        private void radMaskedEditBox1_TextChanged(object sender, EventArgs e)
        {
            if ((radMaskedEditBox1.Value + "").Length <= 11 && this.radMaskedEditBox1.Mask != "000,000,000-0099")
            {
                this.radMaskedEditBox1.TextChanged -= radMaskedEditBox1_TextChanged;
                initialValue = this.radMaskedEditBox1.Value + "";
                this.radMaskedEditBox1.MaskType = Telerik.WinControls.UI.MaskType.Standard;
                this.radMaskedEditBox1.Mask = "000,000,000-0099";
                this.radMaskedEditBox1.PromptChar = ' ';
                this.radMaskedEditBox1.Value = initialValue;
                this.radMaskedEditBox1.TextChanged += radMaskedEditBox1_TextChanged;
            }
            else if ((radMaskedEditBox1.Value + "").Length >= 12 && this.radMaskedEditBox1.Mask != "00,000,000/0000-00")
            {
                this.radMaskedEditBox1.TextChanged -= radMaskedEditBox1_TextChanged;
                initialValue = this.radMaskedEditBox1.Value + "";
                this.radMaskedEditBox1.MaskType = Telerik.WinControls.UI.MaskType.Standard;
                this.radMaskedEditBox1.Mask = "00,000,000/0000-00";
                //this.radMaskedEditBox1.PromptChar = ' ';
                this.radMaskedEditBox1.Value = initialValue;
                this.radMaskedEditBox1.TextChanged += radMaskedEditBox1_TextChanged;
            }
        }
 
    }

 

I hope it helps.

Regards,
Felipe

 

Hristo
Telerik team
 answered on 01 Jul 2015
1 answer
94 views

Is it possible to set the displayed text of an appointment to be right justified? I am using the scheduler control somewhat differently, with only one appointment displayed for each day, and the text of the appointment is simply a number that tells the user the number of openings on that day. Clicking on the appointment displays further details in other controls. For the text, I am setting the Summary property of the appointment (although I could do something different if necessary).

Numbers are typically right justified, and I would like to do this in the displayed text of the appointment.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 01 Jul 2015
1 answer
103 views

Hi,

It seems that the RadMarkupEditor never gets focus (Focused = false) even when you are typing something (in DesignView). Is this normal behavior?

Thanks,

Tom

Stefan
Telerik team
 answered on 01 Jul 2015
2 answers
167 views

Hi,

I cannot find Office 2013 white theme in Telerik controls. Only can find Telerik.WinControls.Themes.Office2013Dark and Telerik.WinControls.Themes.Office2013Light. Is it not supported or I need to use alternative theme?

 Regards,

Amos
Top achievements
Rank 1
 answered on 01 Jul 2015
4 answers
174 views

Hi,

What is the correct way to compile controls from source?  I've opened RadControlsVS2010.sln and tried to compile this but I have a lot of errors (metadata files missing, .dll's not found)....  Ok, I am using VS2012 not VS2010, I don't know whether this makes a difference???? 

Is this even the correct method in the first place?

Thanks.

Cos
Top achievements
Rank 1
 answered on 30 Jun 2015
1 answer
191 views

Is there a property for RadRangeSelector that will let me control the minimum selected range? It looks like the rangeselector thumb is forcing me to a minimum selectable range of 3, which is 3% of the total 0 to 100 range. I need to be able to get it down as close as possible (with the only limitation being the radselectorthumb elements do not overlap).

 

Basically, I have a very large data set, and I need a selection ability in the 1 part in 30000 range. Right now the best I can do (with two cascaded radrangeselectors, one feeding the second) is 3% of 3% which is 0.09%. which is still 27 times greater mapped range than I need. If I can get the minimum selection down to 1%, then I can cascade two radrangeselectors to get me in the 1 part in 10000 range  and that should be ok to get by for now.

 

Manoj

 

Hristo
Telerik team
 answered on 30 Jun 2015
2 answers
102 views

Hi,

I have a RadMarkupEditor on my form and I want to execute some action when the text in the editor is changed. Since this control inherits from System.Windows.Forms.UserControl we can subscribe to the TextChanged event. Unfortunately this event is never fired. Is this normal behavior? Is there any other event I could use to achieve the same?

Thanks,

Tom

T
Top achievements
Rank 1
 answered on 30 Jun 2015
3 answers
390 views

For several projects I need to reuse the old version of Telerik (Q1 2010), and I need to be able to use them in Visual Studio 2012. The installer wants to integrate Telerik solely with VS until 2010. When installing Q1 2010, the VS.2012 designer displays the forms properly, but does not allow to change them/move - nothing. 

I can only add the Telerik controls to the Toolbox by hand - and that's ok, but I still want to be able to use them in the project.

Is there any way to install Telerik older controls to Visual Studio 2012?

Best regards

Yana
Telerik team
 answered on 29 Jun 2015
2 answers
145 views

Is there a way to allow users to press a key to quickly navigate to rows beginning with that letter?

(Assuming that users would be searching on the first (text) column of the grid and that this column is sorted alphabetically).

Thanks,

-Lou

Lou
Top achievements
Rank 1
 answered on 29 Jun 2015
3 answers
153 views

Hello, 

How can I change the AllowedRoles of Fields in a Pivotgrid.

Best regards

Thomas

Hristo
Telerik team
 answered on 29 Jun 2015
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
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
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
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?