Telerik Forums
UI for WinForms Forum
8 answers
604 views
Hi,

I am using the 2011.2.11.712 build of the WinForms controls.  When I set the RadMaskedEditBox MaskType to "Email", it works correctly and shows the icon when the value is invalid.

But, how do I detect in code that the validation failed? 

I have a form where the user enters an email address and I want to detect that the user entered an invalid value and not allow the save but rather show an error message.

Thanks
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Sep 2020
3 answers
57 views

First the problem I am trying to solve:  gridview's SearchRow by default uses "Contains" for GridViewTextBoxColumns.  I need to change this to "Starts With"

I searched the KB and found this article: https://docs.telerik.com/devtools/winforms/knowledge-base/starts-with-search-in-radgridview and its ALMOST perfect!

It was VERY easy to implement and it works...sort of :(

 

Ok so it works "sort of" and you get only the rows that "Start With" that match whatever you typed into the Search Row (I have AutomaticallySelectFirstResult = True.)

Now click the "next" or "previous" button on the search row...nothing happens or rather it happens in the blink of an eye:  The first row that matches is selected from the search.  Click Next and it deselects that first row...and then reselects it.  If you click the "Previous" button it will in fact jump to the very last match.  Click it again and it clears the selection, and re-selects the same row.  It does not crawl through the collection of found results :(

 

The expected behavior would be the grid selects the next row when you click the "Next" button.  Click this again and again the grid should select the next row that matches and so on.  Same for the "Previous" button only in reverse.  Finding a solution to this is my immediate problem.

 

More on the "Sort of" working new custom search - what the article describes is creating a class called "CustomSearchRow" and there's an overridden method contained within called "MatchesSearchCriteria" and this returns a Boolean that if the cell "StartsWith" returns True and False otherwise...here's why I say it "Sort of" works:  If you have a cell with "All Good People" and you search for "P" it WILL find this...that cell does NOT start with "P", it starts with "A" and should NOT be found.  If anyone knows a way around this your help would terrific!

 

-Curtis

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Sep 2020
7 answers
3.0K+ views
Want to get rid of the Drag a column here to group above the column header text.  Do not need this feature.  Can not locate the setting for this. 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Sep 2020
4 answers
203 views

We need the ability to use the underline field for each column instead of the column display name as the field in the export file.  Our column display names are built dynamically and it is possible that we can have two columns display names being the same. Their underline properties will be the different, therefore, we want to use that in the export.  

 

Any help would be great.

 

Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Sep 2020
2 answers
172 views
I have a CardView running in Bound Mode.   I am trying to allow the user to select a choice via a double click.   The only double click event I see being raised is the overall CardView.  This just returns an X and Y click point.  How do I get from this to the databound item that was selected?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 Sep 2020
6 answers
297 views

Its possible add a filter of checks selected or not, and change item color according to index selected?

I use class radmultiColumnCombobox.

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 Sep 2020
7 answers
788 views

Hi,

I am wanting to drop and item onto a RadGridView without having to select the destination grid row first.

Is there a way to detect which row the mouse is hovering over before the drop event occurs?

I find that none of the DragDrop events are firing when the mouse button is released over the destination gridview.

MouseMove does fire, and I was trying to find the RowElement via X and Y Points. Is there a way to do this?

Many Thanks,

Martin.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 Sep 2020
1 answer
179 views

I've created a custom binding navigator that inherits from the default to be able to optionally cancel the button navigation. When I add the custom navigator to the form, I don't get the default images. Instead they all use a default image like the attached image. How can I create a custom navigator with the standard button images?

 

This issue happens even if there is no custom code like the example below:

Public Class CancelBindingNavigator
    Inherits RadBindingNavigator
 
    Protected Overrides Function CreateNavigatorElement() As RadBindingNavigatorElement
        Return New RadBindingNavigatorElement()
    End Function
End Class
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Sep 2020
3 answers
129 views

Hello

I have a gridview (with multiple select) in which a column contains updatable values.

When I select a row and update the value the row is selected bu the other rows are unselected

I woold like to keep in the selectedrows collections all the rows in which I have updated the value to be able to process all the selected rows simultaneously

Is there a way to achieve this ?

Thanks in advance

Pierre-Jean

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Sep 2020
8 answers
1.4K+ views

Hello

I have a gridview in which I have added a GridViewCheckBoxColumn

I have not found which event is fired when I click on the check box and how to get the value of the checkbos (checked or not) without leaving the cell.

In other word how can I catch the click on the check bos and test its value.
the CellValueChanged event is fired only when I leave the cell ...
the CellClick Event allows me to get the cell but not the checkbox value ..

Any idea ?

Thanks in advance

pierre-jean
Top achievements
Rank 1
Veteran
Iron
 answered on 02 Sep 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
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
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
CollapsiblePanel
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
Styling
Barcode
PopupEditor
RibbonForm
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?