Telerik Forums
UI for WinForms Forum
1 answer
389 views

How do I make a cell or cell ranges read-only ?

I want to show the user the cells values, but don't want them to be able to edit the data.

Thanks

Dimitar
Telerik team
 answered on 15 Mar 2023
1 answer
102 views

Reading this document: https://docs.telerik.com/devtools/winforms/controls/syntax-editor/features/word-wrap

States that wordwrap should now be a thing.  However, it isn't for me.

 

I've updated to the latest Telerik (already was), and no luck.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Mar 2023
1 answer
141 views

Basically what the title says.  I've selected part of a document, and I want to replace only part of the text, within that selection.  Is this possible?  I've been trying various things, but so far, no luck.

In short, I've added commenting to my text.  That works fine, but I can't uncomment (remove the comment characters) from the selected text.

Troy
Top achievements
Rank 3
Bronze
Iron
Iron
 answered on 12 Mar 2023
1 answer
157 views

In the image below I have five DocumentWindow (state names) and a ToolWindow (Properties). Following this steps, the ActiveWindowChanged event is called twice from different windows:

  1. make Colorado (tabbed window) the active window
  2. make California (Floating window) the active window
  3. make Properties (ToolWindow) the active window. At this point, the ActiveWindowChanged event is called twice. The first one changes the ActiveWindow from California to Colorado. And the second call changes the ActiveWindow from Colorado to Propeties.

This is making the application shows the Colorado properties instead of the California properties.

Is this the expected behavior? Is there a way to fix it?

I am using UI.for.WinForms.AllControls.Net40 v2022.3.921

Dinko | Tech Support Engineer
Telerik team
 answered on 10 Mar 2023
2 answers
111 views

Is there an event like this in the Spreadsheet control?

What I need is when the user selects a single column, I enable/disable various menu options, but I can't find an event which is fired when a column in a sheet gets selected.

(BTW - I got the name of this event from ChatGPT, which thinks that a RadSpreadsheet has this event, but it's working from data up to 2021, so maybe this is an old event?)

Thanks

 

Dimitar
Telerik team
 answered on 08 Mar 2023
2 answers
183 views

I need to show the user some XML, but formatted nicely (identing, colors etc).

Can I use RichTextEditor for this? If so how (vb.net please!).

I don't need to edit the XML now, but I will need to in future (hence not using a Browser-type control)

Thanks

 

Ian
Top achievements
Rank 2
Bronze
Bronze
Iron
 answered on 07 Mar 2023
2 answers
358 views

I have a project where the user wants a multi tab control on a WinForm - no problem.

On the first tab however, they want too many controls to fit on the screen, Therefore they want the first tab's RadPageViewPage to scroll up and down. They do not want a sub tab. The problem is that there are so many controls that if they were separate tab they would fill four of them. I realize that scrolling is not the point of a tab control but this is what they want. Still, there are limits to the size of a Form and the size of the RadPageViewPage control.

Is this something that can realistically be done or is this just asking for too much?

Thanks

Carl

 

Carl
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 07 Mar 2023
1 answer
597 views

Hi,

I'm trying to display the check box in the header of a GridViewCheckBoxColumn and have it centered but it is still not aligned with the rest of the rows. 

I set the column property HeaderCheckBoxAlignment = ContentAlignment.MiddleCenter but still there is a gap. Please see the image attached.

Thank you,

Dinko | Tech Support Engineer
Telerik team
 answered on 07 Mar 2023
1 answer
117 views
I have a custom class of TokenizedTextBlockElement that is displaying 3 different color 'styles' for token - green, yellow and red (backgrounds are #E3EDE1, #FCF8E3, #F2DEDE respectively), so the default RemoveButton's image is not visible enough.

I want to change the "X" image (RemoveButton) and it's states (default,  MouseOver, MouseDown, Disabled). It can be either by creating 3 different classes in Telerik's VisualStyleBuilder, or inside c# project's code but they need to be #1A3B17, #665A1F, #661F1F. How do I fix this issue?

In attachment I am presenting my current design issue (ignore the red exclamation point icon - it is a temporary icon to be replaced with more appropriate icons).
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Mar 2023
1 answer
199 views

Hi Telerik support team,

I've performance issues with sorting in a radGridView. Below you find a very simple example (grid with 2 text columns) and nothing specials. The dataset (deserialized from a json file) contains 7560 rows, which is not much. 

My own conclusion is 'it depends on the data'. In my dataset the column PhaseName is sorting ok. ProjectName is very slow. When I group the columns I see that ProjectName has not much groups (so a lot of duplicates) and PhaseName has a lot of groups (so, not much duplicates).

I tried to fasten it up with custom sorting but I got the same result. Can you help me with this issue??

(by the way: grouping also takes a lot of time)

Code:


    public partial class Form2 : Form
    {
        public Form2()
        {
            InitializeComponent();

            radGridView1.Columns.Add(new GridViewTextBoxColumn("ProjectName") { ReadOnly = true });
            radGridView1.Columns.Add(new GridViewTextBoxColumn("PhaseName") { ReadOnly = true });

            LoadData();
        }

        private void LoadData()
        {
            var json = File.ReadAllText(@"c:\Daniel\content.json");

            var list = JsonConvert.DeserializeObject<List<ProdTemp>>(json);
            radGridView1.DataSource = list;
        }

        internal class ProdTemp
        {
            public string ProjectName { get; set; }
            public string PhaseName { get; set; }
        }
    }

 

Regards,

Daniel Kaya

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Mar 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?