Telerik Forums
UI for WinForms Forum
3 answers
155 views

Version 2019.1.219

I've been receiving the above exception on my grids when they're initially filled with their first page of data and on first call to BestFitColumns.

When tracing into decompiled source, the error is thrown on the function in StretchVirtualGridColumnLayout.cs

/// <summary>Starts the column resize.</summary>
    /// <param name="column">The column.</param>
    public override void StartColumnResize(int column)
    {
      if (!this.stretchableColumns.Contains(column))
        return;

 

stretchableColumns are null at this moment which is what's throwing the exception.

Investigating further by placing some break points, the above function is being called before the function "public override void CalculateColumnWidths(SizeF availableSize)" which actually generates the stretchableColumns list.

Im sorry, but I can't include a sample project at this time as the code is too complex.

The grid.OnCellValueNeeded event drives obtaining the data.

I'm not sure where I should call the BestFitColumns method. I am receiving the exception in the OnCellNeeded and OnCellFormatting events on the first call.

Can you advise please?

 

Dimitar
Telerik team
 answered on 14 Mar 2019
2 answers
99 views

Hi all,

I've got a question about the scheduler: Is it possible to change the position of the ruler and the day/group header? I need to show the day header (with grouping) on the vertical axis and the ruler on the horizontal axis. Is that possible?

 

Best regards

 

Markus

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Mar 2019
3 answers
106 views

Hello,

I have a little problem with Gridview. The problem is when I add a descriptor to grid like this

gridView.SortDescriptors.Add(COLUMNNAME, System.ComponentModel.ListSortDirection.Descending)

The row is covered by filtering options

What could be the problem? How can I solve this?

I am using Telerik WinForm R1 2018 SP1

Thank you"

 

 

Dimitar
Telerik team
 answered on 13 Mar 2019
8 answers
191 views

Hi,

I have DataEntry with Dock=Fill, is it possible to "repaint" or "redraw" DataEntry after changing form's size, so controls width corresponds form width?

 

Thanks

Alex

 

 

Dimitar
Telerik team
 answered on 13 Mar 2019
1 answer
70 views

Hi all,

I have C# class called EventHandler that looks like this. StartTime and EndTime both represent the number of seconds since the start of its "parent", which is basically just a list of Events.

 

public class EventHandler
{
    public Event Event;
 
    public float StartTime => Event.StartTime;
    public float EndTime => Event.EndTime;
}

 

I'm trying to use RadGanttView to display the parent, (i.e. a List<Event>), but since StartTime and EndTime are both relative and don't have specific dates, I'm not sure where to begin. Values are both also typically below 5 seconds. Can anyone point me in the right direction?

Thanks in advance!

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Mar 2019
3 answers
206 views

I have 2 telerik gridviews - overall & details. 

What is the easiest way to print invoice using the information in Telerik winform gridview?

Thanks.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Mar 2019
1 answer
117 views

Hi, I try to copy/paste merged cells, when right click appears a menu with copy/paste options, when copy a cell or range of cells anything is wrong, but when paste the cells appear a popup that say "Cannot change part of a merged cell." Anyone know about this?

 

Thanks

Nikolay Demirev
Telerik team
 answered on 13 Mar 2019
0 answers
147 views

Hello everyone.

     When I use the RadGridView control, I want to add data to the table that can be entered into four decimal places, but when the data is entered,

 it automatically rounds to save two decimal places; I want it to show how to solve multiple decimal places;

hong
Top achievements
Rank 1
 asked on 13 Mar 2019
5 answers
110 views

Create new Word-inspired project. Add the event handler below:

private void radRichTextEditor1_CommandExecuting(object sender, CommandExecutingEventArgs e)
{
    if (e.Command is EditFooterCommand)
    {
        e.Cancel = true;
    }
}

 

If document is not protected then user cannot enter the footer, either by menu or by double-click. If the document is protected (menu Review > button Protect Document) the user cannot edit the footer (as document is protected), nor can they enter it by menu (Insert > Footer), but they can still enter it by double-click. Is there a way to prevent them even from entering the footer by double-click when the document is protected?

Boby
Telerik team
 answered on 12 Mar 2019
8 answers
614 views
Hi,

How to use default context menu items like copy from radgrid context menu as i am able to use delete item from a gird , delete a  row by right clicking on the context menu items and able to delete a row, similarly i need copy a row using context menu  copy


Thanks,
Senthil
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Mar 2019
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
NavigationView
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?