Introducing Custom Controls
If you've worked with ASP.Net, you'll know that User Controls are (mostly) a Good thing. What you might not know about or have used are Custom Controls.
I built one for a specific project in work a few days ago, and, to make it easier for colleagues to use, added designer support. Now, to use my control, they just have to drag it from the toolbox and drop it onto the webform. It's a dll, so all the html etc it emits is embedded within the control, and it has some resource directory properties you can set (for custom j(ava)script, css etc).
Perfect.
More information from here:
Custom Controls.
I built one for a specific project in work a few days ago, and, to make it easier for colleagues to use, added designer support. Now, to use my control, they just have to drag it from the toolbox and drop it onto the webform. It's a dll, so all the html etc it emits is embedded within the control, and it has some resource directory properties you can set (for custom j(ava)script, css etc).
Perfect.
More information from here:
Custom Controls.

0 Comments:
Post a Comment
<< Home