Telerik Forums
UI for WinForms Forum
3 answers
257 views

Hi,

I am using a GridView with a ColumnGroupsViewDefinition, I would like to display only the group headers and hide the column headers, is there a way to accomplish this?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 Mar 2018
2 answers
1.3K+ views

Hi , I'm a new blood in programs. 

recently, I tried to build a RadGridView and fill in data from database

And I create a button if the user wanna export the data in RadGridView 

 

 RadGridView rgv = new RadGridView();

 rgv.DataSource = dt;

 GridViewSpreadExport spreadExporter = new GridViewSpreadExport(rgv);
            spreadExporter.ExportVisualSettings = true;
            SpreadExportRenderer exportRenderer = new SpreadExportRenderer();
            spreadExporter.RunExport(filegoalpath, exportRenderer);

here is the method i used  , dt has data i wanna export .

so i used rgv to keep the data i wanna export and use these four program to export an excel 

but the program always tell me that my rgv is null and check it cant be null

after i checked , i found that rgv.DataSource really keeped my data in datatable

but rgv.Columns.Count is 0 and rgv.Rows.Count is 0 ,too.

 

actually this is my first time to write a program in C# 

but i really want to learn it well

so ... hope you can help me to solve my problem :(
plz !!!!

 

勇誌
Top achievements
Rank 1
 answered on 29 Mar 2018
0 answers
89 views

I created some columns, some with decimal values and some with Boolean values.

When I do the bind, every field is fine except the the one with Decimal and Boolean. All my Boolean values are checked, yet after the bind, they show as unchecked. As for the Decimal columns, they are not showing anything at all.

John
Top achievements
Rank 1
 asked on 28 Mar 2018
1 answer
165 views

Hello Team,

We are currently building a POS app with winforms and we are wondering if the image attached (Solely the cart list, excluding the headers) can be reproduced?

If yes, how? Any help will be appreciated.

Hervé

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Mar 2018
1 answer
423 views

     Hello, 

i'm binding an observable collection of expando objects to a radgridview, each object is supposed to contain a boolean but since i'm constructing my expando object from a <string, object> dictionary the bool property is an object(bool), so when these are displayed with autogeneratingcolumns true i just get a text column with true or false 

 

how can i display them as checkbox ? 

 

Thanks by advance.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Mar 2018
1 answer
122 views
The size of the edit window does not match the print preview.
Hristo
Telerik team
 answered on 28 Mar 2018
12 answers
389 views
I've read several reasons why it's not built into the SaveLayout, but I still would like a way to save Conditional Formatting. How can I achieve this?
Dimitar
Telerik team
 answered on 28 Mar 2018
1 answer
165 views

My range selector represents the 100% length of a running track. RangeStart represents the position of the start line, RangeEnd is represents the end.

I tried databinding to the RangeStart and RangeEnd properties of my selector but, after the initial binding get/set there didn't appear to be any further property change events when I changed the ranges.

How do I bind please?

 

radRangeSelector1.DataBindings.Add(new Binding(
  radRangeSelector1.GetMemberName(x => x.StartRange),
  bs, this.GetMemberName(x => x.StartRange),
  false, DataSourceUpdateMode.OnPropertyChanged));
radRangeSelector1.DataBindings.Add(new Binding(
  radRangeSelector1.GetMemberName(x => x.EndRange),
  bs, this.GetMemberName(x => x.EndRange),
  false, DataSourceUpdateMode.OnPropertyChanged));

 


Hristo
Telerik team
 answered on 28 Mar 2018
9 answers
639 views
Hi all, 

i modified the default font of a radgridview to a bigger one (design, property Font.Size) and now when i enter in edit mode on textboxcell 
the text itself keep the same font size, but the textbox is smaller and cut bottom of text out (see attached pictures).

Does anybody knows how to fix it please?
Am i using the correct way to change the font?

Thanks 

Nino
J
Top achievements
Rank 1
 answered on 28 Mar 2018
0 answers
92 views
I want to use your item. But I need a DateTimePicker of such a plan. Could not find how to do it with you.
Help, thank you.
Вадим
Top achievements
Rank 1
Iron
Iron
 asked on 27 Mar 2018
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
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
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
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?