|
|
|
|
|
| | Total Hits: 141 | Today: 0 | Author: Mike Ellison. | 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... |
| | Total Hits: 211 | Today: 0 | Author: Zarko Gajic, | 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... |
| | Total Hits: 113 | Today: 0 | Author: David Kuchar | 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. ... |
| | Total Hits: 179 | Today: 0 | Author: Wei-Meng Lee | 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.... |
| | Total Hits: 158 | Today: 0 | Author: Joe Mayo | 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.... |
| | Total Hits: 159 | Today: 0 | Author: salysle. | 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... |
| | Total Hits: 305 | Today: 0 | Author: Garry McGlennon | 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... |
| | Total Hits: 205 | Today: 0 | Author: Mohammad Ali | 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.... |
| | Total Hits: 480 | Today: 0 | Author: SKRaj78 | 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.... |
| | Total Hits: 136 | Today: 0 | Author: Miguel A. Castro | 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... |
| | Total Hits: 441 | Today: 0 | Author: Rob van der Veer | 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... |
| | Total Hits: 96 | Today: 0 | Author: Steven Smith | 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... |
| | Total Hits: 77 | Today: 0 | Author: Dino Esposito | 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... |
| | Total Hits: 317 | Today: 0 | Author: Dino Esposito | 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... |
| | Total Hits: 186 | Today: 0 | Author: Morgan Skinner | 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... |
| | Total Hits: 143 | Today: 0 | Author: azamsharp | 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.... |
| | Total Hits: 410 | Today: 0 | Author: John Kilgo | 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... |
| | Total Hits: 307 | Today: 0 | Author: Brian Mains | 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... |
| | Total Hits: 445 | Today: 0 | Author: Shaun French | 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.... |
| | Total Hits: 241 | Today: 0 | Author: Jayarajan S Kulaindevelu | 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.... |
|
|
|
|
|
|
|
|
|
|
|
|
|