Creating Custom Server Controls

The advantage of creating a custom server control is that you have any functionality to be built in that control and you can have your properties set to it which are customized to your needs in the web application.

There are 3 ways by which you can create a customs control. One is to derive from and existing control and then modify it. The second method is to group the already existing controls into a composite one. And the third is to create a full custom control from the scratch by deriving System.Web.UI.WebControls.WebControl.

Whatever be the method to create a custom server control, you will be compiling it to a DLL and this DLL has to be copied to the /bin directory of the web application in which it is tested. If you are creating a full custom control then you have to register this control using a register directive. .



Microsoft readies service packs for dev tools (InfoWorld via Yahoo! News)
Microsoft released Monday beta versions of separate service packs for the Visual Studio 2008 software development platform and the accompanying .Net Framework 3.5, a Microsoft official said in a blog.

Layered Technologies Raises the Bar With New Hosting Packages (Web Host Directory)
Layered Technologies, a leading worldwide provider of "on demand" IT infrastructure, announces today immediate availability of a new range of servers to meet the needs of the enterprise market.

Layered Technologies Raises The Bar With New Hosting Packages (DataStorage-DataStorageConnection)
Layered Technologies, a leading worldwide provider of "on demand" IT infrastructure, announced recently immediate availability of a new range of servers to meet the needs of the enterprise market. The packages include brand new HP servers configured with ultra-fast Quad-Core AMD Opteron or Intel Xeon CPU's, along with the ability to hold up to 12 hot swappable hard drives




______________________________________________________

Recommended Resource



| Why should you go for Server Controls | Advantages of using .NET Server Controls | Understanding ASP.NET Server Controls | Creating Web Server Controls | Server Side Controls in ASP.Net | Creating Custom Server Controls | Server Controls in ASP.NET Web Page | Using Html Server Controls in your Web Pages | Understanding Dynamic Server Controls in ASP.NET | Using ASP Server Controls Templates | Developing ASP.NET Server Controls | Setting properties for ASP.NET Custom Server Controls | Implementing ASP.NET Server Side Controls | Creating Professional ASP.NET Server Controls |



_______________

FREE Subscription

Stay Current With the Latest Technology Developments Realted to .NET. Signup for Our Newsletter and Receive New Articles Through Email.

Name:

Email:

Note : We never rent, trade, or sell our email lists to anyone. We assure that your privacy is respected and protected.


 

Privacy Policy for www.dotnet-guide.com