Home > Programming > ASP.NET Programming
Developing a Simple Custom Control
Sort Desciption:A server control is a fundamental building block of an ASP.NET Web application. Although a significant amount of plumbing is needed to enable a class to interact with the ASP.NET ...
Content Inside:87 5 Developing a Simple Custom Control Server Control Overview88 A Trivial Server Control Example89 Compiling and Deploying a Server Control90 Exposing a Property: The PrimeGenerator Control Example93 Choosing the Base Class for Your Control99 Applying Design-Time Attributes100 Custom Controls in Visual Studio .NET102 Debugging a Server Control106 In Chapter 4, "User Controls: From Page to Control," we described declaratively authored user controls that are deployed as text files (.ascx and optional code- behind files). In this chapter, we will describe controls that are authored in code and deployed in the form of compiled class libraries. To differentiate between the two control authoring models, we will use the term custom control when referring to a control that is authored as a managed class and compiled before deployment. You can develop custom controls by using any code editor and the .NET Framework SDK. In this chapter, we will describe the essential steps for authoring a custom control and show you how to enable design-time features that give your control a professional look and feel when it is used in a designer such 88 Part IIServer Controls—First Steps as Visual Studio .NET. We will also show you how to compile a custom control using command-line tools that ship with the .NET Framework SDK. In addition, well describe how to debug a server control using command-line tools and using Visual Studio .NET. Because this chapter focuses on programming, we will not get into the details of authoring a server control in Visual Studio .NET. You can see those details in the topic "Walkthrough: Creating a Web Custom Control" in the .NET Framework SDK or MSDN documentation. Server Control Overview An ASP.NET server control is a component that executes program logic on the server, provides a programmable object model, and renders markup text (such as HTML, XML, and WML) to a Web br ...
Source: docs.msdnaa.net
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Related Files
Beginning ASP.NET 2.0 ECommerce in C# 2005
Filed under: Programming and ASP.NET ProgrammingBeginning ASP.NET 2.0. ECommerce in C# 2005. From Novice to Professional. . Cristian Darie and Karli Watson. DarieWatson_4681Front.fm Page i ...
Building an ASP.NET Website
Filed under: Programming and ASP.NET ProgrammingIn this book we are going to build a contentbased ASP.NET website. This website will consist of a. number of modules which will all fit together to ...
programming asp net third edition
Filed under: Programming and ASP.NET Programmingtions) in how your ASP.NET application interacts with underlying. data. The ADO. ... The data source controls included with the ASP.NET include: ...
ASP.NET Forms Authentication Best Practices for Software Developers
Filed under: Programming and ASP.NET ProgrammingASP.NET does an excellent job of providing out of the box support for multiple ..... In ASP.NET 2.0 the forms authentication cookie if created through the ...
Moving to ASP.NET: Web Development with VB .NET
Filed under: Programming and ASP.NET ProgrammingASP.NET. Chapter 10 discusses exactly how this differentiation is achieved .... aWeb Application is pretty central to ASP.NET and Web development in general ...
