Telerik Forums
UI for WinForms Forum
2 answers
104 views

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.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Dec 2022
1 answer
214 views
I drew an example in the picture.
The format of the data table read from db is shown on the left.
I want to show this on the grid and zoom in
Grouping does not show column information in the row that is being expanded/reduced, but I need information in all rows.
I want to express it like BOM.
I want to expand/reduce to a specific key flexibly according to the column of the table I'm reading, but I don't know what to do.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Dec 2022
1 answer
140 views

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

Maria
Telerik team
 answered on 05 Dec 2022
1 answer
156 views

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;
}

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Dec 2022
1 answer
185 views

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;

 

                                
Dinko | Tech Support Engineer
Telerik team
 answered on 01 Dec 2022
2 answers
781 views

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!

Vitalii
Top achievements
Rank 1
Iron
 answered on 29 Nov 2022
1 answer
129 views

Hello everyone.
Can anyone help me fix this?
Each Telerik Control has multiple entries in the Toolbox - that's just a small portion.
The duplicates all point to the same library.
The Version of each tool is identical to that of its duplicate.
A few times I've uninstalled and reinstalled. Does not fix it.
This problem cannot be fixed with Telerik Toolbox Configurator.
I would appreciate any help or advice you can provide

Thanks all.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Nov 2022
15 answers
668 views
I have Q3 controls.  There is no tabstop property in my design properties window for raddropdownlist. And setting is programmatically to false does not work. What can I do?
Mark
Top achievements
Rank 2
Bronze
Bronze
Veteran
 answered on 22 Nov 2022
1 answer
120 views

Hello,

I am working on the development of an application and I have some doubts in the handling of the PivotFieldList control.

I would like to know how to enter the onclick event of the "Update" button of the PivotFieldList, I want to place some validations when clicking on that button.

 

I would also like to know how to access the onclick event of the "OK" button that appears in each filter of the fields that are displayed in the PivotGrid, because I also want to add some validations when the button is clicked.

Thanks for the support.

Dinko | Tech Support Engineer
Telerik team
 answered on 21 Nov 2022
4 answers
233 views
In RadGridview I need Rowspan style. 
I tried the HtmlView Definition method, this method affected with ColumnHeader also. 
I need to merge the rows as the attached image. If there is any other method than the HTML definition, please suggest.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 Nov 2022
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?