
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"?


Hello All,
is gridview possible to make fix row and column,
i need to make first column fix with default text "Type"
and 2 fix rows "A" and "B"
can this possible to apply ?
Thanks ....


how do I remove the excessive white space around the gauge controls?
In the attached image all want is a thin gauge representing a battery but the control is huge, and cant be sized smaller.
