Telerik Forums
UI for WinForms Forum
21 answers
1.1K+ views
I have a few virtual grids that have a somewhere between a few hundred and several thousand rows in them.

No matter what I try I am getting a stackoverflow error on the CellValueNeeded event anytime I try to sort any of my grids.

Not sure what to do here.

David
Dimitar
Telerik team
 answered on 15 Sep 2015
2 answers
192 views

I have a problem with RadGridView on Winform C# that is couldn't change any properties of RadGridView such as IsCurrent, IsSelected, CurrentRow, ... It's not effect yet.

For example:

My grid isn't readonly, and I changed some values below:

this.myGridView.CurrentRow = this.myGridView.Rows[0];

... then the value of CurrentRow when I watch is still null.

this.myGridView.Rows[0].IsCurrent = true;

... then it's still show as false for that.

Dimitar
Telerik team
 answered on 15 Sep 2015
0 answers
201 views

I wanted to show a clear button to either clear the value or text of the control.

 

The idea is the same as the clear button in 

dateTimePicker.DateTimePickerElement.Calendar.ClearButton

 

But I don't see any ClearButton from its child elements.

 

I came up with the idea to rename the Close Button in

radTimePicker.TimePickerElement.PopupContentElement.FooterPanel.ButtonElement

and to add a clear action on its Click Event.

 

I came up with this code:

radTimePicker.TimePickerElement.PopupContentElement.FooterPanel.ButtonElement.Text = "Clear";
(radTimePicker.TimePickerElement.PopupContentElement.FooterPanel.Children[0] as RadButtonElement).TextElement.Text = "Clear";
(radTimePicker.TimePickerElement.PopupContentElement.FooterPanel.Children[0] as RadButtonElement).ToolTipText = "Clear";
radTimePicker.TimePickerElement.PopupContentElement.FooterPanel.ButtonElement.Click +=
 delegate(object sender, EventArgs e) {  radTimePicker.Value = null;  };​

 

The tooltiptext works as well as the clearing of value. with this, I know that I am using the right button element.

But the Text always revert/return to "Close". 

 

Am I forgetting something?

 

 

Joem
Top achievements
Rank 2
 asked on 15 Sep 2015
2 answers
528 views

Hey!

How to align the values in the pivot grid cells?
The text seems to be centered by default but i found no obvious property to change this behaviour. I need right alignment.

In the Silverlight version of this control they seem to be aligned to the right by default.

Cheers,

Jens

Jens
Top achievements
Rank 1
 answered on 14 Sep 2015
1 answer
1.5K+ views
Dear good day,
Generally to obtain the value of a selected cell I did the following:
GridView.Item var = (0, GridView.CurrentCell.Row.Index) .Value value obtained with this column 0 and selected cell.
How I can do the same but using a RadGridView?

Best regards.

Javier
Electrónica GOIA
Top achievements
Rank 2
 answered on 11 Sep 2015
7 answers
356 views
I am new to the WinForms components and here is what I would like to be able to do. Not sure if this functionality is built in or if I will need to use a combination of Telerik controls so I figured it would be faster to ask. :)

I want to be able to fill a listview... then have a way to type in criteria and have it filter the listview accordingly. I want to be able to use checkboxes so once I have the listview filtered I can select certain items using the checkboxes.

Then I want to be able to remove the criteria and the listview restores all the items while retaining the items with checks in the checkboxes. Then i'll enter new criteria, which filters the list, i select more items via the checkboxes, remove the criteria, selected items are retained and so on...

Please let me know how to do this. :)
Hristo
Telerik team
 answered on 11 Sep 2015
9 answers
198 views
Hi when i drag and drop one multicolumncombobox, and change some properties that i need for all my comboboxes.

Then I try copy this control by control + c and then control + v ->  finally a bug appear.


the nesteddatagrid is out of container control(multicolumcombobox).

this behaviour is not normal.

Thanks.(only work around that i found was in designer copy all code and paste it this again) but there is no good work around.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Sep 2015
6 answers
144 views

I have a column group that contains 5 rows. I wish to hide the headers of the last 4 rows. I did put in the following code in the viewcellformatting event (below, but it did not hide the column group rows. My headertext on those rows are empty, and the images are attached. "Capture2.jpg" is the image before using the viewcellformatting event code. "Before.jpg" is the event code below being implemented, and "result.png" is what I am attempting to achieve. Thanks in advance for any help.

 

    Private Sub RadGridView1_ViewCellFormatting(sender As Object, e As CellFormattingEventArgs) Handles RadGridView1.ViewCellFormatting

        If TypeOf sender Is GridHeaderCellElement Then
            e.CellElement.Visibility = Telerik.WinControls.ElementVisibility.Collapsed
            e.CellElement.AutoSize = False
            e.CellElement.MaxSize = New Size(0, 0)
           e.CellElement.MinSize = New Size(0, 0)
           e.CellElement.Size = New Size(0, 0)

       End If​

   End Sub
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Sep 2015
2 answers
182 views
Hello, I need help to add an image, the header of a row if it meets a condition.

I want to replace the default image for any other.

Sorry for my bad English.

 Regards

Vidal Enrique
Top achievements
Rank 1
 answered on 10 Sep 2015
3 answers
1.4K+ views

I'm not databinding, just trying to set the timepicker to null. I can set the nulltext property, but how to set the value to null?

Later

Art

Dimitar
Telerik team
 answered on 10 Sep 2015
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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?