Telerik Forums
UI for WinForms Forum
5 answers
86 views

Hi,

I m new to using Telerik controls and working on using a radgridview in my project. I have to bind a string DB column(Y/N) to a check box column in the grid and when user changes the check boxes, appropriate check box state has to be converted as Y/N and save back to the business entity object which was bonded. I have used the type converters to convert the TRUE/FALSE values to Y/N, but for some reason, they are again becoming as TRUE/FALSE before committing the dataset. Can anyone throw some light on whats happening here?

Also not sure about which event to handle when user changes the check boxes and appropriately change corresponding Be updated. Thanks much in advance.

 

Grid column binding with DB column with type converter:

GridViewCheckBoxColumn checkBoxColumn = new GridViewCheckBoxColumn();
checkBoxColumn.DataType = typeof(string);
checkBoxColumn.Name = LocationDo.GenerateSheetsColumn;
checkBoxColumn.FieldName = LocationDo.GenerateSheetsColumn;
checkBoxColumn.HeaderText = "Generate Tests?";
checkBoxColumn.DataTypeConverter = new ToggleStateConverter();
dgvLocations.MasterTemplate.Columns.Add(checkBoxColumn);
dgvLocations.Columns[LocationDo.GenerateSheetsColumn].Width = 55;

 

Property definition:

[TypeConverter(typeof(ToggleStateConverter))]
public string GenerateSheets
{
         get { return _GenerateSheets; }
         set { _GenerateSheets = value; }
}

 

Thanks,

 -Chandra

 

Dimitar
Telerik team
 answered on 14 Oct 2016
6 answers
98 views

Greetings.

I'm newbie, as 2nd day newbie.. never used .net, nor tools like this...

I developed a demo for trying to engage Company Director and purchase tools...

after little strugle, it worked..   My system is built with openedge 11.6.3.

 

When I run the windows desktop application (client networking, prowin32.exe) (client-server and few appserver apps) on Director's windows 10 pc,

Got error about:  "telerik.winforms.radchart" not installed and stuff....  I installed several products from telrik.com, but I bet they are for developing time, not runtime..

 

Is anybody able to guide me on this task?

 

Thanks in advance....

Greetings from Mexico.

Dimitar
Telerik team
 answered on 14 Oct 2016
1 answer
265 views

I would like to decorate the text of my nodes at runtime with a label showing the child count in a different color and font.  How can I achieve this?

 

Dimitar
Telerik team
 answered on 13 Oct 2016
3 answers
162 views

Hi,

I have a radgridview control which has a binding of a data set (A), In a specific scenario couple of columns in A which has a value in it should show in a combo box control which actually have a set of different possible values in it. I have separate data sets(B & C) bound for those combo box columns. However the current value of the column from A should automatically select in the appropriate value of combo boxes of ( B & C) when I load the data. How can I achieve this. Below is the sample code I have.

dgvLocations.DataSource = _LocationBo.Do.Table.DefaultView;  // Main datagridview control data source - A

 

GridViewComboBoxColumn configColumn = new GridViewComboBoxColumn();
dgvLocations.MasterTemplate.Columns.Add(configColumn);
configColumn.HeaderText = "Configuration";
configColumn.DataSource = _LocationConfigCdBo.Do.Table.DefaultView;
configColumn.FieldName = LocationDo.V_ConfigurationColumn;                 // Column name mapping from the A dataset
configColumn.ValueMember = LocationConfigCdDo.TypeCdColumn;           // Column name mapping from the B dataset
configColumn.DisplayMember = LocationConfigCdDo.DescColumn;
configColumn.Name = LocationDo.V_ConfigurationColumn;

 

The combo box was successfully loading the values from the dataset B, however it is not showing the selected value from the A. Please advice.

-Chandra.

Dimitar
Telerik team
 answered on 13 Oct 2016
5 answers
100 views

I am using the pivot grid and have a field called Category and Subcategory when I filter down The Category the Subcategory should only show the fields that are associated with the given category.  Right now it shows all of the subcategory records and makes it hard to work with.

How would I implement this?

 

Thanks,

Tim

Hristo
Telerik team
 answered on 13 Oct 2016
2 answers
150 views

Hello

Two questions 

1. I have filtered few elements in Row/Column Group Descriptor. On a button click i want a list of GroupDescriptor which are being filtered.

Like in screenshot attached, i want when click on a button Vintage, Commodity, Period should be shown in messagebox as these are filtered ones.

 

2. I want to make one global flag to be true if we do any kind of change in my PivotGrid. Like Drag/Drop, Filtering, Sorting or any thing.

 

 

 

 

Hristo
Telerik team
 answered on 13 Oct 2016
3 answers
354 views

Hi.

I want to put a button on the form that would copy the chart to the clipboard, so that I can paste it to MS Office apps.

I know there is an export function, but is there a way to do a copy to clipboard?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Oct 2016
6 answers
216 views
Hello everybody i have a bad problem with the RadGridView it doesn't scroll on tab click neigher the vertical or horizontal scrollbar does scroll.
Is there anyone who could provide me some help to this issue.
Thanks in advanced for any help.
Hristo
Telerik team
 answered on 13 Oct 2016
2 answers
172 views

Hi,

when I print PivotGrid - all Row headers columns have same size, is it possible to print them similar size like on the screen? Like for datacells columns, see attached

Alex

Alex Dybenko
Top achievements
Rank 2
 answered on 12 Oct 2016
11 answers
411 views

Hi,

I need to run BestFitColumns on a hierarchical grid.
 
The master view template works fine, but I can't seem to get it to work with the child columns.

I am doing the following:

someGrid.MasterGridViewTemplate.ChildGridViewTemplates[0].BestFitColumns();  

Thanks
- jorge

Aaron Abdis
Top achievements
Rank 1
 answered on 11 Oct 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)
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
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?