1 / 12

A Guide To Developing Web Server Controls

A Guide To Developing Web Server Controls. By Jonas Stawski jstawski@aspsoft.com http://aspsoft.blogs.com/jonas/. Web Server Controls. What are they?. What are web server controls. A class Derives from WebControl Are used to represent html as objects Label = <span> Table = <table>

rborges
Télécharger la présentation

A Guide To Developing Web Server Controls

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. A Guide To Developing Web Server Controls By Jonas Stawskijstawski@aspsoft.comhttp://aspsoft.blogs.com/jonas/

  2. Web Server Controls What are they?

  3. What are web server controls • A class • Derives from WebControl • Are used to represent html as objects • Label = <span> • Table = <table> • TableCell = <td> • Textbox = <input type=“text” • Two Categories: • Rendered (Label, Textbox, etc) • Composite (Treeview, Calendar, etc)

  4. What is not a web server control? • User Controls

  5. Web Server Controls Why use them?

  6. Why use them? • RAD (Rapid Application Development) • Enterprise Graphical Components • Standard within .NET • Facilitate the work for others

  7. Web Server Controls Difference between user control and web server control

  8. Difference between user control and web server control

  9. Web Server Controls Demos

  10. Web Server Controls How to create a web server control?

  11. How to create a web server control? • Create a new project from class • Inherit control from WebControl or any other control (for extending it) • implement INamingContainer (for composite controls) • Override functions: • CreateChildControls (for composite controls) • Render • Compile • Add to toolbox

  12. Thank You

More Related