Telerik Forums
UI for WinForms Forum
3 answers
475 views
Need validation for gridview textbox when cell value changing want to handle Validation for Numeric.

-Thank you.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Apr 2020
4 answers
1.3K+ 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
64 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
415 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.0K+ 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
296 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
283 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
302 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
203 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
328 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
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
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
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
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
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
ColorBox
Callout
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
DateOnlyPicker
TimeOnlyPicker
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?