Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home >Search > Articles & Samples > ASP.Net > Custom Controls


Search:
What's New - What's Hot
ASP.NET Query control     
Total Hits: 141  |  Today: 0Author: Mike Ellison.      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article presents a custom server control representing a database query, with support for input parameters and the ability to target other user interface controls for output. Techniques for customizing the processing of control markup are demonstrated, including the use of a custom ControlBuilder, the overriding of the control's AddParsedSubObject() method, and the use of the IAttributeAccessor interface. Data provider neutrality is maintained with a ConnectionUtility helper class and Connec...

Developing and Using Custom User Controls in ASP.NET     
Total Hits: 211  |  Today: 0Author: Zarko Gajic,      Rating:  
Read Reviews | Write Review |  Your Rating: 

Welcome to the 23rd chapter of the FREE online programming course:
A Beginner's Guide to Asp.Net Programming for Delphi developers.
Besides using HTML and Web server controls, you can easily create your own custom, reusable controls by using the same techniques you have learned to develop Web Forms pages. These controls are called user controls.
Very similar to Win32 Delphi's TFrame objects, an ASP.NET User Control is a container for components; it can be nested within Web Forms or othe...

ASPNetFlash - The Flash Control for ASP.NET  Version: 2.0     Price: $79.00 / Free Trial  
Total Hits: 113  |  Today: 0Author: David Kuchar      Rating:  
Read Reviews | Write Review |  Your Rating: 

The ASPNetFlash Control allows Adobe Flash media (.swf files) to be embedded into your ASP.Net web forms.
The ASP.Net Flash Control is unique in that it:

* Removes the annoying "Click to activate and use this control..." message on Flash Movies.
* Automatically detects the client's Flash plug-in version and, where appropriate, displays alternative HTML.
* Allows fully-featured ASP.NET HTML-alternative code, supporting full access to code-behind and all controls.
...

A La Carte, Part 2: Build Deep, Flexible Navigation Using Four New Controls     
Total Hits: 179  |  Today: 0Author: Wei-Meng Lee      Rating:  
Read Reviews | Write Review |  Your Rating: 

Unless your Web site contains only a single Web page, you need a mechanism for visitors to navigate between pages. For most sites, navigation is right up there with content in term of its importance to your site's success. And there are several different ways of coding one's navigation. But ASP.NET 2.0, with several new navigation controls, introduces perhaps the easiest way to date....

ASP.NET Rendered Custom Controls with C#Builder     
Total Hits: 158  |  Today: 0Author: Joe Mayo      Rating:  
Read Reviews | Write Review |  Your Rating: 

C#Builder has wizards to help you get started building rendered custom controls. Rendered custom controls require you to implement more code and perform manual operations, which is different from other types of controls that rely on their constituent controls to perform these tasks. This article explains how to do control drawing and perform these extra operations so you can begin creating your own rendered custom controls....

Track Stock Prices with a Custom Control     
Total Hits: 159  |  Today: 0Author: salysle.      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article describes the construction of a custom control used to check stock prices as made available through a public web service. The article includes the source code for this custom control as well as a demonstration site used to test the control. The files included with this project include a web control library project and a demonstration web site. In order to get started, open the included Zip file and install the two projects onto your file system. Open IIS and create a virtual directo...

Maintain State With Dynamic Controls     
Total Hits: 305  |  Today: 0Author: Garry McGlennon      Rating:  
Read Reviews | Write Review |  Your Rating: 

ASP.NET gives you the opportunity to create reusable custom controls that maintain state, and drag and drop them onto Web pages. This is a huge advantage in designing pages, because it lets you bring the Win32 programming model to the Web. ASP.NET also allows you to create the same controls dynamically at run time. Microsoft has done a good job, in general, of enabling you to create dynamic controls; however, things don't always work as planned. I'll discuss the issues you face when you create d...

Custom editable Datagrid with paging and sorting     
Total Hits: 205  |  Today: 0Author: Mohammad Ali      Rating:  
Read Reviews | Write Review |  Your Rating: 

Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents....

Filter Items in the Dropdown control after DataBinding     
Total Hits: 480  |  Today: 0Author: SKRaj78      Rating:  
Read Reviews | Write Review |  Your Rating: 

Sometimes requirement may come to bind some of the items present in the datasource (like dataset) to the dropdown control. By default all items in the datasource will be shown.Assume we have one web form; with mutliple dropdown controls (dropdownlist1,dropdownlist2,dropdownlist3..) and 2 database tables category and values; One to Many relationship exists between category and values tables....

Custom Web Controls Demystified, Part 2     
Total Hits: 136  |  Today: 0Author: Miguel A. Castro      Rating:  
Read Reviews | Write Review |  Your Rating: 

Last issue I gave you a 'hit-the-ground-running' introduction to custom Web control development and showed you how to build a rendered control and an inherited control. In this issue you'll complete your inherited control by adding styling, sizing capabilities, as well as instruct it how to raise events. Afterward you will jump into building the last control of the series, the EmailContact control, bringing together the previous two controls with some business functionality into a powerful compo...

A Grouping Repeater Control for ASP.NET     
Total Hits: 441  |  Today: 0Author: Rob van der Veer      Rating:  
Read Reviews | Write Review |  Your Rating: 

