Telerik Forums
UI for WinForms Forum
2 answers
97 views

Hi,

i tried to change auto generated editor to RadMaskedEditBox like here, but it doesn't work in DataLayout, while changing same way to Combo, Textbox, Checkbox works ok. For RadMaskedEditBox binding is not created. Any workaround for that?

 

Thanks

Alex

 

Alex Dybenko
Top achievements
Rank 2
 answered on 15 Mar 2019
3 answers
128 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
80 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
81 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
156 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
47 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
164 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
92 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
124 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
88 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
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
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
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
ProgressBar
CheckedDropDownList
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
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
ColorBox
Callout
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
DateOnlyPicker
TimeOnlyPicker
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?