What Patterns Should I Consider For a Html Widget Generator?

Posted by DaveDev on Stack Overflow See other posts from Stack Overflow or by DaveDev
Published on 2010-03-27T13:45:18Z Indexed on 2010/03/27 14:03 UTC
Read the original article Hit count: 204

I'm looking to see if I can design a HtmlHelper extension method that will generate the Html for different types of widgets I want to produce.

Each different type of widget implements functionality to get and prepare any data it needs to render.

Can anyone suggest any patterns I could refer to for approaches to take? I know there are probably frameworks available that will do this for me, but I thought I'd give it a try anyway. Any points of advice?

Thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about asp.net-mvc