O'Reilly logo

Delphi for .NET Developer’s Guide by Xavier Pacheco

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

User Controls

This section discusses user controls and shows you how to build and add a user control to a Web page—both via the IDE and in code.

A user control is server-side control that you design in the page designer and save as a text file with the extension *.ascx. In Delphi for .NET, a user control will consist of the *.ascx file and an associated *.pas file that will be compiled into the resulting ASP.NET-based DLL. The *.ascx page is deployed and controlled along with the DLL on the server, so you as the developer can manage the control and make changes to it as needed and desired.

User controls are inserted into other pages either via the designer itself or manually by additions in code. The user control simply becomes part of the page ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required