I'm opening the sub forms in panel on the main form. The short cut keys are getting focussed only on main form & not getting focussed on sub forms in it.
This is the code to open the sub form in a panel on the main form :
Public Shared Sub ShowForm(form As RadForm, Optional FormType As Integer = 0)
Dim i As Integer
form.TopLevel = False
frmMainMenu.rdpnlchild.Controls.Add(form)
form.BringToFront()
If FormType = 0 Then
form.Show()
ElseIf FormType = 1 Then
form.ShowDialog()
End If
End Sub

The code below does not trigger:
RadDesktopAlert.Popup.DoubleClick += Popup_DoubleClick;RadDesktopAlert.Popup.AlertElement.DoubleClick += Popup_DoubleClick;RadDesktopAlert.Popup.AlertElement.CaptionElement.DoubleClick += Popup_DoubleClick;RadDesktopAlert.Popup.AlertElement.ContentElement.DoubleClick += Popup_DoubleClick;Is there any way to capture a double click?



Hi,
I need a PropertyGridSpinEditor with a small difference, it must always show 2 digit. Example: "00", "03", "14"..
You can see in the image, i have achieved only when the edition has ended with this code.
Private Sub PropertyGridParams_ItemFormatting(sender As Object, e As UI.PropertyGridItemFormattingEventArgs) Handles PropertyGridParams.ItemFormatting If (e.Item.Name = NameOf(PROPNAME)) Then DirectCast(e.VisualElement, PropertyGridItemElement).ValueElement.Text = PROP.ToString("00") End IfEnd Sub
I try it, but doesnt work.
Public Class NumericUpDownEditor Inherits PropertyGridSpinEditor Public Overrides Sub OnValueChanged() If (Me.Value.ToString.Length < 2 AndAlso IsNumeric(Me.Value)) Then Me.Value = Integer.Parse(Me.Value.ToString()).ToString("00") Else MyBase.OnValueChanged() End If End SubEnd Class
Is there any way to achieve that?
Thank you!
Hello,
I want to hide the column you can see in the picture.
Regards

1.Public Shared Sub printPdf(newPdfViewerNavigator As RadPdfViewerNavigator, newPdfViewer As RadPdfViewer, Optional landscape As Boolean = False, Optional silent As Boolean = False)2. newPdfViewerNavigator.PrintDocument.DefaultPageSettings.Margins = New System.Drawing.Printing.Margins(0, 0, 0, 0)3. newPdfViewerNavigator.PrintDocument.Landscape = landscape4. newPdfViewer.Print(True, newPdfViewerNavigator.PrintDocument)5.End Sub
Hello,
I am build a windows form application for barcode generation. How can I change barcode forecolor? I have button for selecting color.
click the button name is "btnforcolor" then show color dialoguebox. Then select forecolor for my radBarcode component. Please help me.
My code given below
private void btnForeColor_Click(object sender, EventArgs e)
{
using (ColorDialog cdialog1 = new ColorDialog())
{
cdialog1.AnyColor = true;
if (cdialog1.ShowDialog() == DialogResult.OK)
{
radBarcode1.ForeColor = cdialog1.Color;
this.btnForeColor.BackColor = cdialog1.Color;
}
}
}
and Page Loading
private void SecondCustomControle_Load(object sender, EventArgs e)
{
this.btnForeColor.BackColor = radBarcode1.ForeColor;
this.btnBackColor.BackColor = radBarcode1.BackColor;
}
but this is not working. Please Help me.Thanks In advance.

I have a RadGridView that I populate from a DataTable that holds an SQL result. I am attempting to remove whitespace within a column.
This is the result of the way the Data is held in the Database. As result group columns divide groups that should be contained.
So group by "Column A" would result in "TypeA" and "TypeA ".
What is the best way to trim this whitespace within the GridView so results would return only "TypeA"?

