Sunday, June 14, 2009

CUSTOM CONTROL

· Exist in precompiled assemblies.
· Code entirely contained in .cs (or .vb)
· No visual designer. Any HTML code needs to be declared programmatically.
· Can be used in .aspx pages, user controls or other custom server controls.
· Can be added to the ToolBox (drag and drop)
· Can be shared between web applications.

  • Reusability of control (or extend functionalities of existing control)
  • We can add toolbox
  • Just drag and drop from toolbox
  • U can register user control to. Aspx page by Register tag
  • A single copy of the control is required in each application
  • Good for dynamics layout
  • Hard to create
  • Compiled in to dll
  • You can create a Custom control when it is going to be used across different applications.
  • Custom controls don't a visual interface.
  • Custom controls however can be added to your tool box and used in different applications without re-compiling.
  • It's a .dll

No comments:

Post a Comment