Telerik Forums
UI for WinForms Forum
2 answers
126 views

I'm trying to implement a sample like this here

http://docs.telerik.com/devtools/winforms/gridview/cells/creating-custom-cells

In Progress OpenEdge. Unfortunately the ABL does not support overriding of properties, so I cannot achieve this here:

 

 protected override Type ThemeEffectiveType

{

    get { return typeof(GridDataCellElement);}

}

 

Is there any other way of inheriting the style from the base element type?

Mike
Top achievements
Rank 1
 answered on 05 Apr 2016
1 answer
232 views

I am looking to be able to change the structure of the parent child relationship in a self-referencing hierarchy without losing the currently expanded hierarchy not related to the rows/nodes being removed and replaced.

I successfully have the ParentId and Id relationship displaying as a hierarchy in the grid view by using a BindingList<RowItemWithParentChildRelationship> bound to the DataSource of the RadGridView property.

However when I remove the old rows/nodes that no longer apply and then add the new rows/nodes (to the BindingList<>) to be displayed the radgrid control only displays the old rows being removed and not the new rows that have subsequently replaced the old structure without offering the ability to expand into the new structure.

Am I missing a trick to reparse the hierarchy (without losing the entire expand context) and display the newly added items in the hierarchy?

I can update the DataSource property which off course rebuilds all rows and loses the currently expanded tree but if it is at all possible to avoid this it will make for a much better user experience.

Digging around the available properties of RadGridView I've tried calling,

radGridView.MasterTemplate.HierarchyDataProvider.Refresh();

which I had hoped would reparse the bound data into the tree structure and offer the expansion into the replaced children of the parent node in question but to no avail.

Many thanks in advance.

Hristo
Telerik team
 answered on 05 Apr 2016
3 answers
500 views

Hi,

No matter what I set a radTextBox cursor to, whenever the mouse enters the controls it is always an IBeam.

Is this a bug in the control?

I've set it at design time (Cursor = Arrow) in the control properties and I've also tried setting it at runtime on Mouse_Enter etc, but it is always an IBeam. When the textbox is read only I want it to be an Arrow.

Any suggestions folks?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Apr 2016
1 answer
491 views

Hi, 

I am trying to disable/hide the button to show the "Start Menu" but I am not able to do it, I have tryed for example to put in "StartmenuWidth property "0" and choose no imagen but the control always show the "Telerik" logo.

How could I diseble this button/icon?

 Thanks

Francisco

Hristo
Telerik team
 answered on 04 Apr 2016
1 answer
122 views

Hi

I have a RadBrowseEditor on a form with its DialogType set to FolderBrowseDialog.

At runtime, if I click the browse button to open the "Browse For Folder" dialog and click the "Make New Folder", type a name for the newly created folder BUT DO NOT PRESS THE ENTER KEY and click the OK button, the Value is set to "New Folder" instead of the name I have typed.

How to fix that?

Hristo
Telerik team
 answered on 04 Apr 2016
5 answers
188 views

Hi Telerik Team

I'm facing another problem using RadMaskedEditBox. I'm trying to disable the validation using a checkbox. If the checkbox is checked, the EditBox uses MaskType.Regex and a regex mask. If the checkbox is unchecked, it should not validate the control anymore. I'm clearing Mask property and set MaskType to None. But the control is always validating. To reproduce this behaviour you can do the following:

1. Add a RadMaskedEditBox and a RadCheckbox to your form.
2. Add ToggleStateChanged event to the RadCheckbox.
3. Use the following code:

private void radCheckBox1_ToggleStateChanged(object sender, StateChangedEventArgs args)
{
    if (args.ToggleState == Telerik.WinControls.Enumerations.ToggleState.On)
    {
        radMaskedEditBox1.Mask = "^[0-9]{5}$";
        radMaskedEditBox1.MaskType = MaskType.Regex;
    }
 
    else if (args.ToggleState == Telerik.WinControls.Enumerations.ToggleState.Off)
    {
        radMaskedEditBox1.Mask = "";
        radMaskedEditBox1.MaskType = MaskType.None;
    }
}

4. Start the application
5. Check and uncheck the checkbox (now ToggleStateChanged event was fired)
6. Type some letters to the RadMaskedEditBox (e.g. "aaa")
7. Press tab

The error icon right next to the RadMaskedEditBox appears. But the MaskType is set to none and the Mask property is also empty. The documentation about this control says the following:

  • None: the control acts like a text box.

Am I doing something wrong? Do I have to remember something? Or is this a bug?

Regards,
Danilo

Dimitar
Telerik team
 answered on 04 Apr 2016
1 answer
109 views

I am facing this issue Exception of type system.outofmemoryException.

I have approx 1 Cr record and after binding 2 lac of record system throws this error. First throws the error message than after display record in the radgridview.

I don't know but is there any limitation of displaying no of rows without paging?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Apr 2016
2 answers
248 views

Hi,

I'm using Visual Studio Builder to customize the GroupBox control.

I want to add a border under the text of the groupBoxHeader with a width of all the groupbox (not only the text area).

I actually succed adding a border under the text but it's width isn't good for me.

I have added an attach file to explain what i want to do.

Is it possible ?

Cedric

Cedric
Top achievements
Rank 1
 answered on 01 Apr 2016
1 answer
251 views

hi team,

I have an issue about custom rad list view. One radio button has its lots of check box(s). By default, the first radio is checked (or we can checked any radio button). However, if I scroll by mouse or vertical bar, the check box that we checked before is not checked correctly. Thanks.

Please refer to the link to get my source code : https://www.dropbox.com/s/wvh44iwfv7fqgxz/CustomControl.zip?dl=0

Chuong

 

Stefan
Telerik team
 answered on 01 Apr 2016
3 answers
77 views

I used RadPrindPreview for RadPrintDocument associated to a RadGridView to export data,

but in Version 2015.2.728.40 it worked fine

but the new Version 2016, some final pages are missing.

I tested with using radgridview1.DataSource = list, using SummaryItem and without,

every time it prints the pages, but some pages are missing.

 

Example:

 RadPrintPreviewDialog dialog = new RadPrintPreviewDialog();
            dialog.Document = this.radPrintDocument1;
            dialog.ShowDialog();

 

Printing 20 pages, it just show 19;

Printing 1000 pages, it just show 96;

 

Did this "RadPrintDocument" and "RadPrintPreviewDialog ", suffer any changes?

Are there any changes

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 31 Mar 2016
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
AI Coding Assistant
+? 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?