Telerik Forums
UI for WinForms Forum
1 answer
199 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
140 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
453 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
183 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
219 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
124 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
253 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
232 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
210 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
1 answer
143 views

Hi,

I have a pivotgrid table like this:

true  |  vegetables    |   data   |  data  |  data
         |  fruit                |   data   |  data  |  data
         |  subtotal         |   data   |  data  |  data
----------------------------------------------------
false  | vegetables    |   data   |  data  |  data
          | fruit                |   data   |  data  |  data
          | subtotal         |   data   |  data  |  data 
How can i change the row header (true, false that are boolean values) using specifically cellformating?

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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
ScrollablePanel
DataEntry
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
SmartPasteButton
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?