Telerik Forums
UI for WinForms Forum
20 answers
1.7K+ views
Okay quick question. I know I can remove the Maximize, Minimize, and Close button from the top of the Ribbonbar, but how do I remove the one that appears when opening an MDI Child object?

So what happens is that I am using the Ribbonbar on the MDI Parent. When I open a MDI Child I don't want to display the Maximize, Minimize, Close button for it.

I have also tried to do this via the child object using me.minimizebox = false but it still shows up. What is weird is once I use the maximize button on the child form the buttons get removed.

Any help would be appreciated. Oh by the way I am using the shaped form so I don't see any standard window borders.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Oct 2016
16 answers
1.7K+ views
I am trying to display a set of data grouped by type. I don't want the user to set up the grouping, I just want the grid to appear with the groupings I define.

I found this help topic:
http://www.telerik.com/help/winforms/gridview-grouping-setting-groups-programmatically.html
And wrote the three lines of code that it said to add:

' Set up grouping
Dim descriptor As New GroupDescriptor
descriptor.GroupNames.Add("ReportTypeId", System.ComponentModel.ListSortDirection.Ascending)
Me.ReportGridView.GroupDescriptors.Add(descriptor)

I run the application and I see no groupings. The grid contents look the same.

I assume there is something else I need to do beyond what is in the help topic? Are there some grid settings I need to turn on/off to get this to work?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Oct 2016
5 answers
78 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
89 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
253 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
146 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
86 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
140 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
318 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
204 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
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
AI Coding Assistant
+? 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?