Telerik Forums
UI for WinForms Forum
31 answers
2.6K+ views
I would like to hide "click here to add new row" option on radGridView.

Thanks,
Rajesh
Terje
Top achievements
Rank 2
 answered on 16 May 2016
7 answers
214 views
Hello,

could you tell me how do I change the header (see attachment) with a button click event.

I would like to change the font color or the background color

I did it myself header hinbekommen the micelles to change color with a button, but unfortunately I can not find the code for the group

with this code can i change the cell color

RadGridView1.Rows(i).Cells(b).Style.BackColor = Color.Yellow
 RadGridView1.Rows(i).Cells(b).Style.CustomizeFill = True
this works fine


Please help me

I use Visual Basic not C

regards
Hristo
Telerik team
 answered on 16 May 2016
1 answer
70 views

Hi to all,

how can I set a distinct filter (with Excel-like filtering) programmatically?

Hristo
Telerik team
 answered on 16 May 2016
1 answer
169 views

Are there any properties on a BarPointElement, for example, that I can use to set the width of any given bar in a series separately from the others?

 

I already know how to get to the the point element to do formatting, just don't know what to set to get what I want. Kind of like the gap with but individually, not for the whole axis...

Hristo
Telerik team
 answered on 16 May 2016
2 answers
103 views

I do not normally work on the desktop and I am really struggling with the grid view.

I have a number of basic maintenace forms that have a grid on them. I thought I would see if I code manage with the add, update an delet buttons by using the grids bulit in functions but I cannot get my head round which way I should be going.

 

I have an ubound grid which I am loading from a list of custom objects. I am loading it unbound so I can use the built in drag drop to re order the items.

I am handling the delete in RowsChanging so I can validate the process and cancel if required, this seems to work but if this is not good please advise?

I was trying to to deal with the add and update in RowsChanging and Rows Changed but I have run into all sort of issues so I guess this is the wrong approach.

If anyone some guidance on this I would be very grateful.

Thanks

Goff

 

 

 

 

Hristo
Telerik team
 answered on 16 May 2016
4 answers
139 views

Is it possible to override the tristate to allow for Any node to be in a 3 phase status?

I am working on a security module and the categories that are available to a user will appear in the treeview (all fine and dandy), but there is going to be 3 security modes associated with each litem, Deny, View, or Edit and three phase will work perfectly for this, but the current implementation only seems to allow for a Parent node to be in  an intermediary state.

 

Can this be overridden to allow for Each node to just have independent control of the three values, to then read and set my security levels?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 May 2016
1 answer
123 views

Hi guys,

I am having some trouble trying to remove the border from the radRotator control in a WinForms project. The control is on a normal form, and I have gone through all of the properties. I have set the BorderThickness property to '0', yet it still displays.

Any help would be appreciated!

Regards,

Mike

Dimitar
Telerik team
 answered on 16 May 2016
4 answers
103 views

Given the following routine, can you please explain why I am not able to change the row height via code?

 

With Me.dvAreas
 
                .AllowColumnReorder = False
 
                .AllowColumnResize = False
 
                .AllowRowReorder = False
 
                .AllowRowResize = False
 
                .EnableAlternatingRowColor = True
 
                .AutoSizeRows = False
 
                .TableElement.GroupHeaderHeight = 50
 
                .TableElement.RowHeight = 50
 
                .TableElement.TableHeaderHeight = 50
 
                Dim colID As New GridViewTextBoxColumn()
                colID.Name = "colID"
                colID.HeaderText = "Work Area ID"
                colID.FieldName = "WorkAreaID"
                colID.MaxLength = 0
                colID.TextAlignment = ContentAlignment.MiddleRight
                colID.IsVisible = False
                colID.Width = 0
 
                Dim colWorkAreaName As New GridViewTextBoxColumn()
                colWorkAreaName.Name = "WorkAreaName"
                colWorkAreaName.HeaderText = "Name"
                colWorkAreaName.FieldName = "WorkAreaName"
                colWorkAreaName.MaxLength = 15
                colWorkAreaName.TextAlignment = ContentAlignment.MiddleLeft
                colWorkAreaName.IsVisible = True
                colWorkAreaName.Width = 100
 
                Dim colWallConstructionMasonry As New GridViewCheckBoxColumn()
                colWallConstructionMasonry.Name = "WCMasonry"
                colWallConstructionMasonry.HeaderText = "Masonry"
                colWallConstructionMasonry.FieldName = "WCMasonry"
                colWallConstructionMasonry.TextAlignment = ContentAlignment.MiddleLeft
                colWallConstructionMasonry.IsVisible = True
                colWallConstructionMasonry.Width = 100
 
                Dim colWallConstructionSteel As New GridViewCheckBoxColumn()
                colWallConstructionSteel.Name = "WCSteel"
                colWallConstructionSteel.HeaderText = "Steel"
                colWallConstructionSteel.FieldName = "WCSteel"
                colWallConstructionSteel.TextAlignment = ContentAlignment.MiddleLeft
                colWallConstructionSteel.IsVisible = True
                colWallConstructionSteel.Width = 100
 
                Dim colWallConstructionOther As New GridViewCheckBoxColumn()
                colWallConstructionOther.Name = "WCOther"
                colWallConstructionOther.HeaderText = "Other"
                colWallConstructionOther.FieldName = "WCOther"
                colWallConstructionOther.TextAlignment = ContentAlignment.MiddleLeft
                colWallConstructionOther.IsVisible = True
                colWallConstructionOther.Width = 100
 
                .MasterTemplate.Columns.Add(colID)
                .MasterTemplate.Columns.Add(colWorkAreaName)
                .MasterTemplate.Columns.Add(colWallConstructionMasonry)
                .MasterTemplate.Columns.Add(colWallConstructionSteel)
                .MasterTemplate.Columns.Add(colWallConstructionOther)
 
                Dim view As New ColumnGroupsViewDefinition()
                view.ColumnGroups.Add(New GridViewColumnGroup("Work Area"))
                view.ColumnGroups.Add(New GridViewColumnGroup("Wall Construction"))
 
                view.ColumnGroups(0).Rows.Add(New GridViewColumnGroupRow())
                view.ColumnGroups(0).Rows(0).ColumnNames.Add("WorkAreaName")
 
                view.ColumnGroups(1).Rows.Add(New GridViewColumnGroupRow())
                view.ColumnGroups(1).Rows(0).ColumnNames.Add("WCMasonry")
                view.ColumnGroups(1).Rows(0).ColumnNames.Add("WCSteel")
                view.ColumnGroups(1).Rows(0).ColumnNames.Add("WCOther")
 
 
 
                .ViewDefinition = view
         

Hristo
Telerik team
 answered on 13 May 2016
1 answer
67 views
When I open the Property Builder on a radGridView, select a column under MasterTemplate and go to Advanced everything looks ok. But if i go to Templates, and then back again to Columns, and use Categorized sorting, almost every property says "Object does not match target type". I'm also missing the MaxLength property. A few times everything has seemd right, but no MaxLength property. If I use Alphabetical sort it's ok.

 

I'm using v2016.2.503.40 and VS2015

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 May 2016
1 answer
93 views

I have developed a WinForm form with a RadButton and have compiled Framework 4 and double-click the executable does not load anything in the machines of my clients. But in my development machine if charging.

I have to install on my clients to run normally Framework 4 Other than the another component have to install to make it work?

help me please

Thank you

Dimitar
Telerik team
 answered on 12 May 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
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?