controls

How to rebuild the Visual Studio Toolbox?

The toolbox in Visual Studio Professional 2008 has somehow ended up with 12 instances of each control. They are just the standard controls, no third party controls, and I have no third party plugins. Is there a way to rebuild the toolbox to correct this issue with the dupes? I've been living with it for a while, but it's pretty annoyi...

AJAX ComboBox Control

Can anyone suggest an AJAX ComboBox control that will allow the dropdown to suggest items where the string typed in appears anywhere in the string not just at the beginning. Most of the controls I have found only search at the beginning. Infragistics is supposed to work by searching anywhere, but the performance is poor, and I haven't ...

Silverlight 2.0: Determine if a dependency property is set before changing it.

I have a dependency property (Foreground) on a custom control which is inheriting from Control. When I am loading the control, I want to see if the user has set the dependency property or if it is using its default value before I set the value for them. The problem is a bit more complicated then that, here it is: The control is in a ...

Suggestions for third party WPF controls...

Which are the best third party WPF controls available in market currently? ...

Has anyone used the ASPxperience Suite of tools?

Just wondering if any one has used the free controls available on ASPxperienceDemos and can vouch for them being good for use even under high stress situations. We are building an internal web app and it will be getting upto 350 concurrent users during peak hours. More specifically the following controls ASPxLoadingPanel ASPxDataVie...

What are some fast and simple implementations for a segmented progress bar in WPF?

More specifically, I tried having a grid of 48 rows, 40 units high, contained in a scroll viewer... each row was to contain a progress bar, but for whatever reason, this really REALLY slowed down my user interface, so I've scrapped it. My questions are as follows: Why would the progress bar cause such extreme slowdown, especially while ...

What is the correct way to change properties in a parent form from a child form?

I was just wondering if I'm doing this the correct way. I have 2 forms a parent form and a child form (options dialog). To change a property in my parent form from my child form I use code like this: // Create an array of all rich textboxes on the parent form. var controls = this.Owner.Controls.OfType<RichTextBox>(); foreach (var item ...

Winforms autoheight text area.

I have a richtextarea with a bunch of text in it. I would like to somehow make it expand to fit all the text without showing scroll bars. I would like the width to stay standard and the height to expand. Is there a good way of doing this? I planned on looping through and adding a pixel to its height every time.. and then checking if ...

Third party control suite's for Windows Forms

DevExpress or ComponentFactory's: Krypton Toolkit I am looking for people's experiece with either. Ease of use(programmatically)? Accessability of help and support? User Community? Stability of controls? Ability to extend? I am not asking anyone to Google it for me. I would like actual experience with either control suite(why I...

TTabSet vs. TTabControl vs. TPageCtrl/TTabSheet?

Hello I was wondering why Delphi (2007) provides three widgets that seem to do the same thing, and what the advantages/disadvantages are for each. On the same topic, if I want to display different sets of controls, why should I favor eg. PageControl + TabSheets + Frames, instead of just displaying different frames directly on the paren...

Loading a control From a master Page

The "Header control" we use holds a jquery reference. When I attempt to leverage any jquery functionality from the Master page it fails because the jquery reference has not been added yet. Is there a way to force the Header Control that is embedded into the Master Page to load it's resources before the Master Page attempts to reference...

WPF/Forms: Creating a new control programmatically that can have events

I wanted to know if it was possible to create a control from another control and which this new control could process certain events. For example, lets say we have a Button that once it is clicked on will create a ComboBox. Could this new ComboBox be capable of processing a certain event such as a SelectionChanged event? ...

Adding a refence to Header from a control

In the Page load of A control the Page.Header is null when I am attempting to add a reference. Is there anything special I have to do to add a reference to the head of a page from a control. Maybe a better way to as this is when does Page.Header load or when can it be accessed from a control ...

How do you set the 'look-and-feel' of a winform app hosted in IE to the 'aero' style of controls?

Is there a way to have a windows form app hosted in IE use the 'look-and-feel' of the current OS/browser, similar to how everything looks when the app is run in the debugger? For instance I'm debugging in VS2008 and it looks great, but when I view the app in IE7 or IE8 on Vista or Win7 all the controls look like Netscape navigator circa...

Delphi: how to access another application's controls?

I want to "view" information displayed by another application and "click" different buttons to automate a process. Have never done this before and would appreciate any advice on where to start and/or links. ...

Using an ObjectCollection as a parameter create a new Control?

I was using something like public int Test(System.Windows.Forms.ListBox.ObjectCollection Colecction) { } With this I want to pass just the ObjectCollection of the control, to sort, add and delete elements without passing the entire control, but someone told me that, this way of calling the collection, actualy, create an entire ListBox,...

When to create controls dynamically, so that when I click a button I can save their values?

I am creating some textboxes dynamically and I try to get their values when I click a button, but they are gone. I create the text boxes (declaration, initialization, adding them to the place holder) in another click button event. What shall I change to be able to read their values? ...

Table of TextBoxes isn't displayed as deisred

I am adding texboxes into a table (type Table) but I can't add them. I can't add more than one cell to each row, any idea? TextBox[] tx = new TextBox[10]; TableCell[] tc = new TableCell[10]; TableRow[] tr = new TableRow[10]; for (int i = 0; i < 10; i++) { tx[i] = new TextBox(); t...

How to compare values of two controls with a trigger?

I have to buttons, named btnOK and btnSave. I want that the IsEnabled of btnSave should be the same as the btnOK's value, i.e. if btnOK goes disabled, btnSave should do the same. I actually need something like (pseudu): <Button TabIndex="3" Name="btnOK"> <Button.Triggers> <Trigger Property="IsEnabled"> <Setter ...

How to cancel ToolStrip Item click?

I need to intercept ToolStrip Button click and cancel (break executing ButtonClick event). All need to do from ToolStrip class level. I've tried: ToolStrip.ItemClicked( object sender, ToolStripItemClickedEventArgs e ) But [e] argument has no cancel property (only reference to ClickedItem), so I tried: if (condition) e.C...