Telerik Forums
UI for WinForms Forum
1 answer
224 views

First, thanks for the awesome stuff, getting it going was easy.

However, I'm having a few issues and can't seem to figure out a way around them.  I'm trying to make a JSON tagger.

Here is how I'm defining things:


    Private Shared ReadOnly Keywords As String() = New String() {""""}
    Private Shared ReadOnly Operators As String() = New String() {"{", "}", "[", "]", ":", ","}


Here is an example of the output

The problems I see are:

The second double quote isn't colored like the first one.

The colon isn't colored

The comma after the double quote isn't colored

The closing brace and comma aren't colored

Also, is there a way to highlight the text between characters?  I'd like to highlight the keys and values, and differently from each other if possible.

I'm sure I'm doing it wrong, but haven't been able to figure it out.

Thanks!

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Feb 2023
1 answer
101 views

I'm trying to insert text at the start of a line in the radSyntaxEditor.  

I haven't found a way to do it, and was attempting to use the following code

Dim cp As CaretPosition = editor.SyntaxEditorElement.CaretPosition
cp.MoveToLineStart()

However, this doesn't appear to move to the start of the current line.

Ultimately, I'd rather not actually move the cursor, I'd like to insert without doing that.  Is that possible?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Feb 2023
1 answer
133 views

Hello,

I've been trying to enable drag and drop functionality so that the user can sort the RadNavigationView menu items, and it works when the ItemDragMode property is set to Preview, but does nothing when it's set to Immediate, then there's no drag and drop at all, the functionality seems to be disabled.

c.ViewElement.ItemDragMode = PageViewItemDragMode.Immediate

I'm not sure if I'm doing something wrong, or if this is the intended behaviour (so the immediate mode it's not a supported feature), or if it's just a bug.

Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 Feb 2023
3 answers
178 views

Hi Telerik support team,

I’m strugling with the Winforms GridView GroupComparer and need some help with it. I’ve seen the topic below:

https://docs.telerik.com/devtools/winforms/controls/gridview/grouping/sorting-group-rows

In my case I’ve a generic comparer in which I want to evaluate which column needs some sorting changes. These are my unitColumns and I have a reference to its list at the moment I create the comparer.

this.radGridView1.MasterTemplate.GroupComparer = new CustomGroupComparer(list);

 

The problem I walk into is that Telerik creates new CustomGroupComparers by itself (I think for every group?). It also demands an empty constructor. This way I have no option to get to the list that I need.

Is there a workaround for this problem?? For this moment I defined a hardcoded List inside the customComparer but that’s not the way to program it.

It would be nice if the custom comparer was part of the GroupDescriptor.

Regards,

Daniel

Dinko | Tech Support Engineer
Telerik team
 answered on 09 Feb 2023
1 answer
117 views

I'm trying to unregister a tagger for an radSyntaxEditor.  I've applied a tagger previously and want to change it.  So far, it appears that I'd have to save which tagger was used prior, and then unregister it that way?

Meaning, there's no way (that I could find) to get a list of applied taggers.  All of the methods assume you already know what is applied.

I guess you could create an object of each type of tagger and then check for every possible tagger and then remove it, but...

Basically, what I was expecting was either a way to get a collection of the applied taggers, or be able to call the UnRegisterTaggers without parameters to remove them all, etc.

Any help would be great!

Dinko | Tech Support Engineer
Telerik team
 answered on 09 Feb 2023
1 answer
182 views

According to this page: https://docs.telerik.com/devtools/winforms/controls/menus/contextmenu/context-menus

I should be able to assign a radcontextmenu to the contextmenu of the radsyntaxeditor.  However, I'm finding that not to be the case as you can see below.  my contextmenu named ctxMenuEditor is of type radContextMenu.  

The below screenshots should show the problem I think.  Basically, for whatever reason, the radsyntaxeditor doesn't accept the radcontextmenu, just contextmenu object type. 

 

Dinko | Tech Support Engineer
Telerik team
 answered on 09 Feb 2023
1 answer
296 views

Hi:

I have a Winforms application that I recently update the Telerik controls to 2023.1.117.40.

I am now unable to build as I am getting the following error:

'Could not load file or assembly 'Telerik.WinControls.Themes.Crystal, Version=2023.1.117.40, Culture=neutral, PublicKeyToken=bf4391287131aaeb' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'

Am I missing a required Telerik library in my references?

Here are the libraries I am currently referencing:

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 Feb 2023
1 answer
101 views

There seems to be an extra row created, w/ no data after the last row of data is added to the CSV.   Not sure what is happening or if there is a setting to not include the last empty row.  Just so we are clear, I have a grid with 10 rows in it, but when I look at the csv that is generated from the grid, I have 11 rows.   

 

 

Todor
Telerik team
 answered on 07 Feb 2023
1 answer
145 views

When I add a new document window as such: docContainer.DockManager.AddDocument(newPage)

The tabstrip that it is created on, the new tab always appears first in the tab list.  I'd like it to appear on the end of all current tabs (the right in my case).  I can't figure it out, any help would be appreciated!

Troy
Top achievements
Rank 3
Bronze
Iron
Iron
 answered on 05 Feb 2023
1 answer
109 views

Is it possible to select (highlight) individual lines in a RadTextBox when multiline is set to true?  For example, a user enters 10 lines of data, is it possible to highlight only lines 2, 5, & 7?  If so, how?

Dinko | Tech Support Engineer
Telerik team
 answered on 02 Feb 2023
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
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?