Custom Server Control Design Best Practices?

Discussion in 'ASP .Net Web Controls' started by Kenneth Baltrinic, Apr 27, 2006.

  1. Anybody seen any good documentation, paterns or best practices on how to
    design and develop custom ASP.Net server controls?
    I am looking for good examples and discussions on the following topics,
    among others:

    How to best use CopyBaseAttributes and Apply Styles? And just how to best
    render all those standard style attributes and other properties you inherit
    from Web.UI.Control and Web.UI.WebControls.WebControl.

    When should one Overide RenderBeginTag and RenderEndTag, etc, ver just
    overrideing Render?

    Here is a big one: best practices for developing client side object models
    and communicating client side state changes beyond just s simple value back
    to the server?
     
    Kenneth Baltrinic, Apr 27, 2006
    #1
    1. Advertisements

  2. Kenneth Baltrinic

    Teemu Keiski Guest

    There are a few books such as Developing ASP.NET Server Control and
    Components, MSpress which is currently the best book about the subject
    (although it is written for v1, it still applies)

    Then there are a few articles:
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/ASPNETContDev.asp

    Note behind that link, there are more than one article. There are many more,
    if you check the left treeview navigation.

    --
    Teemu Keiski
    ASP.NET MVP, AspInsider
    Finland, EU
    http://blogs.aspadvice.com/joteke


    "Kenneth Baltrinic" <> wrote in message
    news:%...
    > Anybody seen any good documentation, paterns or best practices on how to
    > design and develop custom ASP.Net server controls?
    > I am looking for good examples and discussions on the following topics,
    > among others:
    >
    > How to best use CopyBaseAttributes and Apply Styles? And just how to best
    > render all those standard style attributes and other properties you
    > inherit from Web.UI.Control and Web.UI.WebControls.WebControl.
    >
    > When should one Overide RenderBeginTag and RenderEndTag, etc, ver just
    > overrideing Render?
    >
    > Here is a big one: best practices for developing client side object models
    > and communicating client side state changes beyond just s simple value
    > back to the server?
    >
    >
    >
     
    Teemu Keiski, Apr 29, 2006
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. karim
    Replies:
    0
    Views:
    647
    karim
    Jul 13, 2003
  2. Josh Harris
    Replies:
    4
    Views:
    3,891
    Josh Harris
    Apr 17, 2004
  3. =?Utf-8?B?TmF0aGFuVg==?=

    User Controls/Design Best Practices

    =?Utf-8?B?TmF0aGFuVg==?=, Oct 2, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    506
    DWinter
    Oct 2, 2004
  4. David Bowey
    Replies:
    1
    Views:
    564
    Steve C. Orr [MVP, MCSD]
    Mar 16, 2005
  5. John Dalberg
    Replies:
    3
    Views:
    750
    samuelhon
    Nov 16, 2006
  6. David Bowey

    Best Practices: Porting ASCX control to compiled Custom Control?

    David Bowey, Mar 16, 2005, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    281
    Steve C. Orr [MVP, MCSD]
    Mar 16, 2005
  7. David Bowey
    Replies:
    1
    Views:
    249
    Steve C. Orr [MVP, MCSD]
    Mar 16, 2005
  8. Chicken McNuggets

    Best book on C gotchas and best practices?

    Chicken McNuggets, Jul 31, 2013, in forum: C Programming
    Replies:
    9
    Views:
    500
    Fred J. Tydeman
    Aug 5, 2013
Loading...