Hey, how can I skip the ViewCellFormatting event while the grid is getting new data?
Maybe there's some property I can check before continuing formatting? I have two interdependent grids and would like to "pause" this event whenever any of them is reloading...
I am Using pdfExporter from RadDataGrid View to generate pdf.
How to wrap text of cells/columns in exported pdf. using VB.NET not C-Sharp
Hi
How to remove or edit "Creator Telerik PdfProcessing" text before exporting DGV to pdf from PDF Properties.
I use telerik UI for WinForms project(not WPF) How to prevent auto close of RadContextMenu
when user clicks on item on it? Now, after mouse click on any item, it closes. In WinForms there is ContextMenuStrip.AutoClose
property to prevent autoclosing. Is there analogue of the property on Telerik RadContextMenu
?
Thanks
Hello,
I'd like to display cell value (string) this way
(2) text2
(1) text1
not this way
(2) text2 (1) text1
How to achieve this behaviour?
Thank you.
Hi,
I am trying to create a PDF Table but I am missing one or more libraries that I should reference. The code fragment I am trying is as follows:
Table table = new Table();
TableRow firstRow = table.Rows.AddTableRow();
TableCell firstCell = firstRow.Cells.AddTableCell();
Block block = firstCell.Blocks.AddBlock();
block.InsertText("Testing");
Thanks
I hava a model that contains IsSelected Property, and I want to bind the row IsSelected of gridview to that IsSelected, what should i do?
class MyClass
{
public bool IsSelected { get; set; }
}
private BindingSource _bindingSource;
private List<MyClass> _myClassList;
private RadGridView _gridView;
private void DataBinding()
{
_bindingSource = new BindingSource { DataSource = _myClassList };
// how to bind _gridView.Rows.IsSelected to _myClassList.IsSelected?
_gridView.DataSource = _bindingSource;
}
Hello, I am adding a 15mb image to the background of a RadDiagramShape. The problem I am running into is the RadDiagram eats up 1gb of memory every time I open the form. Eventually if I don't call GC.Collect the Image.FromStream blows up due to a memory limit. I have traced it back to the RadDiagram utilizing a ton of memory. The question I have is what performance considerations should I be looking at with the control? I included the steps I am taking to add in the image.
Thanks in advance!
Brian
uiMap.DiagramElement.IsBackgroundSurfaceVisible = false;
uiMap.SelectionMode = Telerik.Windows.Diagrams.Core.SelectionMode.None;
RadDiagramShape backgroundImage = new RadDiagramShape()
{
Name = "Image"
};
backgroundImage.IsConnectorsManipulationEnabled = false;
backgroundImage.IsRotationEnabled = false;
backgroundImage.IsResizingEnabled = false;
backgroundImage.IsDraggingEnabled = false;
backgroundImage.CaptureOnMouseDown = false;
backgroundImage.IsEnabled = false;
backgroundImage.IsFocusable = false;
backgroundImage.IsHitTestVisible = false;
backgroundImage.ShouldHandleMouseInput = false;
backgroundImage.Shape = new Telerik.WinControls.RoundRectShape(0);
backgroundImage.DiagramShapeElement.Image = floorplan;
backgroundImage.Width = floorplan.Width;
backgroundImage.Height = floorplan.Height;
backgroundImage.ShouldHandleMouseInput = false;
backgroundImage.NotifyParentOnMouseInput = false;
backgroundImage.CaptureOnMouseDown = false;
uiMap.AddShape(backgroundImage);
Telerik.Windows.Diagrams.Core.ToolService toolService = uiMap.ServiceLocator.GetService<Telerik.Windows.Diagrams.Core.IToolService>() as Telerik.Windows.Diagrams.Core.ToolService;
if (toolService != null)
toolService.ToolList[0] = new CustomPanningTool();
uiMap.ActiveTool = Telerik.Windows.Diagrams.Core.MouseTool.PanTool;
How to do this (I hope) simple action?
I tried to set BeginEditMode to different options, AllowEditRow is set to true, but when I press F2 (for example) nothing happens.
Data displayed ok.
What additionally have I do?
Why there is no guide in documentation? Or I didn't find it?
Thank you!