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?
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.
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?
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
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?
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:
Am I doing something wrong? Do I have to remember something? Or is this a bug?
Regards,
Danilo
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?
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
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
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