Telerik Forums
UI for WinForms Forum
9 answers
377 views

Is there a compelling reason to obsolete the IsChecked property of Check Boxes and Radio Buttons?
For what it's worth, the .Net checkbox has both a Checked (boolean) and CheckState property, I thought this was an established standard. Why mess with it?

Personally, I have rarely (I think never) had a reason to use a three-state control. It's neat and different, and a way to clearly indicate an unset value, but I haven't had a reason to utilize an indeterminate state.
However, I've implemented and used thousands upon thousands of checkboxes, and a simple boolean setting has so far always made the most sense.
I would be very sad to have to change nearly 400 lines of code from a clean, easy to understand

checkbox.IsChecked = true

To the unwieldy

checkbox.ToggleState =   
SomeCompany.ControlNamespace.SubNamespace.SomeEnumeration.On; 

Worse still, many of these are directly connected to a simple on-off value somewhere. So I'd be going from:

checkbox.IsChecked = LightSwitch.SwitchedOn; 

To the even more gangly

if (LightSwitch.SwitchedOn)  
  checkbox.ToggleState = SomeCompany.ControlNamespace.SubNamespace.SomeEnumeration.On;  
else 
  checkbox.ToggleState = SomeCompany.ControlNamespace.SubNamespace.SomeEnumeration.Off; 

Am I the only one who feels the boolean property needs to be retained?

Deborah
Top achievements
Rank 1
 answered on 10 Nov 2010
7 answers
546 views


Hi

I am using radgrid in visual studio 2008 .i want to display image in grid header on left side when i click that imagebutton popup should show


so can anyone help how to display image in gridview header

regards
suresh.s
Emanuel Varga
Top achievements
Rank 1
 answered on 10 Nov 2010
1 answer
95 views
I'm going to open a ticket on this, but wanted to share my resolution first.. I just downloaded the 2010 Q3 release (build 1109) and received a version not compatible, check whether you need an x86 or x64 version of the program. Running Windows 7 x64 version. All other Q3 installers worked fine. This one though, is the only installer that was an .exe. All others are .msi files. Renamed the extension to .msi and it installs without error.


Cheers.
Stefan
Telerik team
 answered on 10 Nov 2010
4 answers
317 views
Hi

I have some performance issue in gridview and I would like to try use property EnableFastScrolling.

What happens if fast scrolling in enabled? Why it is not enabled by default?

I checked documentation: http://www.telerik.com/help/winforms/telerik.wincontrols.gridview-telerik.wincontrols.ui.radgridview-enablefastscrolling.html but there are no any details.

Regards
Raymond
Top achievements
Rank 1
 answered on 10 Nov 2010
3 answers
460 views
Hi,

I have a custom class which is bindable. Lets assume I got the following two properties
public bool X
{
    get {...}
    set {...}
}

public bool Y
{
    get {...}
    set {...}
}

The X and Y properties are mutually exclusive (i.e. X && Y is always false and X || Y is always true)

I have a user control that contains two different groups. In each group I have a radio button (from the Rad UI Controls).
The constructor of the user control binds the property "IsChecked" of the two radio buttons to the property X and to the property Y respectively. For some reason, whenever a radio button is pressed, the setter of the property is not called. This seems to me as a bug since when I put two radio buttons from the .NET library (the regular radio buttons) they work fine.

I was trying to find a utility to fill a bug report but couldn't find it.

Please let me know if this is a known issue.

Thanks
Peter
Telerik team
 answered on 10 Nov 2010
6 answers
369 views
Hai

I am binding the radgrid view with lacs of data. I need to create pagination in radgridview.
How can i create pagination radgridview?


Thanks



Richard Slade
Top achievements
Rank 2
 answered on 10 Nov 2010
2 answers
303 views
hello

i inherited a user control from Multicolumn Combobox , the problem is i tried to enable the filter row inside the grid of multicolumn combobox but i was not successfull !

how can i enable filter row on the drop down grid ?
Richard Slade
Top achievements
Rank 2
 answered on 10 Nov 2010
3 answers
124 views
Hello,

I'm testing the RadControls for WinForms for a new project (we plan to upgrade to "Premium Collection for .NET" when we will renew our subscription for RadControls for ASP.NET Ajax license before november 20th).

I'm using 2010.2.10.914 trial version in a project in VB.NET targeting framework 4.

In a data edition scenario, I would like to programmatically prevent some rows from being edited. For this purpose, I want to set 'IsEditable' property to false, but I cannot find this property on GridViewRowInfo.


Please find attached to this post a screen capture showing that this property is not available in Intellisense.

Am I doing something wrong ? What's the recommanded way to programmatically lock some rows (not all) in an editable grid view ?

Thanks in advance !
Emanuel Varga
Top achievements
Rank 1
 answered on 10 Nov 2010
4 answers
111 views
Hello,

I'm using the raddock in my mdi application and it works great.
However, when I run it on windows 7 I got a side effect: I've got a main form and several other forms that I load when I click on a button in the main form. When I load my form with the code below my form doesn't load maximized. When I change the property 'windowstate' on the form frmDemo to maximized it's showed maximized but I would like to do this by code..

On XP the application works without any problems.

So my question now, is it a programmer fault or a windows 7 telerik bug?

Greetz,
Joris

Dim frmDemo As New FrmDemo 
frmDemo .MdiParent = Me 
frmDemo .StartPosition = FormStartPosition.CenterParent 
frmDemo .WindowState = FormWindowState.Maximized 
frmDemo .Show()

Richard Slade
Top achievements
Rank 2
 answered on 10 Nov 2010
4 answers
166 views
hello

i am using 2010 Q2 controls and inherited my user control from RadMaskedEdit. the problem is none of the KeyPress , KeyDown, KeyUp, PreviewKewDown fires.

why? and how can i solve it ?
Emanuel Varga
Top achievements
Rank 1
 answered on 10 Nov 2010
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?