custom-controls

Multiline ddl Custom Control

One of the guys I work with needs a custom control that would work like a multiline ddl since such a thing does not exist as far as we have been able to discover does anyone have any ideas or have created such a thing before we have a couple ideas but they involve to much database usage We prefer that it be FREE!!! ...

Text diff visualization control for WinForms or WPF

In continuation of the my previous question, are the any good controls for text diffs visualization? Something like StackOverflow's revision diff viewer but for WinForms or WPF Requirements: free, preferably open-source based on WPF or WinForms No apps please, only components. I'm not interested in OSS diff tools ...

Visual Designer errors, when there are no errors

I get errors when viewing forms and there are not any. I can close VS and reopen and it is fine. What cases this? Can it be fixed without closing? ...

Design Time Attribute For CSS Class in ASP.net Custom Server Control

Hopefully some Custom Control Designers/Builders can help I'm attempting to build my first custom control that is essential a client detail collection form. There are to be a series of elements to this form that require various styles applied to them. Ideally I'd like the VS 2005/2008 properties interface to be able to apply the CSSClas...

How do I create a subclass of TabPage that I can edit like a UserControl?

I want to create a subclass of TabPage that contains some control, and I want to control the layout and properties of those controls through the designer. However, if I open my subclass in the designer, I can't position them like I could on a UserControl. I don't want to have to create a TabPage with an UserControl instance on it, I wa...

Validating an ASP.NET user control from its parent page

I have an asp.net page with a button. This button generates and inserts a user control into the page, so many controls could exist on one page. I need to validate that a certain dynamically generated control inside the generated control exists. So..Page has 0 to N Control1’s. Each Control 1 can have 0 to N Control2’s. When SaveButt...

[C#] how do I implement a completely custom draggable control?

I work on an application that requires some fancy custom controls. Inheriting from the .net Control class has caused various problems and is making things harder as time goes on. I won't get into the specifics here, but I am creating my own light weight control architecture to avoid some of these problems. Things art working nicely, b...

Windows Mobile 5 SDK Button Control

I'm a fairly novice programmer working on my first Windows Mobile application. I see that there is no button control available for my program. I've never created a custom control before, and I understand that is the only way that I can get a button for my application (it is a requirement as per my client). I was wondering if someone c...

Anyone know of a free date and *time* ASP.NET custom control

Every time I have to build a form with a DateTime field I try to find a decent free custom control - I always fail. I cannot figure out why it isn't built in the .NET but let's forget about for a minute and concentrate on my question :D Anyone got one? ...

Add custom design time command to WinForms control

I have a custom WinForms control (inherits from control, i.e. without user interface jsut as Timer) to which I want to add a custom command add design time. This could be similar to the "right click and choose 'Edit Items...'" of a menu. Is this posisble? How? Also, could you recommend some general reading (online) about improving th...

Custom Control

Hi I have a custom control which i need to use in another custom control. I have written all code at server side (no HTML). can anyone tell me how to write below line of code in code behind using htmlTextWriter and how to register this control or how to write custom control within another where html is written from code behind. ...

Custom ASP.NET Container Control

I've been trying to create a custom control that works exactly like the Panel control except surrounded by a few divs and such to create a rounded box look. I haven't been able to find a decent example of how to do this. I need to be able to place text and controls inside the control and access it directly without referencing the panel...

Wpf custom control template - relative font size

I am creating a custom WPF control that let's say for simplicity sake has a vertical stack panel with a "title" TextBlock, followed by a ContentPresenter. I want the font size for the "title" to be 5 Points LARGER than the size used in the content, which is inherited by whatever container the user places this control in. How can I speci...

A good WPF scrolling timeline control? (fancy datetime picker)

Hi, I'm looking for somthing I can use as a timeline control. A kind of "banner" the user can drag to the left or the right to go forward or backwards in time and then he or she should be able to select a point in time on that control. A fancy datetime picker :-) Any ideas? ...

How do I create a custom WPF control like a cartoon bubble with constant corners

I need to create a rectangle bubble with rounded corners with text inside, like a cartoon speech bubble. I need the bubble to expand horizontally and vertically depending on the size of the text it contain. I would like the speech arrow and the radius of the rounded corners to remain constant. I could simply use a path to create my bub...

Difference between User Control and Custom Control?

What are the differences between User Control and Custom Control in ASP.NET ...

Embedded HTML control for Blackberry?

Is there any api for viewing html content from w/in your blackberry application? To be clear, I don't mean launching the browser on top of my app to view a page. But rather rendering the page w/in my app. ...

Can .Net custom controls be used in VB6 form?

I am doing some maintenance on a VB6 Windows application. I have a .Net custom control component that I would like to use on a VB6 form. Is this possible? I know how to access non-visual .Net components from VB6 by generating a COM type library for the .Net DLL, but can a .Net custom control be used like a .OCX from VB6? If so, how is th...

How do I provide two default templates for a Custom Control in WPF?

In Charles Petzold's "Using Templates to Customize WPF Controls" article in the Jan 2007 edition of MSDN Magazine (http://msdn.microsoft.com/en-us/magazine/cc163497.aspx), he says, The ProgressBar control actually has two default templates for the two orientations. (This is true of ScrollBar and Slider, as well.) If you want your new...

How do I display and store a list of complex items using Winforms?

I would like to store and display a list of complex items. Each (graphic) item has to display an image, a list of color chips, a label and an index (a letter). User would also be able to zoom within each item, to show details of the image (on mousewheel), Items would be presented in a vertical list, scrollable and resizable. Language ...