Have you ever wondered why ASP.NET did not come with a repeater control that can group results? Well, I did and I decided to try to write one myself. I have seen other solutions to this problem, but not as simple and elegant as this one, and that is why I decided to share it. The Repeater control that comes with ASP.NET has one very cool event: the ItemCreated event. This event is fired whenever an element (or an instance of a template) is added to the Controls collection of the control. Further...

Evolving Custom Controls     
Total Hits: 96  |  Today: 0Author: Steven Smith      Rating:  
Read Reviews | Write Review |  Your Rating: 

Controls in Microsoft® ASP.NET exist to eliminate duplicate, redundant code. After a control has been properly built, tested and deployed, developers can easily use it on many Web forms by dragging it onto the form and modifying its properties. Unfortunately, it takes a fair amount of effort to get a control to this stage. Progress would slow to a crawl if everything in an application that might ever be duplicated were written as a deployable control. Thus, the decision to convert some functiona...

Build a Variety of Custom Controls Based on the DataGrid Control     
Total Hits: 77  |  Today: 0Author: Dino Esposito      Rating:  
Read Reviews | Write Review |  Your Rating: 

The DataGrid Web control is by far the most powerful and versatile of all ASP .NET controls. Not only does it have many properties that you can set programmatically, but it lends itself to more advanced forms of customization. In this column, I'll build a few flavors of DataGrid-based Web controls. In doing so, I'll review the major design issues that characterize these controls and answer some of the questions most frequently raised by readers after they tackled the series of DataGrid columns i...

ASP.NET Controls Templates     
Total Hits: 317  |  Today: 0Author: Dino Esposito      Rating:  
Read Reviews | Write Review |  Your Rating: 

The simplest way to create a custom control in ASP.NET is to derive a new class from an existing control. Creating custom controls through inheritance this way is not really very different from creating any other derived class. Creating new ASP.NET controls from scratch, on the other hand, just may prove to be a more challenging undertaking. When you need a Web server control and none of the existing ones meet your requirements, you can derive a new control from one of the base control classes—C...

Use the .NET Framework to Generate and Execute Custom Controls at Run Time     
Total Hits: 186  |  Today: 0Author: Morgan Skinner      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article describes another area in which run-time code generation can be used: the creation of UI controls. Generating these controls once and then reusing them as necessary is much more efficient than generating the controls each time a form or page is requested. This is applicable to any application that has user-configurable fields (for instance, where the end user can select data items to be displayed on screen). It is common to define custom forms using XML. This is then parsed at run t...

Custom Email control in asp .net using C#     
Total Hits: 143  |  Today: 0Author: azamsharp      Rating:  
Read Reviews | Write Review |  Your Rating: 

We all have used Web Server Controls like datagrid, textboxes, buttons and calendars. But have you ever thought of making your own custom web server control. In this article we will develop a very simple email server control that will let you send emails to the users with a static message. For making web server controls you need to select the Web Server project....

A Custom DropDownList Control With Autocomplete for ASP.NET     
Total Hits: 410  |  Today: 0Author: John Kilgo      Rating:  
Read Reviews | Write Review |  Your Rating: 

This control lets you type in letters to navigate through the items in a dropdownlist and quickly find the item you want to select. First, before get into the article and the presentation of code, let me give credit where it is due. This program was originally written in c# by Jonathan Cogley of Thycotic Software LTD. I converted his c# code to vb code. Otherwise, the code, including the javascript, were written by Jonathan. He has kindly given me permission to present this article using his con...

Custom Editor Menus     
Total Hits: 307  |  Today: 0Author: Brian Mains      Rating:  
Read Reviews | Write Review |  Your Rating: 

Custom editors modify any type of property, and can be linked to any property through the Editor metadata attribute. Editors use the IWindowsFormsEditorService interface to display a Windows form as a drop-down box or a dialog box, within the Visual Studio .NET environment. The Visual Studio .NET designer offers a lot of design-time functionality for your custom controls. You can customize the HTML rendered for a web control, as well as add design-time support, such as designer verbs, template e...

Web Custom Controls and embedded resources     
Total Hits: 445  |  Today: 0Author: Shaun French      Rating:  
Read Reviews | Write Review |  Your Rating: 

I've had some success embedding a resource in the assembly of my web custom control, but I'm having problems thinking of how to do it with images. Every article I've read seems to be geared towards Win Forms and Bitmaps. Can I embed, and then retrieve and display a jpeg or gif from the assembly for a web custom control? Basically I want to render an image as part of the control. Not designer, but actually for the real displaying HTML too....

Multiple Column Drop-Down Box for ASP.NET     
Total Hits: 241  |  Today: 0Author: Jayarajan S Kulaindevelu      Rating:  
Read Reviews | Write Review |  Your Rating: 

There are many drop-down controls out there to use in Web pages, but I have not seen any drop-down controls that can show multiple columns like in VB or MS Access. I thought of building my own control that will display the columns based on the selection made in the SQL statement (e.g. Select col1, col2, col3 from db). The control is then populated with the data....


1  2  3  4  5  6  7  8  9  10  Next >> 


Disclaimer - Privacy
© 2002-2012 DevASP.net