Telerik Forums
UI for WinForms Forum
4 answers
1.5K+ views

private
void rchk3Yes_Click(object sender, EventArgs e)
      {
          if (((Telerik.WinControls.UI.RadCheckBox)sender).Checked == true)
          {
              //already checked, it will uncheck
              rchk3Yes.Checked = false;
          }
          else
          {
              //checks itself and unchecks other checkboxes
              if (rchkUnknown.Checked == true)
              {
                  rchkUnknown.Checked = false;
              }
              if (rchk3No.Checked == true)
              {
                  rchk3No.Checked = false;
              }
          }
      }

Hi I am trying to make 3 checkboxes that only allow one or none to be checked, if one is checked the others are unchecked. Here is the code I have but it doesnt work right.
 
Nadya | Tech Support Engineer
Telerik team
 answered on 08 Apr 2020
1 answer
89 views

Hi,

I am develop Win application in VS2010 and Telerik 2015.
I cannot start VS 2010 today (2020-4-7).

VS is hanged  and the message in the task bar is [Telerik data access addin loaded(9875)] .

There is no problem in last Friday (2020-4-3).

 

I reboot my PC and re-start VS2010 and the message is [Telerik data access addin loaded(6251)].

Please help. 

 

 

 

Nikolay Mishev
Telerik team
 answered on 08 Apr 2020
6 answers
535 views
I want to bind custom list of object to Tree view. Also want group the elements on some properties. Is there any way to add/create group in Treeview ?

for Example: 
i have List of class C1 that has Books, Authors, Title. I want to group the item first by Books, then Authors and then title, so Authors should be child of books and title should be child of Authors.

Please reply me.

regards,
Huzaifa
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Apr 2020
2 answers
6.8K+ views

Could you, please help me to find code examples how to format numeric and datetime fields(columns) in RadGridView .

We need comma separator for numeric fields in RadGridView columns.

We also need short datetime format for datetime fields in RadGridView.

The problem is that we adding dynamically all columns from the c# code.

So we have to format columns on a fly.

Brendan
Top achievements
Rank 1
 answered on 07 Apr 2020
1 answer
464 views

Hello,

I'm looking at some Telerik code that was written by another engineer who worked on our Telerik code maybe a year or two ago. He had built 12 or so Telerik WinControls and all of them -- except one -- are Telerik.WinControls.UI.Docking.ToolWindow (s).

For the one that isn't a ToolWindow, the WinControl is a Telerik.WinControls.UI.Docking.DocumentWindow.

From a quick google search, it appears the ToolWindow and the DocumentWindow work in essentially the same way, but what I am observing is that the DocumentWindow control doesn't re-create itself if that control was closed on the previous run of our application. All of the ToolWindow controls DO re-create themselves if closed on the previous run of our application.

Further, there is a dock.xml file that gets created at the conclusion of running our application. It appears all the ToolWindow controls get saved into that file, but the DocumentWindow control does not. Unsure if this is due to bad code on our side, or just intended behavior (haven't dug deep into this).

...

To state one specific question: Is it safe to just change the one DocumentWindow to a ToolWindow?

- Max

Nadya | Tech Support Engineer
Telerik team
 answered on 07 Apr 2020
1 answer
405 views

Hi,

I have two collapsible panels on top of each other.They both have a datagrid inside.

No matter what I do I cant get them to resize accordingly to row count/datagridsize.

What is the best way to go to achieve auto resizing with datagrids also resizing?

 

 

 

Nadya | Tech Support Engineer
Telerik team
 answered on 07 Apr 2020
3 answers
394 views

in c# winforms 

Conversational UI, Chat, i can't add user to chatting with them ?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Apr 2020
7 answers
283 views

Hi,

I have discover the Self-Reference Feature of the Gridview with the "file explorer" demo. It is looking pretty nice but I have a critical need about it.

 

How could I adapt the Drag Drop functionality of the GridView to drop a row into another row and not only before or after (like drag and drop in treeview) ?

 

Of course I'm open to any alternative way for moving rows through the hierarchy.

 

Thank you for your consideration

Marco Guignard

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Apr 2020
4 answers
441 views

Hello

I'm trying to use a RadMaskedEditBox control with MaskType.Regex. And I want to be able to use more than 1 pattern for correct validating. I have those two patterns:

^[0-9]{6} [A-Z]{4} [0-9]{7}$
^[0-9]{5}$

I change those two patterns to one pattern like this:

^[0-9]{6} [A-Z]{4} [0-9]{7}$|^[0-9]{5}$

If I set the MaskType and Mask properties in designer, the control gets validated correct. But if I set those two properties programmatically (e.g. on form load), it is not validated correct. I can't type in five digits when setting the properties programmatically. Both patterns are exactly the same (also in debugger).

So I'm very confused now why it works in designer but not programmatically. I use this two lines of code in form load event:

radMaskedEditBox1.MaskType = MaskType.Regex;
radMaskedEditBox1.Mask = "^[0-9]{6} [A-Z]{4} [0-9]{7}$|^[0-9]{5}$";

The first pattern (before pipe character) can be validated, but not the second one. The second one can only be validated if I set the properties in designer.

Do you have any suggestions? Do I have to remember something?

Regards,
Danilo

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Apr 2020
1 answer
100 views

I am loading a Gridview in unbound mode to create  hierarchy. I followed the article and leaving all grid properties set to defaults, I can successfully create the hierarchical relationship and it will display. Then I start setting properties to tailor the grid. Note I am trying to create a "toolbox" like view where summary information about a tool is the top level, then clicking it exposes more information. This means the result is something that is not "grid looking per se.

Anyhow as I start removing grid features - grouping, etc. at some point I hit a property that prevents the child from displaying; but I don't know which one(s)

Is there a list of properties that cannot be set to false ?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Apr 2020
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?