Telerik Forums
UI for WinForms Forum
1 answer
248 views

It's really not that complicated to manually remove "mask" characters from a string but I was curious if this control already has this ability built in?

Here's an example:

assume ctrl = RadMaskedEditBox

ctrl.Mask = "00000-9999"

ctrl.Text = "_____-____"

ctrl.MaskType = Standard

 

If the user gets to this input box and types in "12345" and I check ctrl.Value I get this: "12345-____" when what I really want is "12345"

If I'm missing something, please advise otherwise, i'll just grunt my way through it :)

Thanks everyone!!!

-Curtis

 

 

Dimitar
Telerik team
 answered on 21 Nov 2017
1 answer
116 views
I have a GridComboBoxColumn and would like to do searches according to what is being written, right now I have it with a datasource by code, but it is not enabled for it to be written and filtered, now I digit a letter and find the first coincidence, I would like it to search for me the whole text chain what I type, not just the beginning, I would like it to be more interactive, and to be editable, not just selectable. Does anyone know how?
Thanks in advance
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Nov 2017
1 answer
142 views

Hi,

 

I have a RadDropDownList as part of my ribbon bar, is it possible to drag (then drop) the selected item onto another control ?

I have done this before using a RadListControl (and RadListDataItems) on a form which has a MouseMove handler, however the  RadDropDownList control in the ribbon bar does not have a mouse move handler.

In the ribbon bar mouse down handler, I have tried using

RadDropDownListEditableAreaElement b = radRibbonBar1.ElementTree.GetElementAtPoint(e.Location) as RadDropDownListEditableAreaElement;

but how do I get a reference to the original RadListDataItem which has some data in the Value and Tag fields ?

Regards

Toby

 

Dimitar
Telerik team
 answered on 21 Nov 2017
3 answers
125 views

How would I create and populate 10 Worksheets with SQL queries for each one, when form loads or other event using a Spreadsheet control with Ribbon?

 

Thanks,

Dimitar
Telerik team
 answered on 21 Nov 2017
6 answers
304 views

Hello, my English is bad, very bad 8D 

BindingNavigator don't work, when I write code:

 

RadBindingNavigator.BindingSource = tableBindingSourse;

 

however, in the standart BindingNavigator it's working this code

pls, help ^___^ 

Hristo
Telerik team
 answered on 20 Nov 2017
7 answers
2.7K+ views
On a number of my gridviews I have button columns which I want to have set to a fixed width, otherwise they resize very wide which just looks weird.. To add my button column as a fixed width column I do something like this:

        Dim commandColumn As New GridViewCommandColumn() 
        commandColumn.UniqueName = "Command" 
        commandColumn.HeaderText = "" 
        commandColumn.Width = 70 
        commandColumn.MaxWidth = 70 
        commandColumn.MinWidth = 70 
        Me.GridView1.MasterGridViewTemplate.Columns.Add(commandColumn) 

I also have the grid set to auto resize the columns with:

        Me.GridView1.MasterGridViewTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill 

The problem is that the columns no longer take up the full width of the grid as a result of the fixed width column(s).. When I manually resize the columns, sometimes it will "snap" to the width of the grid, but I want it to be done automatically when the grid loads..

Any ideas?
Hristo
Telerik team
 answered on 20 Nov 2017
5 answers
338 views

Hi

1.How Determine the StartDate for the First month (Example: 2016/05/01)

2.How Set the Navigator Month Start (Step First month. Example: 2016/05/01 - 2016/05/30)

3.How radScheduler According to the adjusted image?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Nov 2017
0 answers
127 views
Hi

I am a programmer evaluating the raddock

Created the form and add raddock control.

I hv created one text box in right side tool window.

I hv a radform as a document in the dock container.

I need to access the tool window text box and pass the value to the text box from the

document form.

I am unable to access the text box control which is resided in the tool window of raddock.

Please help me for the above.

Regards
Ramachandran
Top achievements
Rank 1
 asked on 18 Nov 2017
3 answers
232 views

Hi.

How do i change the "time" color in a appointment? I have figured out to change everything else, but not this. See attached file.

Rossi
Top achievements
Rank 1
 answered on 17 Nov 2017
10 answers
388 views
I have a column with multiple data types. I'm using the EditorRequired event to set the editor as a RadDateTimeEditor or RadDropDownListEditor as needed. In some cases I set the RadDropDownListEditor's datasource to a datatable as shown in the code below. When I click in the cell, the radDropDownListEditor works perfectly, but when I click away from that cell, the cell shows the OfficeNumber (the valueMember) instead of the OfficeName (the displayMember). How do I get it to show the OfficeName?

       Private Sub dgv_EditorRequired(sender As Object, e As EditorRequiredEventArgs) Handles dgv.EditorRequired
             Select Case dgv.CurrentRow.Cells("EditorType").Value
                    
                    Case EditorType.OfficeDropDown
                        Dim editor As New RadDropDownListEditor
                        editor.DropDownStyle = RadDropDownStyle.DropDownList
                        DirectCast(editor.EditorElement, RadDropDownListEditorElement).DataSource = dtOffices
                        DirectCast(editor.EditorElement, RadDropDownListEditorElement).DisplayMember = "OfficeName"
                        DirectCast(editor.EditorElement, RadDropDownListEditorElement).ValueMember = "OfficeNumber"
                        e.Editor = editor
                End Select
End Sub
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Nov 2017
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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?