Top "Controls" questions

Use this tag for programming scenarios related to controls (interactive elements of the user interface).

asp:RequiredFieldValidator does not validate hidden fields

It seems that ASP.NET validators do not validate hidden fields. I get messages like this: Control 'hiddenField' referenced by …

c# asp.net validation webforms controls
How do I put limits on OrbitControl?

Is there a way to put limits on the OrbitControls.js? Imagine I'm creating something above the ground, I wouldn't …

three.js controls
Avoid calling Invoke when the control is disposed

I have the following code in my worker thread (ImageListView below is derived from Control): if (mImageListView != null && …

c# controls dispose invoke
How can i show month selection calendar in my app

I am interested in showing list of 12 months like in similar way to datepicker's month selection control. But i don't …

vb.net winforms controls datepicker monthcalendar
When to add a Component Class vs User Control?

I have a general idea, and there are some obvious cases, but there are also some gray areas for me …

c# user-controls controls components
Stop/Start service in code in Windows 7

I am trying to write a app and service which monitor a given set of services and a) makes sure …

c# windows-7 controls service
UI Components for Windows Mobile Applications (.NET Compact Framework)

Applications which run on mobile devices have special user interface requirements. I think Apple did a great job introducing innovative …

windows-mobile compact-framework controls user-interface
What is the main difference between ReadOnly and Enabled?

In Windows Forms controls, there are two properties: ReadOnly and Enabled. What is the difference between these two properties? I …

c# winforms controls
Control vs UserControl in WinForms?

What is the difference between a Control and a UserControl in .NET WinForms? I want to create a custom control, …

.net winforms user-controls controls
Stretch items to fill canvas

I have a Dockpanel with items inside a Canvas. The Dockpanel and any other items (Grid etc) that I place …

wpf canvas controls components