Telerik Forums
UI for WinForms Forum
1 answer
108 views

I have two problems with SyntaxEditor.

First problem is when any special characters are followed by -- other than a space, it is not treated as comment.

How can I make it so that it understands the second comment below is a comment line? (Any way to override a comment REGEX?)

-- testing working comment
--- testing not working comment

 

Second problem is when the keywords wrapped around with any special characters in a non-keyword are recognized as a keyword.

In other words, the word TEST_TABLE is one word and is NOT a keyword, but because TABLE is a keyword and it is wrapped with _ and a end of line, TABLE is highlighted.

How can I make it so that those keywords to be highlighted only when it is wrapped with start of line, end of line or a space? 

SELECT * from TEST_TABLE

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Feb 2021
5 answers
322 views

I have toggle switches to mark a day of the week as closed.  The event sender is RadToggleSwitchElement and not RadToggleSwitch.  I need to get RadToggleSwitch.Name to extract the day of the week from the control's name which is then used down the line.

 

RadToggleSwitchElement.Name = null

RadToggleSwitchElement.Parent.Name = null 

 

How can I get the name of the RadToggleSwitch in the ValueChanged event handler?

 

TIA

Memo
Top achievements
Rank 1
Iron
Veteran
 answered on 11 Feb 2021
3 answers
3.7K+ views

Is it possible to restrict the selections and shown options to just be the month and year and not show the days?

 

I have set the format to MMMM yyyy - which all works fine, I just do not want the days to show up to select from, just the months and year.

 

I have attached how the picker currently looks, but I do not want the calendar.

 

Thanks in advance.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 10 Feb 2021
7 answers
959 views

Hi there,

I tried dragging and dropping a row into my RadGridView using the "Rows drag & drop" example from the "Progress Telerik UI for WinForms" application but I can't get it to work.

 

My need is to drag only one row and on the same grid.

Please, any suggestions?

Thank you very much.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 Feb 2021
2 answers
139 views

When user manually types the filter value (only date) in RadDateTimeEditor adds current time, so the filter value becomes -  %data %current time.

And filtering gives the empty table, because of values in datetime columns have 00:00:00 time.

How to set time to 00:00:00 instead of using current?

 

P.S. If user chooses value with DateTimePicker then filter value is %data 00:00:00 and filtering works fine.

Marseille
Top achievements
Rank 1
 answered on 09 Feb 2021
6 answers
610 views

Quick question about filtering. I have a ListView with several columns including a checkbox column. I want to filter the listview on one column ("Title'), based on a textbox value as the user types. I thought the below might work, but it doesn't seem to work, the filtering doesn't look right. Please tell me why this approach doesn't work. Thanks.

Code to add the filter:

private FilterDescriptor _valueFilter;
_valueFilter = new FilterDescriptor("Title", FilterOperator.Contains, "");
lstvwLookups.FilterDescriptors.Add(_valueFilter);

 

Code to update the filter:

private void txtFilter_TextChanged(object sender, EventArgs e)
{
    _valueFilter.Value = ((TextBoxChangedEventArgs)e).Text;
}
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 Feb 2021
2 answers
694 views
If I do a RadTreeView.DoDragDrop in the MouseDown event, the DoubleClick Event never fires.  Is there a way to begin Drag and Drop in MouseDown, and still get the DoubleClick event?  Basically, if it's a DoubleClick, I don't need the MouseDown event, because there is no need to have started the Drag and Drop.
Terry
Top achievements
Rank 1
 answered on 08 Feb 2021
2 answers
276 views

Hi all,

I have an issue. I am working on a C# WinForm with Telerik extension. The issue is that when I drag and drop a UI control to the WinForm, the controls do not appear on the form. Instead, the name of the control appears under the form as you can see in the attached photo. I think there is a mismatch of Telerik versions the one installed on my Visual Studio is different to the one previously used on the project. Any suggestions?

Thanks in advance.

Ammar
Top achievements
Rank 1
 answered on 08 Feb 2021
2 answers
277 views

How do I control the Font Size (and the Font in general) of the Tab Name? Not the content Font.

n/a
Top achievements
Rank 1
Veteran
 answered on 08 Feb 2021
2 answers
65 views
I'm putting up the field-list window to allow the user to choose the rows, columns and aggregations.  I'd like to hide the controls shown in the pictures I'm uploading.
Michael
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 08 Feb 2021
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
TimeSpanPicker
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+129 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?