Creating a Rendered Control
In this chapter, we begin to explore the development of custom Web controls created with Visual Basic.NET code. Rather than adding custom controls directly to Web application projects as you do with user controls, you develop custom controls in separate Web control libraries and compile the libraries into DLL files. To use custom controls in your Web application projects, you reference the DLLs containing them. Because Visual Basic.NET produces standard.NET DLL files, other Web applications can use your custom controls even if those applications are developed in C#, C++, or any other.NET language. Although a Web control library requires its own project, you usually want to add the library project to a solution that contains a Web application specifically created for the purpose of testing the controls. Unlike user controls, custom controls cannot be developed first as Web forms and converted later.
KeywordsRegister Directive Visual Basic Custom Control Visual Studio Render Method
Unable to display preview. Download preview PDF.