Custom Control using ControlBuilder

In this example we are going to create a custom control which has child elements, we will use the ControlBuilder method GetChildControlType to return the correct Type, so they can be rendered correctly. The control we are going to build is a DownloadList control which have child Download items.

More



ASP.NET Web Page Life Cycle Events

A web page has a set of events that get raised at during the ASP.NET Page Life Cycle. ASP.NET looks for methods with certain names and automatically runs those methods when certain events are raised.

More



Using INamingContainer in Controls

You use the INamingContainer Interface if you want your Control to create a ID namespace within the Page’s Control hierarchy. Basically you are setting an ID which wraps all the child controls.

More



Automatic and Postponed PostBacks

Web Controls like the Button or LinkButton automatically PostBack when Clicked, other Web Controls like the TextBox have the ability to do Postponded PostBacks as well as Automatic PostBacks. A Postponed PostBack is when the PostBack Event is only happens when another Web Control does a PostBack.

More



Dynamically Adding Web Controls

It is possible to dynamically add Web Controls to a Web Page by using the PreInit Page Event. In this example we will add a TextBox and LinkButton using the code behind and then also access the value in the TextBox from the LinkButton Click Event.

More



Using Telnet to explore HTTP

In this post we will use Telnet to access website content via HTTP, by creating our own HTTP GET requests.

More



Using IHttpHandlerFactory

You can use the IHttpHandlerFactory interface to dynamically handle page requests and send them to instances of IHttpHandler.

More



HTTP Status Codes

A key parts of the Hyper Text Transfer Protcol or HTTP are the status codes the Web Server provides in the response. These status codes inform the Web Browser of the status of the request made.

More



Prev