Telerik Forums
UI for WinForms Forum
1 answer
362 views

I have been trying to find a way to format textboxes to currency.  This is the only thing I have found that works:

 

this.feeTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BindingSource, "DataColumnName", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "C0"));

 

Basically, this [ System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "C0" ] gets added as parameters in the Binding() function.

Has anyone run into problems using this method?  Does anyone have additional information on the formatting options available?

 

Thanks!

Hristo
Telerik team
 answered on 15 Jul 2016
1 answer
185 views

I've inherited a sprawling project which makes heavy use of RadPageViewPages. There is a tablelayoutpanel inside another tablelayoutpanel, and this in turn contains around 11 RadPageViewPages, displaying as a tabbed control.

I can't find anyway to bring the pageview I want to work with to the front in the Visual Studio 2015 IDE designer. How can I do this? Is it possible? Telerik version 2013.1.321.20.

Thanks.

Dimitar
Telerik team
 answered on 15 Jul 2016
2 answers
159 views

I am having a problem on a RadStatusStrip.  The strip has a RadWaitingBarElement I use as a throbber, and also a RadLabelElement to show text.  When the text is too long to fit in the RadStatusStrip, the text disappears.  I attempted to find an answer in this thread:

http://www.telerik.com/forums/statusstrip-element-message-disappear

I downloaded StatusStripVP.zip, added my RadStatusStrip as a second strip on the form, and when I click the Change Status Message Text, the text disappears from my status strip.  If I resize the form, the text disappears from BOTH status strips.

Please see modified attached project that illustrates this behavior.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Jul 2016
5 answers
457 views

Dear all,

i need a filter my grid datasource by checkbox column filter, in case i want show all checkedbox column when i changed checkbox to checked and unchecked will filter too data with not checked, any idea?

Dimitar
Telerik team
 answered on 14 Jul 2016
2 answers
198 views

Hi,

I activated ShowCheckAllItems, but I don't found reference to translate its caption.

Dario Concilio
Top achievements
Rank 2
 answered on 14 Jul 2016
17 answers
581 views
Hi, is there a way to achieve something like that in WinForms?

http://blogs.telerik.com/blogs/posts/10-01-22/math-toolbar-for-column-headers-in-radgridview-for-silverlight.aspx

Thanks,
Hristo
Telerik team
 answered on 14 Jul 2016
5 answers
103 views

How can I access the reminderBindableObjects from the RadSchedulerReminder1_AlarmFormShowing event?

 

Thanks,

 

Rafael

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Jul 2016
6 answers
189 views

Regrads.

 

In my proyect i'm using a MultiColumnComboBox control with data Source, but the table have very much information.  In the moment when user is writing the  MultiColumnComboBox begin filtering, but  this teke several time to search the data. i use the next code to filter: (vb.net)

 

 Sub conf_combo_pacientes()
        Me.tb_identificacion.AutoFilter = True
        Me.tb_identificacion.DisplayMember = "Identificación"

        Dim filter As New FilterDescriptor()
        filter.PropertyName = Me.tb_identificacion.DisplayMember
        filter.[Operator] = FilterOperator.Contains
        Me.tb_identificacion.EditorControl.MasterTemplate.FilterDescriptors.Add(filter)
        tb_identificacion.MultiColumnComboBoxElement.EditorControl.EnableCustomFiltering = True
        AddHandler tb_identificacion.MultiColumnComboBoxElement.EditorControl.CustomFiltering, AddressOf EditorControl_CustomFilteringrl
        AddHandler tb_identificacion.KeyDown, AddressOf TB_CEDULA_RL_KeyDown

        tb_identificacion.DropDownSizingMode = SizingMode.UpDownAndRightBottom
        tb_identificacion.AutoSizeDropDownToBestFit = True

    End Sub

 

Private Sub EditorControl_CustomFilteringrl(sender As Object, e As Telerik.WinControls.UI.GridViewCustomFilteringEventArgs)
        Dim element As RadMultiColumnComboBoxElement = tb_identificacion.MultiColumnComboBoxElement

        Dim textToSearch As String = tb_identificacion.Text
        If AutoCompleteMode.Append = (element.AutoCompleteMode And AutoCompleteMode.Append) Then
            If element.SelectionLength > 0 AndAlso element.SelectionStart > 0 Then
                textToSearch = tb_identificacion.Text.Substring(0, element.SelectionStart)
            End If
        End If
        If String.IsNullOrEmpty(textToSearch) Then
            e.Visible = True
            For i As Integer = 0 To element.EditorControl.ColumnCount - 1
                e.Row.Cells(i).Style.Reset()
            Next
            e.Row.InvalidateRow()
            Return
        End If
        e.Visible = False
        For i As Integer = 0 To element.EditorControl.ColumnCount - 1
            Dim text As String = e.Row.Cells(i).Value.ToString()
            If text.IndexOf(textToSearch, 0, StringComparison.InvariantCultureIgnoreCase) >= 0 Then
                e.Visible = True
                e.Row.Cells(i).Style.CustomizeFill = True
                e.Row.Cells(i).Style.DrawFill = True
                e.Row.Cells(i).Style.BackColor = Color.FromArgb(201, 252, 254)
            Else
                e.Row.Cells(i).Style.Reset()
            End If
        Next
        e.Row.InvalidateRow()
    End Sub

    Private Sub tb_identificacion_KeyDown(sender As Object, e As KeyEventArgs) Handles tb_identificacion.KeyDown
        Try
            If e.KeyCode = System.Windows.Forms.Keys.Enter Then
                If Me.tb_identificacion.ValueMember <> "" Then
                    tb_identificacion.SelectedValue = tb_identificacion.EditorControl.CurrentRow.Cells(tb_identificacion.ValueMember).Value
                Else
                    tb_identificacion.SelectedValue = tb_identificacion.EditorControl.CurrentRow.Cells(tb_identificacion.DisplayMember).Value
                End If

                tb_identificacion.Text = tb_identificacion.EditorControl.CurrentRow.Cells(tb_identificacion.DisplayMember).Value.ToString()
                tb_identificacion.MultiColumnComboBoxElement.ClosePopup()
                tb_identificacion.MultiColumnComboBoxElement.TextBoxElement.TextBoxItem.SelectAll()
            End If
        Catch ex As Exception

        End Try
    End Sub

While the user is writing, then control is filtering but I do not want it so, i woluld like that the user to write but when user press key intro, in this moment the multiColumnComboBox  is filtering. But i don't know do it.

 

 

Dimitar
Telerik team
 answered on 14 Jul 2016
7 answers
348 views

Hello All,

I have problem when catch filtering datetime in radgrid, in my case i want get a result of filter ,

this is my snippet result of Expression Filter :

ModifiedAt = #07/14/2016 00:00:00#

a problem come from character "#" , i used an expression to my SQl query , show i want to remove # and replace with single quote " ' ", like this

ModifiedAt = '07/14/2016 00:00:00' 

so how its work?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Jul 2016
0 answers
67 views

Hello ,

I have RadToggleButton , and I try to set image as backgorund (streach the image on all the button)

But when I set the BackgroundImage to my image and the BackgroundImageLayout as streach (or any other opetion) nothing happen.

Thanks.

MA

 

Moti
Top achievements
Rank 1
 asked on 13 Jul 2016
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
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
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?