Telerik Forums
UI for WinForms Forum
1 answer
114 views

Related screenshots:

Scr1: http://prnt.sc/c4t86p

Scr2: http://prnt.sc/c4tazq

Description:

1) if AddNewRow.True and AddNewRowPosition.Top the top line of cell selection rectangle is eated by half;

2) if SelectionMode.CellSelect the bottom line of cell selection rectangle is eated by half.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Aug 2016
2 answers
169 views

I'm trying to use the ExportToCSV function and I can see it works ok with one of my grids, one that was created with the Designer. but when trying to generate a GridView on the fly it'll export a blank CSV, even when the grid's DataSource is filled with records.

01.private void radButton1_Click(object sender, EventArgs e)
02.{
03.    RadGridView tempGrid = new RadGridView();
04. 
05.    GridViewTextBoxColumn firstName = new GridViewTextBoxColumn();
06.    firstName.FieldName = "fname";
07.    tempGrid.Columns.Add(firstName);
08. 
09.    GridViewTextBoxColumn lastName = new GridViewTextBoxColumn();
10.    lastName.FieldName = "lname";
11.    tempGrid.Columns.Add(lastName);
12. 
13.    GridViewTextBoxColumn emailAddress = new GridViewTextBoxColumn();
14.    emailAddress.FieldName = "email";
15.    tempGrid.Columns.Add(emailAddress);
16. 
17.    ContactsEntities csvList = new ContactsEntities();
18.    tempGrid.DataSource = (from c in csvList.CSVList select c).ToList();
19. 
20.    ExportToCSV exporter = new ExportToCSV(tempGrid);
21.    string fileName = "D:\\ExportedData2.csv";
22.    exporter.RunExport(fileName);
23.}

DBE
Top achievements
Rank 1
 answered on 15 Aug 2016
4 answers
588 views
And probably with RadListBox also.

The problem is as follows: I have a RadComboBox, with DataSource, DisplayMember and ValueMember defined. It get's populated just fine:
cmbNewTipoUtente.ValueMember = "ID_TipoUtente";  
cmbNewTipoUtente.DisplayMember = "Designacao";  
cmbNewTipoUtente.DataSource = dt; //<- DataTable 

The same RadComboBox has a DataBinding on SelectedValue to a property on a POCO object. Something like this:
cmbNewTipoUtente.DataBindings.Add("SelectedValue", mNewTipoUtente, "ID_TipoUtente"true, DataSourceUpdateMode.OnPropertyChanged, null); 

Also have the SelectedIndexChanged event subscribed where I check for some conditions. In the event, I'm checking the value on the ID_TipoUtente property so I can pass it to a method on my business layer. This is where the problem lays (and I think it is a bug), whenever I selecte an item on the RadComboBox, the value of my property do not get updated.

I tryed to open a Bug Report, but it seems there's also a bug on My Account section of the site, since there is only one product available to me, where should be almost all of them. lol

This is a big issue since many of my features are broken because of this and can cause me some pain with my clients.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Aug 2016
1 answer
204 views

VisualStudio10/c++cli/Telerik_UI_For_WinForms_2016_1_216_Dev.msi

Created a gridview with visible filters row.

When clicking on some filter the selection goes out from row. How could I make the selection stay on 'current row' ?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Aug 2016
9 answers
1.2K+ views

The following code doesn't work:

1.string newDate = "...";
2.grid.CurrentRow.Cells["StartDate"].Value = newDate;

Hristo
Telerik team
 answered on 15 Aug 2016
6 answers
573 views

Hi Team,

In the Telerik article for Custom Nodes in Treeview, the root node and the child nodes contain the same controls i.e image,label,line,button.

Please provide code for displaying different controls in the root node and child nodes. Eg: image,label,line,button in Root Node,  TextBox in child node in level1 and checkbox in child node in level 2

 

Thanks,

Swarupa

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Aug 2016
17 answers
876 views

Hi.

I'd like to bind the DataTable (contains a single DataRow) to radPropertyGrid: each row in radPropertyGrid should represent sequental value from DataRow. As I've understood it is quite possible. But I also want to add IsReadOnly and Category attributes to each property created this way. I have arrays of appropriate length where there each value should be applied to same index's attributes of (DataRow value as Property) in radPropertyGrid.

Moreover I have plans to get changes from this radPropertyGrid to create an update statement for my database.

I'm afraid I'm not quite skilled to complete these tasks without some help as I have some problems with understanding TypeDescriptors, TypeProviders etc.

Could you please give me any tips?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Aug 2016
5 answers
856 views

hi

how color change ?:

Ralitsa
Telerik team
 answered on 12 Aug 2016
1 answer
392 views

I want to hide the close button on the DocumentContainer from RadDock as shown in the following image. I have no found any property for that.

Help me, plz!

Ralitsa
Telerik team
 answered on 12 Aug 2016
1 answer
163 views

Hi,

I'm trying to get one column sorted in DetailsView with a custom comparer. The other columns are fine with the default comparer.

How can I attach my custom comparer to the correct column?

Hristo
Telerik team
 answered on 12 Aug 2016
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?