Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Creating OO, easy-to-use, valid-xhtml WebControls.

Creating OO, easy-to-use, valid-xhtml WebControls.

Scheduled Pinned Locked Moved ASP.NET
csharpquestionhtmlcssasp-net
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    TheSnakeByte
    wrote on last edited by
    #1

    Hi. I've been looking for the "perfect" web-platform allover (mod_perl, mod_php, CGI) and found ASP.NET (/mod_mono) so I tried some things but, in the end, I was disappointed... why? .NET languages (C# in particular) are ObjectOrientated. BUT ASP.NET is NOT. It's even more plain then my room's floor... Yes, OK. I have to admit there are classes and controls but they are not even very dynamic (I can't pass dynamic attributes without putting a LOT of effort into it). plus, I can neither create valid HTML nor XHTML because the ASP.NET-"renderer" just doesn't 'know' the standard. So, I thought I'd build my own library using a XML-writer (I really long for .NET 2.0). I did that by overriding both, the Page- and Control-class using my 'XhtmlWriter' paired with some TextWriter to write (valid) CSS. My problem is (or at least one of many): - How do I get anything else but the System.Web.UI.Page as a Page (so the Server can use it and accepts it as a Page)? I don't want to derive from that whole Page-class because most of it is overridden anyways. another problem would be: - What's the best way to create a XmlWriter and a TextWriter from a HtmlWriter (that is only if I don't get to kick that whole System.Web.UI.Control-stuff). thanks for anything useful, so long.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups