Hi. I am trying to programatically create a spreadsheet. I can add data and graphics to the spreadsheet, but I'm not able to add a series chart. Hunting through the Telerik docs, I learned of something called a FloatingChartShape, and I think this is what I need. Unfortunately, I'm not able to get access to this class.
I'm using 2015.1.331.40 of the Telerik.Windows.Documents.Spreadsheets dll.
Can someone point me in the direction of some documentation that describes how to add a series plot to a spreadsheet.
Much thanks,
Steve
Hi,
I have made classes for custom shapes that i have added to my toolbox. All these classes are derived from ElementShape. My problem however is that i would like to get the type of each shape as the way i created them with my own separate classes. Once these custom shapes are dragged from the toolbox and dropped onto the diagram, they are identified as RadDiagramShape. This is a problem because i need to identify of which type each shape is, as the way that i have declared them. For example i have declared a class with an Input shape, and a class with an Output shape. I need to know from the diagram, which shape is of what type, for example is it an input shape or is it an output shape. Because my current code only tells me that it is a RadDiagramShape. This does not allow me to know whether it is an input or an output. I have attached screenshot of the problem and of my code.
Thank you,
Jacques.
I have inherited a radSpinEditor.
All my controls are 21px in height with the Fluent theme.
The bottom part (border) of the control is not shown correctly.
Attached is the rendering
My control:
public
partial
class
IntegerTextBox : RadSpinEditor
{
public
IntegerTextBox()
{
InitializeComponent();
ShowUpDownButtons =
false
;
Value = 0;
DecimalPlaces = 0;
TextAlignment = HorizontalAlignment.Right;
Padding =
new
Padding(0, 0, 3, 0);
Height = 21;
MinimumSize =
new
Size(0, 20);
}
}
Here is what was generated in the designer :
//
// numericUpDownSalYears
//
this
.numericUpDownSalYears.AutoSize =
false
;
this
.numericUpDownSalYears.Location =
new
System.Drawing.Point(180, 36);
this
.numericUpDownSalYears.MinimumSize =
new
System.Drawing.Size(0, 21);
this
.numericUpDownSalYears.Name =
"numericUpDownSalYears"
;
this
.numericUpDownSalYears.Padding =
new
System.Windows.Forms.Padding(0, 0, 3, 0);
Hi,
I'm trying to Convert an existing WinForms project
I have loaded our project (WinForms) into VS2015. It has update 3 and is using .NET 4.6.2.
I have run the update wizard.
The "Convert to Telerik Controls" menu does not appear!
I am using the trial version of Telerik, if that makes any difference.
Any idea what I am doing wrong?
Thanks in advance,
Jim
Ok, so we have, like I said above, a scrollable panel, in a page view page and we are using Windows 8 theming in our application. So, when we set all the controls on the form to that theme, any control that is in the Scrollable panel seems to get the back color from the page view page on which the scrollable panel is located instead of the back color from the scrollable panel. This make our controls look weird. Attached is an example of what we are seeing. You will see two scrollable panels, one on the form and the other on a page view page. You can see the differences yourself.
This also happens if you use ThemeResolutionService.ApplicationThemeName = "Windows8" anywhere in our code as well
Hi,
I'm trying to create row of check boxes. To do that I created custom cell element as described in the topic https://docs.telerik.com/devtools/winforms/controls/virtualgrid/cells/creating-custom-cells.
But after form resizing custom cells are displayed in wrong row.
Please find screenshot attached.
Is it a working way to implement row of custom cells in VirtualGrid?
Thank you in advance.
we need to expand the rows based on some condition we have(based on a flag we set). we have tried expanding the rows in both CellFormatting event and ViewCellFormatting event.but it expands only the groups which are in visible. the groups which will be pulled on scrolling the grid are not expanded. please suggest us to fix this issue as it is very high priority for us.
Hi.
Is there a way to get the text box values from the from the objects in my diagram into an array or a list? I would like to use the text box string values of the objects on the diagram values for program logic.
Then i would also like t get all the X and Y coordinates of each object on the diagram into a list that will enable me to write logic based on the position of the X and Y values of my objects in my diagram.
Thank You!
Jacques
Hello,
I'm having some trouble changing the width of the editor for a gridViewComboBoxColumn. I'm using a RadDropDownListEditor. I took a look at this thread: https://www.telerik.com/forums/resize-combobox-27cd57e8088b from several years back but this method still didn't work for me. Below is what I have tried. What am I doing wrong? The dropdownwidth still remains the width of the column no matter what I try.
private void radGridViewDetail_EditorRequired(object sender, EditorRequiredEventArgs e)
{
switch (radGridViewDetail.CurrentColumn.Name)
{
case "CO":
case "CC":
case "Acct":
e.Editor = new RadDropDownListEditor();
break;
}
}
private void radGridViewDetail_CellEditorInitialized(object sender, GridViewCellEventArgs e)
{
if (e.ActiveEditor is RadDropDownListEditor)
{
//RadDropDownListEditor editor = (RadDropDownListEditor)e.ActiveEditor;
RadDropDownListEditor editor = this.radGridViewDetail.ActiveEditor as RadDropDownListEditor;
if (editor != null)
{
RadDropDownListEditorElement element = (RadDropDownListEditorElement)editor.EditorElement;
element.DropDownSizingMode = SizingMode.UpDownAndRightBottom; // This does not work
element.PopupOpened += new EventHandler(editorElement_PopupOpened);
//((RadDropDownListEditorElement)((RadDropDownListEditor)this.radGridViewDetail.ActiveEditor).EditorElement).DropDownSizingMode = SizingMode.RightBottom;
//((RadDropDownListEditorElement)((RadDropDownListEditor)this.radGridViewDetail.ActiveEditor).EditorElement).DropDownMinSize = new Size(200, 100);
//((RadDropDownListEditorElement)((RadDropDownListEditor)this.radGridViewDetail.ActiveEditor).EditorElement).Popup.Width = 200;
element.DropDownMinSize = new Size(200, 100);
element.ArrowButton.Visibility = Telerik.WinControls.ElementVisibility.Collapsed; // This works
//element.AutoCompleteMode = AutoCompleteMode.SuggestAppend; // This isn't needed
element.Popup.Width = 200;
element.DropDownWidth = 200;
switch (radGridViewDetail.CurrentColumn.Name)
{
case "CO":
element.AutoCompleteDataSource = coTable;
element.AutoCompleteDisplayMember = "COMPANY_CODE";
element.AutoCompleteValueMember = "COMPANY_CODE";
element.DropDownWidth = 200;
break;
case "CC":
element.AutoCompleteDataSource = ccTable;
element.DisplayMember = "ADDRESS";
element.ValueMember = "COST_CENTER";
element.AutoCompleteDisplayMember = "ADDRESS";
element.AutoCompleteValueMember = "COST_CENTER";
break;
case "Acct":
element.AutoCompleteDataSource = glTable;
element.DisplayMember = "ACCT_DESC";
element.ValueMember = "GLMAJOR";
element.AutoCompleteDisplayMember = "ACCT_DESC";
element.AutoCompleteValueMember = "GLMAJOR";
break;
}
}
}
}
private void editorElement_PopupOpened(object sender, EventArgs e)
{
((RadDropDownListEditorElement)sender).Popup.MinimumSize = new Size(150, 0);
}