controls

Reducing viewstate size in asp.net

Hai Guys, I use 'n' number of server controls in my page... Now i am into performance tuning and i ve noticed that my viewstate is too large that it makes my page slow... I know viewstate size can be compressed by Gzip... Any other suggestions for reducing viewstate in asp.net.... I dont want to do in IIS because my web application is ...

Is there any good free Gantt Chart controls for .net winforms?

The question is in the title. I'm looking for a free gantt chart control to use in a .net application. ...

Is it possible to submit a form in asp.net without any server controls

Hai guys, I had this doubt for a long time now. Now being a part of stackoverflow i ve decided to ask it... Consider form without Runat="server" and it contains two html text boxes and a html button all without Runat="server", now my is it possible to submit this form and i have to insert the values in my DB... ...

Detecting a control's focus in Silverlight

Is there any way to tell whether a control (specifically a System.Windows.Controls.TextBox) is focused in Silverlight? I'm looking for something like the following (what you would see in a regular .Net application): textBox.Focused This seems like something simple and trivial to leave out from a control, and yet I can't find an answer...

Piemenu for WPF

Are there any working piemenu controls for WPF? ...

ControlStyles.DoubleBuffer vs. ControlStyles.OptimizedDoubleBuffer

What is the difference between ControlStyles.DoubleBuffer and ControlStyles.OptimizedDoubleBuffer? ControlStyles.DoubleBuffer does not show up in the Intellisense drop down whereas ControlStyles.OptimizedDoubleBuffer is in fact listed. The MSDN documentation does not make the difference immediately clear (to me at least). ...

windows explorer control

Possible Duplicate: Embedding a File Explorer instance in a WinForms app form I want a windows explorer style control on my form so i can browse directories for files, and drag them into another section of my form, ideally with filters (eg *.mp3 etc). I can't find anything that will do exactly as I want. I have found this: http:...

Is anyone using PureComponents controls with success?

We are looking into the PureComponents Ultimate Suite for a WinForms project. The controls seem to offer a lot of nice function but we are concerned about their stability. Does anyone have experience with these controls? http://www.purecomponents.com/ ...

Assign value from DatePicker in one window to second DatePicker in another window WPF

How could I reach the string value of DatePicker which located in another WPF window? Something like that (on button click): private void button1_Click(object sender, RoutedEventArgs e) { datePicker1.Text = datePickerFromAnotherWindow.Text;//error: the name does not exist in the current context } DatePicker is from d...

Access control's properties from another class in C# WPF

I'm in a mess with visibility between classes. Please, help me with this newbie question. I have two controls (DatePickers from default WPF toolbox) which are in different windows, so in different classes. I can easily access these controls properties like datePicker1.Text from within its native class, i.e. in its native window, but whe...

WPF TabItem Element MouseClick Event

In WPF app inside a TabControl there is TabItem element with one Label. I want fire event on MouseClick on the Tab of this TabControl, but the event "MouseLeftButtonDown": <TabItem Header="Header1" MouseLeftButtonDown="TabItem_MouseLeftButtonDown" > <Label Height="28" Name="AdderLbl" Width="120" Background="Azure" >Label</Label> <...

ControlSets and CurrentControlSets

Should all the values for each Control Set (ControlSet001,ControlSet003) be the same as the CurrentControl Set? Or when you make chances to the Current Control Set should those filter to the ControlSetxxx? ...

Visual Studio 2008 IDE errors with Inherited UserControls

Hi, have a really annoying time developing some code for a set of UserControls that utilize fairly rudimentary inheritance. Basically, they are three different Detail Views which all inherit from a single Base Class which in turn Implements a Single Interface. Interface IBaseDetailView Class BaseDetailView : Implements IBaseDetailView...

Having .NET control databinding update dataSource fired onChange (as opposed to onUnfocus)?

Hi there, By default, a property bound to a NumericUpDown is updated only when the NumericUpDown loses focus. Is there any way I can make it being updated right away with the displayed value, e.g. when the user clicks the up or down arrow? Thanks a lot for any hints! ...

Attach window to running application

I have customer that uses older, custom built ERP application for which they don't have source code and company that developed it does not exist any more. Application is developed in 2000 and it's built with Delphi. Since last executable is from 2003, it could be D6 or D7. On one important form there are some fields where customer woul...

Track (all) the events from a Control

Hello. Simple situation(VS2005, .NET2): I have a textBox1 on a panel1. I need to track all the emitted events from this textBox1. Actually, when I need to track a single event(TextChanged, by e.g.) from this textBox1 I add a handler to the (TextChanged event) I set then a non-blocking breackpoint that writes on the output console a mes...

Is it possible to bind two source properties to one control property?

Using WPF, is it possible to bind two source properties, via one-way binding, to one control property (ie textbox.text)?? I'd like to have the user input a value in a textbox and have that value pushed to two different properties in the source datacontext. My workaround is to create a dummy property and have the setter set the two valu...

Regular Expression in Asp.Net

I need a Regular Expression for "Atleast 6 characters with no spaces" Please help ...

Ways to Dynamically Create Controls in C#

What ways can you dynamically create controls in C#? This was objects at first but it would have been more precise to say controls. My terminology was messed up. Thanks Joel. Edit{ Controls that are created during runtime. And are able to be accessed and edited by the program. Does this help? } I like the idea of Dynamic creation and...

trying to add/remove controls to a form

plz keep in mind I'm very noobish... What I'm trying to do is add "blips" to my form. I have a calculation that determines where all these "blips" will be, which is plotted on a graph. the solution determines that the coordinates are "blipHours, blipAltitude" I want to somehow add small dots to my form at these locations. At first I wa...