Telerik Forums
UI for WinForms Forum
1 answer
148 views

I'm using PatternFill.CreateSolidFill to add colors to some of my spreadsheet cells, and it works fine.

But when I come to reset those colors back to 'normal' , their borders have gone:

Here, I apply the fill to some cells, but want to reset the color where the formatting rules does not apply. I am applying a solid fill, like:

PatternFill.CreateSolidFill(ThemableColor.FromArgb(255, 255, 255, 255))

..but this is where the border goes away.

How should I reset the border as well as the original color ?

Thanks

Nikolay Demirev
Telerik team
 answered on 28 Apr 2023
1 answer
130 views
Hi,

I am wondering if there is a way to lock the file if loading a document using the path of the pdf file because it does not accomplish that during the method call. I am able to delete the file while it is loaded in the viewer. i am using 2023 controls.
Yoan
Telerik team
 answered on 27 Apr 2023
1 answer
93 views
Is there a way to auto-size a column(s) in a spreadsheet, so that the text will fit the column? Like with the grid view.
Dimitar
Telerik team
 answered on 25 Apr 2023
3 answers
336 views

Hi,

I have issues in my application which makes use of HTML formatted text in RadLabel. The issue I have is that spaces between words can get lost. This is easy to reproduce using the your latest demo application for Winforms R1 2023 SP1.

See this screen shot which shows there are spaces between every word.

I believe this issue manifests in grid view and probably all other controls which render HTML based text.

Thanks

Toby

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Apr 2023
1 answer
121 views

I need a Solution for export Thai (or any other complex Language) document as pdf. Is there any solution for now?

I'm using Telerik rich Text editor for windows form

Yoan
Telerik team
 answered on 24 Apr 2023
1 answer
153 views
I have a datatime picker within my gridview. When I try to pick a date the calendar appears "squished"/consolidated. I can drag the corner and fix the issue but I'd rather not require the user to do this. How can I set a default height/width? See attached screenshot.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Apr 2023
1 answer
84 views

We have a few devs usiing Telerik.  With 1 dev, we're seeing autogenerated designer code use "this._____" when it doesn't include this with other devs.  We're also seeing event handlers disappear from the designer code for the same dev.

Example git diff:

Is this some particular setting or version doing this?  I can't seem to get to the root of the issue.

 

Thanks!

 

Sean
Top achievements
Rank 1
Iron
 answered on 21 Apr 2023
1 answer
168 views

Hi Telerik supportteam,

I’ve found something interesting around filtering combined with a CustomGroupComparer on a RadGridView. To illustrate the situation I added a small example application.

 

Situation:

Start the application, create a groupBy on e.g. TwoStateCheckbox column, expand some of the groups.

Now, filter on e.g. Name (contains ‘7’).

 

Result:

All the groups get collapsed.

 

My own analyses:

With a breakpoint on rule 21 in the CustomGroupComparer, I see that dataGroup.IsExpanded is false, even when the group in the grid is expanded.

With a custom group comparer, Telerik does something with a groupBuilder. It suggests that groups are cloned? If that’s the case I guess the IsExpanded property is not set correctly. Sounds like a bug to me. Can you confirm this and how can I work around this??

 

By the way: without a customGroupComparer it works ok but we need the custom thing.

Regard,

Daniel Kaya

Dinko | Tech Support Engineer
Telerik team
 answered on 21 Apr 2023
3 answers
157 views

Hi Everyone,

I use a RadTreeView control on my form. I have a client table and a project table. Both tables have a DeletionStatus boolean field/property.

This is how I set the control up:

this.tvProjectClient.DataSource = clientBindingSource; this.tvProjectClient.DisplayMember = "FullName"; this.tvProjectClient.ValueMember = "ClientId"; this.tvProjectClient.RadContextMenu = this.rcmProject; this.tvProjectClient.RelationBindings.Clear(); this.tvProjectClient.RelationBindings.Add(new RelationBinding(this.projectBindingSource, "Name", "ClientId", "ClientId", "ProjectId"));

 

Now i want to create a FilterDescriptor to filter DeletionStatus to false on the Client table to be like:

      FilterDescriptor filterDescriptor = new FilterDescriptor();

      filterDescriptor.Value = "False";
      filterDescriptor.Operator = FilterOperator.IsEqualTo;
      filterDescriptor.PropertyName = "DeletionStatus";

My question is, how to I change the property name to reference the client (or project) table for DeletionStatus? I have tried Client.DeletionStatus and ClientRow.DeletionStatus but the control does not register it.

Any ideas? I do not want to change field names if possible.

Many thanks, JB

James
Top achievements
Rank 1
Iron
 answered on 21 Apr 2023
1 answer
146 views

For example we have RadGridView with 5 columns : column1, column2, column3, column4, column5

column2 and column5 are set to readonly

normally tabbing skips readonly columns, so when user hits Tab focus goes column1->column3->column4->New Row

But if I add this code to make just one cell in the row readonly then tabbing stops working the same way, instead of skipping readonly columns it goes from column3->column4->column5->(stops in column5) and does not create new row.
        private void radGridView1_CellValidating(object sender, CellValidatingEventArgs e)
        {
            if(e.Row is null) return;
            if(e.Column.Name == "column3")
            {
                if (true) // some condition that fires based on entered value
                {
                    e.Row.Cells["column4"].ReadOnly = true;
                }
            }
        }

Dinko | Tech Support Engineer
Telerik team
 answered on 20 Apr 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)
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
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
CollapsiblePanel
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
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?