Hi *,
how is it possible to define the Location of the Forms Control box (Close, max, min) for the form to be right, the form Icon in the left and the title in the middle?
I use Crystal Dark theme and there is by Default the locaiton on the left side of the Dialog as it should be :)
Thanks
Rostislaw
Hi
I have tried to rotate the text in the column text as per your instructions on the web but it doesn't work, what am I doing wrong (VB Net)
RadGridView1.ViewCellFormatting += radGridView1_ViewCellFormatting()
RadGridView1.TableElement.TableHeaderHeight = 90
RadGridView1.Rows(0).IsSelected = True
Hello
I wonder if I make the correct use of the CellFormatting Event:
I have a grid that contains only one line
In the CellFormatting event I modify the cell text as following:
If cell.ColumnInfo.Name = "licence_type_id" Then
Dim LicenceType As wsWSTLicence.licence_type = wsLicenceTypes.Find(Function(x) x.id.Equals(cell.Value))
cell.Text = LicenceType.Code & " (" & LicenceType.Description & ")"
cell.TextAlignment = ContentAlignment.MiddleCenter
End If
It works fine, however I realized that the code within the If Statement is called 6 times (which is the number of columns in my grid ..)
Is this normal ?
I would think that if my processing was heavy this would negatively impact the performance.
Also what is the difference between then CellFormatting Event and the ViewCellFormatting Event
Thanks in advance
Pierre-Jean
Good Morning All,
I am developing an application that has a main Ribbon Form as the base form.
I have added a CrystalDark theme to the form and applied it and everything is displaying as i would expect in the designer. However when i run the application the control buttons at the top of the form and the ribbon change to a standard default windows buttons.
I have included before and after images to this post.
Can anyone please assist in how i can get this not to happen and the theme ones to override and always show even at run-time.
Tanks in advanced
Frosty
How do I setup a RadTimePicker to allow the user to enter seconds (as well as hours and minutes)?
Thanks,
-LouHello,
Is it any easy way to show enum DisplayValues from enum Description attribute?
public
enum
ObjectType
{
[Description(
"Textual information in the Html format"
)]
TextHtml,
[Description(
"Textual information in the Xaml format"
)]
TextXaml,
[Description(
"Binary Data"
)]
Binary
}
We're getting a Divide by Zero exception from one of the Telerik components. We can't track it down.
We create an instance of a COM component which is an old COM dll. Any time we try to open a form with Telerik controls on it the application crashes with a StackOverflow exception. I've attached the stack. This is a really high priority item for us at this point and holding up our release. :(
Additionally, we can create an instance of the COM component in a test application without any problems whatsoever.
************** Exception Text **************
System.DivideByZeroException: Attempted to divide by zero.
at Telerik.WinControls.UI.RadCommandBarItemsPanel.ArrangeOverride(SizeF arrangeSize)
at Telerik.WinControls.RadElement.ArrangeCore(RectangleF finalRect)
at Telerik.WinControls.RadElement.Arrange(RectangleF finalRect)
at Telerik.WinControls.UI.CommandBarStripElement.ArrangeOverride(SizeF finalSize)
at Telerik.WinControls.RadElement.ArrangeCore(RectangleF finalRect)
at Telerik.WinControls.RadElement.Arrange(RectangleF finalRect)
at Telerik.WinControls.UI.CommandBarRowElement.ArrangeOverride(SizeF finalSize)
at Telerik.WinControls.RadElement.ArrangeCore(RectangleF finalRect)
at Telerik.WinControls.RadElement.Arrange(RectangleF finalRect)
at Telerik.WinControls.Layouts.StackLayoutPanel.ArrangeOverride(SizeF arrangeSize)
at Telerik.WinControls.RadElement.ArrangeCore(RectangleF finalRect)
at Telerik.WinControls.RadElement.Arrange(RectangleF finalRect)
at Telerik.WinControls.UI.LightVisualElement.ArrangeOverride(SizeF finalSize)
at Telerik.WinControls.UI.RadCommandBarElement.ArrangeOverride(SizeF finalSize)
at Telerik.WinControls.RadElement.ArrangeCore(RectangleF finalRect)
at Telerik.WinControls.RadElement.Arrange(RectangleF finalRect)
at Telerik.WinControls.RootRadElement.ArrangeOverride(SizeF finalSize)
at Telerik.WinControls.RootRadElement.ArrangeCore(RectangleF finalRect)
at Telerik.WinControls.RadElement.Arrange(RectangleF finalRect)
at Telerik.WinControls.RadElementTree.PerformInnerLayout(Boolean performMeasure, Int32 x, Int32 y, Int32 width, Int32 height)
at Telerik.WinControls.RadControl.OnLoad(Size desiredSize)
at Telerik.WinControls.UI.RadCommandBar.OnLoad(Size desiredSize)
at Telerik.WinControls.RadControl.LoadElementTree(Size desiredSize)
at Telerik.WinControls.RadControl.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at Telerik.WinControls.UI.RadFormControlBase.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr
Hi,
we are printing out a PDF through PdfViewer.Print() utilizing a RadPrintDocument for removing the margins (new Margins(0,0,0,0)).
Unfortunately there still seem to be (very small) margins applied during print-out, because when printing the document with an external tool (e.g. Adobe Acrobat Reader) these document borders are much smaller.
Is there anything else we have to consider when printing?
Hi, I was wondering if someone could help.
I want to create a layout/cardview of a single record, I tried this via layout groups but they don't really fit side by side.
Has this been done before?