controls

Spin Control in Delphi

I want to use a "spin button control" (also known as an up-down control) in my Delphi Win 32 application (I'm using Delphi 2007). The aim is to have a control that looks like in Microsoft Office: I found this on the Microsoft website: CSpinButtonCtrl Class But I haven't so far found a control that uses this class - here's where I'v...

Custom intellisense for server controls?

Can you program/configure Visual Studio to produce custom intellisense for your own server controls. eg can you get it to do this: for a tag of your own like: <MyCompany:MyTag ... ...

Multiline Template Text Control in C#

I'd like a textbox that allows for certain text within to be "constant" and uneditable while the rest of the text is editable. For instance, I'd like to define a template like this: <Name:>[] <Address:>[] <City>:[] So that the user could later enter: <Name:>[Stefan] <Address:>[Nowhere] <City>:[Alaska] But not: <I'm typing here lo...

ASP.NET control in JQuery modal

Ok, I am new to JQuery, I have a modal that has a asp:Literal control in it. The literal is controled by whatever link is clicked to activate the modal. So, I had hoped it would be as easy as giving the literal value onClick of the link but that's not it. I'm hoping: the value of the literal is set on the page load so I have to put it ...

Working with the "onclick" of a server side dynamically created TableRow.

I am dynamically creating a table which I want to have clickable rows. When the user clicks on one of the rows I want to redirect to a page specific to the item of that row. My question is how on the server side can I wire the "onclick" event to a routine that will then allow me to build a url based on some of the data included in the ...

Forcing a tab to the next control in an extended .net control

Say I'm extending a TextBox called CustomTextBox in .net. In certain situations I would like to force a tab to the next TabIndex on the form. Is there a way to do this beyond getting all the controls contained in CustomTextBox's parent, sorting them by their TabIndex, and then focusing the next ordinal one? ...

How do I know if a control of a page made a Callback?

I have an ASPX page and on this page I have a control that contains an AJAX UpdatePanel. When the control makes a callback my ASPX page's *Page_Load* event is triggered, but the Page.IsCallBack property is false. How do I know in the pages *Page_Load* event if there was a callback? ...

asp.net mvc & popup dialogs

What do people recommend for creating popup's in ASP.Net MVC? I have used the ajax toolkit and component art's methods in the web forms world and am looking something with simillar capability. What JQUERY plugins do people like? SimpleModal, JBOX (I think this was what it was called) Is it worth exploring pulling out the javascript fr...

Register Startup Script Control

Hi All, I am looking to make a web control where I can register client startup scripts inline with my aspx because I hate registering in the codebehind! An example of what I have so far: <Ben:StartupScript runat="server"> var form = document.getElementById("<% =form1.ClientID %>"); </Ben:StartupScript> Currently, I am overriding th...

Creating custom transparent control

Hi all, I am trying to create a custom control that displays a bitmap with per-pixel alphablend (as some of you already know for other questions). Right now I am using a custom control in the resource editor and I attach it to a class derived from CWnd. When I register my custom class I set the hbrBackground of the WNDCLASS structe to ...

UI components for touch screen winforms applications?

I have seen this question: http://stackoverflow.com/questions/134067/are-there-any-decent-ui-components-for-touch-screen-web-applications and have allmost exact the same question but Im focused on winforms. I working on an application that is not primary made for using with a touch screen, but now I see more and more customers using to...

Is There A Difference In Behavior Between Adding A Control To The ASPX Page Directly And Loading A Control Programmatically And Adding To A Placeholder

Is there a difference in behavior between adding a control to the aspx page directly and loading a control programmatically and adding to a placeholder? The control inherits from System.Web.UI.WebControls.DataBoundControl. The reason I ask is that I have a control that works when I add it to the aspx page like so: ... <blah:GoogleMap ...

Hosting Windows Shell Explorer in my WPF App

Is it possible to embed the Windows Explorer file/folder browser view in a WPF or a WinForms window? I basically want to host the file/folder browser as part of my app window. I don't want to re-implement what the shell provides, especially the shell extensions such as TortoiseSVN. ...

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? ...

What is the best practice for creating RE-USABLE control templates in Silverlight.

What is the best practice for creating re-usable control templates. For example. I want to start with the standard checkbox and modify its template for re-use accross multiple future projects. I understand how to modify the template in Blend, but it always wants to save the template to App.xaml of the current project or to the parent...

Does anyone know of a good article for creating MVC based components/ extension methods?

I've a couple of extension methods I've been developing for a couple of projects, they currently rely heavily on some AJAX to make bits and pieces work. The problem is that they require copying and pasting JavaScript files to the project you want to use it in. As this JavaScript file only needs to be used once (all instances of the rend...

Silverlight Verticle Slide Panel

Can anyone recommend a good Silverlight 2.0 slide panel that takes an unknown number of user controls as childen and allows the user to scroll up and down through the child list. Similar to http://www.thejamesbondmovies.com/ but vertical and not just limited to images. ...

Programmatically Creating Controls in Cocoa

According to Cocoa Programming for Mac OS X, 3rd Edition, on page 245 (chapter 17), you will usually create views in Interface Builder. However, it is possible to create them in code, a la: NSView *superview = [window contentView]; NSRect frame = NSMakeRect(10, 10, 200, 100); NSButton *button = [[NSButton alloc] initWithFrame:frame]; ...

WPF Docking Manager with Databinding support

Hi, Does anyone know about a Docking Control like Visual Studio for WPF, where Databinding for the Panes is supported? I tried the DockManager from Infragistics and from Actipro, but they lack this support. For example, the Panes for the content need to be bound through Databinding, so removing the Entity on the other side of the bindin...

Best Free Controls for .NET

What Free Controls are there for .NET (both Winforms and Webforms)? ...