controls

.NET Control like Outlook's E-mail Address Text Control

I am looking for a control (or suggestions on building my own) for a .NET 2.0 (windows) app that works like the address box in the Outlook mail window (bee below) The control basically works where each e-mail address is like an item in the text area. I don't care so much about letting the user also type into this area like you can in ...

DisplayMember getting reset on DataSource=null

I have a ComboBox whose items are set using the DataSource property. The DataSource is a collection of a custom object (that has a string property 'Value' and int property 'Id'). In the initialise controls, I set the DisplayMember as Value and ValueMember as Id. Now I tried to clear the DataSource by calling, myComboBox.DataSource = nu...

Labelsize appears bigger in VB.Net

I'm trying to stack a few lists on top of each other. But the label.size.height appears to be bigger then the label itself. When i set the borderstyle to fixedsingle, i see the border around the text. But the height is bigger, so there comes a space between one label and the next. I have tried to set margin and padding to 0 without res...

Is it possible to make a gridview with a dropdownlist as one new control?

This is partly in reference to this: http://stackoverflow.com/questions/485390/why-isnt-the-selectedindexchanged-event-firing-from-a-dropdownlist-in-a-gridview/641715#641715 I thought it different enough to ask another question. My thought is that instead of adding a dropdownlist (ddl) to a gridview and then using the technique above ...

How do I get an Expression Blend Keyspline control?

I need a control in my C# program that behaves exactly the same as MS Expression Blend keyspline control - is there any way to get hold of that control and add it to my application? As a side note it'd be nice to use some of the other controls that appear in that applications as well ...

.NET Equivalent for Hotkey Control

What is the .NET equivalent for the Hotkey Control? ...

Looking For A .Net Table Component

I'm looking for a table control (aka ListView or DataGridView) that: Can display a series of rows as a "child" of a row - if anyone's spent any time with Access, it does this when it works out associations between rows will let me insert headers into the middle of the table, so I can e.g. group by a particular row and have a header abo...

Add Custom Control in Asp.net

I am creating a new Panel.. public class LicensingPanel : Panel { private LinkButton licenseButton; ... } I am then in the code adding my controls to the Controls property, one of which is a LinkButton. What I want to be able to do on my Page code behind is the following.. protected override void CreateChildControls() { ...

C# How can I assign a context menu to a tray icon when the tray icon is not on the same form?

Hi all, I used the code below to programmatically create a system tray icon, this code lives in class file and not on my main form. I have dragged a contextMenuStrip control on to my main form, I now need to link the two but as the control if private I can't see it. What is the best way to link these two? trayIcon = new NotifyIcon(); t...

How can I get data from dynamic generated controls in ASP .NET MVC?

I want to generate a couple of checkboxes on an ASP .NET MVC page. How can I retrieve their data in a controller after posting the page? ...

Ajax Dial Control?

Does anyone know of a free Ajax Dial control? I'm looking for a speedometer, percentage etc control. I'd expect to find loads of these as they seem to be in fashion at the moment in UI Design but I've yet to find any good looking free ones, and the only commercial one I've found costs $800 for a whole library of controls most of which ...

.NET Packing Controls?

I'm taskd with developing a packing algorithm for parts bought from our online store. Is there a widget or control that is open-source or for sale that takes in a list of products (with dimensions / weight) and a list of possible packing boxes (with max dimensions and weight) and returns the best possible arrangement? I find it hard to...

Best Value for Paid ASP.NET Controls

We have questions about free .NET libraries and applications, but I'm curious about what ASP.NET control packages you've used that provide the best bang for your buck. Yes, paid stuff. I'll get the ball rolling by saying I love the Telerik controls, but their price tag isn't great. The one reason I would say the value is the greatest he...

Custom ASP.net Server Controls - Rendering

Hi, I'm currently writing a custom server control in ASP.net. My idea is to create some sort of collapsible panel control (btw, it's the first server control I'm writing). So what I wanted to have is that the user defines my control in this way in the page: <myCtrl:CollapsiblePanel id="myCollapsiblePanel" runat="server"> <asp:Label i...

Component Vs Control

In the world of WinForms .Net controls What is the difference between Component and Control? Can a Control contain Components ? Can a Component contain Controls ? ...

Dispose on user controls, really meant to edit the .designer.cs file?

For a user control with internal data structures that must be disposed, is the correct place to add that code to the Dispose method in the .designer.cs file, or is there an event or something we're meant to use instead? Edit: This is a winforms user control. ...

Rendering Nested Server Controls

This should be relatively easy. I do not know why I am struggling with it, but Google cannot help me find an example of what I want to do. I am building a navigation/menu out a simple nested structure of ULs with LIs. The parent object that is placed on the page is called NavController. It has a collection of NavItems. So I pretty m...

Silverlight Panel OnChildAdded event?

Hi all, I'm trying to derive from the Silverlight Panel control to add some custom logic whenever a control is added to the Panel. I can't seem to find an "OnChildAdded" event (Or something similar) on the Children collection. Does anyone have any suggestions for how I can tell when a child control is added to a Panel or do I have to ...

Dual list drag drop control

Does anyone know of a good .Net2.0+ compatible dual listbox control that either offers dragging and dropping between lists, or simple buttons to move items between lists and also sort the items in a particulr list. This is for a web based app and I would prefer some nice javascript to make this one speedy. ...

.NET Control Events and Page Life Cycle

Here's the problem....I have three components...A Page that contains a User Control and a Server-side control which is in the user control. The user control has a handful of events that the page listens to which change what the server-side control does. The server control essentially creates a TV-Guide looking list filled with many many...