RadMemnuItems have a .showArrow propery, which shows a little triangle to the right of the item, to indiate there are sub-items.
Does anyone know how to make the arrow appear at the bottom of the item? There 's Direction property, but that changes where the wrrow points, which is useful, but does not change its position.
Is it possible to send mail report from RadGridView Telerik WinForms C#. I have button to print when the button is clicked the report should export to pdf also.
Hi,
I'd like to customize the location of a MessageBox. Ideally, I would just set a parent control and the MessageBox would center itself to the parent.
I tried this ((0,0) to make it obvious) but it doesn't work:
'Dim pt As Point = New Point(Me.Parent.Location.X + Me.Location.X, Me.Parent.Location.Y + Me.Location.Y)
'Telerik.WinControls.RadMessageBox.Instance.Location = New Point((pt.X + Me.Width / 2) - (Telerik.WinControls.RadMessageBox.Instance.Width / 2), (pt.Y + Me.Height / 2))
Telerik.WinControls.RadMessageBox.Instance.Location = New Point(0, 0)
Dim ds As DialogResult = Telerik.WinControls.RadMessageBox.Show(Me, "Are you sure?", "Clear form",
MessageBoxButtons.YesNo, RadMessageIcon.Question,
MessageBoxDefaultButton.Button1)
I've also found this bit of code (modified it according to my needs) from an older answer to someone else's similar question:
Private Sub Instance_LocationChanged(sender As Object, e As EventArgs)
RemoveHandler RadMessageBox.Instance.LocationChanged, AddressOf Instance_LocationChanged
Dim box As RadMessageBoxForm = sender
Dim pt As Point = New Point(Me.Parent.Location.X + Me.Location.X, Me.Parent.Location.Y + Me.Location.Y)
box.Location = New Point((pt.X + Me.Width / 2) - (box.Width / 2), (pt.Y + Me.Height / 2))
AddHandler RadMessageBox.Instance.LocationChanged, AddressOf Instance_LocationChanged
End Sub
But the problem here is that the MessageBox is then static and can't be moved.
Suggestions?
Using version 2021.1.326.40.
Jure
Hello,
I am using the RadSpreadProcessing library to create Excel reports: https://docs.telerik.com/devtools/document-processing/libraries/radspreadprocessing/overview
I'm using the DataValidation (i.e. ListDataValidationRule) to create dropdowns with a set of values: https://docs.telerik.com/devtools/document-processing/libraries/radspreadprocessing/features/data-validation
Here's the issue I'm seeing:
I go to try to create a dropdown with the ListDataValidationRule object, but when my string length is >255 characters for the Argument1 property and I export out the report, I receive an error when trying to launch the exported file:
Sample code:
CellIndex dataValidationRuleCellIndex = new CellIndex(0, 0);
ListDataValidationRuleContext context = new ListDataValidationRuleContext(worksheet, dataValidationRuleCellIndex);
context.ErrorStyle = ErrorStyle.Stop;
context.ErrorAlertTitle = "Wrong value";
context.ErrorAlertContent = "The entered value is not valid";
context.InCellDropdown = true;
context.IgnoreBlank= false;
// Insert string length is > 255 characters
context.Argument1 = <INSERT STRING OF LENGTH > 255 CHARACTERS>;
ListDataValidationRule rule = new ListDataValidationRule(context);
worksheet.Cells[dataValidationRuleCellIndex].SetDataValidationRule(rule);
Hi, How do I go about setting my own image for the help button shown in the title bar at run-time of a RadForm ? I can get the '?' button up but I want to change this form something else.
Thanks Toby
Hi,
I am using the Resource dropdownlist for my resouces (room/booth/oven selection). How do I remove "ANY" from Resource dropdownlist in the Dialog box? I want to allow the user to be able to select only one resource. Please refer to my attachment.
Best regards,
Dominic
How can I put one Image on the right side of RibbonBar?
Hi guys,
I would like to get the 4 coordinates for the displayed map on RadMap
Top Right (x, y) , Top Left (x, y) , Bottom Left (x, y) , Bottom Right (x, y)
those values should change different when a user zoom in/out, or move the map with mouse.
is there a way to do that?
Hello Team,
We are using the Windows application with Telerik controls
How to open the child form with Showdialogue on inside the MDI parent form ?, i need to open child form on Showdialogue method.
Please help with it.
Thanks,
I want to add a check function to the scheduler dialog box OK BUTTON. How do I do that?