Telerik Forums
UI for WinForms Forum
4 answers
186 views

I create the PropertyGrid in Dock Window.

This Window has a size less then PropertyGrid.

But: the function  RadPropertyGrid1_CreateItemElement works for visible items only and all unvisible is not created and it is the reason of exception.
How to  force the RadPropertyGrid1_CreateItemElement  works for all items in the propertyGrid ?

 

 

Oleg
Top achievements
Rank 1
 answered on 13 Jul 2020
1 answer
143 views

I have configured a radgridview element where we load approximately 1000 records. After loading the Database elements, I need to configure an icon column as shown in the image (IMG01). This icon is not part of the information of the database object but I load it directly to the radgridview column (IMG02). On the first item load this loop takes no more than 1 second for the 1000 items in the table.

If I make any changes and reload all the information from the database, the next execution of that loop takes about 40 seconds.

The image code IMG02 always runs after the image code IMG03.

Is there a way to improve the loading of these images in the radgridview element?

Thank you!

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Jul 2020
1 answer
928 views
hello is it possible to copy a row and paste it into a new row added in a unbound RadGridView winform?
I am attaching a screenshot of the RadGridView
If it cannot be done with copy paste from keyboard or mouse, can it be done with programming?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Jul 2020
4 answers
278 views

I ma using Telerik.WinControls.Export.GridViewSpreadExport to export data to XLSX.

The CellFormatting event is not called when using RunExportAsync().

It is only called when using RunExport();

Why is that?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Jul 2020
2 answers
328 views
I’m using WinForms RadMaskedEditBox  MaskType: Numeric, Mask: c2, whenever I try to type negative number example: -$1.00 I get ($1.00), the minus sign - disappears and I get parenthesis () instead.
Is there a way to get negative currency number in MaskedEditBox?
Mujaqo
Top achievements
Rank 1
 answered on 09 Jul 2020
4 answers
1.0K+ views

Hello

I have a grid that is bound to a view of my SQLdatabase (using Entity frame work)
In order to process a change in a cell value I can not use "context.savechanges" since the Binding is to a Query (view) and not a table
I have Search in two directions:
1. Discard the pending changes in the context and write a function to apply the cell change 
but I have not found a way to discard the changes in the context

2. the other direction I have searched is  to get the changes before the value changed event is fired and process it through my function
But here also I have not managed to make it work

I hope this is understandable ...

 

Thanks in advance for any suggestion

Pierre-Jean

pierre-jean
Top achievements
Rank 1
Veteran
Iron
 answered on 08 Jul 2020
1 answer
208 views

Hi Guys

The Grid looks perfect in size and style in the VS designer.. but when the app is run, the rows and the headers almost double in size. I am not even populating the grid with data and the header is already double in size.

Of course I could manually adjust all the row heights.. but I am guessing I have something set wrong with is causing this? ( some scaling or DPI option?)

 

Image attached is starting the app and having it side by side with the VS designer.

Any thoughts?

Many thanks

Rob

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Jul 2020
1 answer
166 views

Hello

I want if toolwindow is floating mode, toolwindow title text to be in the middle.

 

 

            if (mapDockWindow.IsInFloatingMode)
            {

                    // What should I do?
            }

 

 

Nadya | Tech Support Engineer
Telerik team
 answered on 07 Jul 2020
2 answers
377 views

Hello, i need to change the suggest mode of GridViewComboBoxColumn to SuggestMode.Contains. just like we can do it on dropdown control, how can i dot it. 
i am using winforms q2 2014 sp1 version controls. 
also sharing snippet of my code.

var column= new GridViewComboBoxColumn
                {
                    DataSource = ClsProducts.GetActiveProducts(),
                    DisplayMember = "ProductName",
                    ValueMember = "ProductID",
                    Width = 280,
                    HeaderText = "Product",
                    Name = "ColProduct",
                    DropDownStyle = RadDropDownStyle.DropDown,
                    AutoCompleteMode = AutoCompleteMode.SuggestAppend
                };
                dgvTrade.Columns.Insert(1, column);

thanks..

Usman
Top achievements
Rank 2
 answered on 06 Jul 2020
1 answer
115 views

Hi.

I take the table on a web page with C # and Selenium and show it in radGridView.
I add a GridViewCheckBoxColumn before the first column of each row, and I add GridViewDateTimeColumn and GridViewComboBoxColumn after the last column.
I want to equalize the initial value of the DatePicker object in GridViewDateTimeColumn to the value in column 7 of the row where it is located.

However, the initial value of DatePickers in all rows is equal to the value in the 7th column of the last row.

Here is my code:

01.public void FillRadGridView(List<IWebElement> rows, List<IWebElement> columns,  int rowCount, int columnCount, RadGridView rgv)
02.        {
03. 
04.            List<Visit> lst = new List<Visit>();
05.            Visit v = new Visit();
06.            for (int i = 0; i < rowCount; i++)
07.            {
08.                for (int j = 1; j <= columnCount; j++)
09.                {
10. 
11.                    v.Tckn = columns[1].Text;
12.                    v.AdSoyad = columns[2].Text;
13.                    v.Vaka = columns[3].Text;
14.                    v.RaporTakipNo = columns[4].Text;
15.                    v.RaporSiraNo = columns[5].Text;
16.                    v.RaporBaslamaTarihi = DateTime.Parse(columns[6].Text).ToShortDateString();
17.                    v.RaporBitisTarihi = DateTime.Parse(columns[7].Text).AddDays(-1).ToShortDateString();
18.                    v.IsBasiKontrolTarihi = DateTime.Parse(columns[7].Text).ToShortDateString();
19.                    v.CezaDurumu = columns[8].Text;
20. 
21.                }
22.                lst.Add(v);
23.            }
24.            rgv.Columns.Clear();
25. 
26.            GridViewCheckBoxColumn checkBoxColumn = new GridViewCheckBoxColumn();
27.            checkBoxColumn.DataType = typeof(int);
28.            checkBoxColumn.Name = "ColumnSelect";
29.            checkBoxColumn.FieldName = "select";
30.            checkBoxColumn.HeaderText = "Seç";
31.            rgv.Columns.Add(checkBoxColumn);
32. 
33.            rgv.DataSource = lst;
34.            AddColumnToRgv(rgv);
35.             
36.        }

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Jul 2020
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)
Form
Chart (obsolete as of Q1 2013)
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?