Prettifying ASP.NET Markup?

To be completely honest, I don't see the benefit of going through a lot of work for a minimal amount of markup beautification... although I admire your desire in some weird way Your site looks fine - put the effort into what's actually rendered in the browser and the features for the end users. :).

To be completely honest, I don't see the benefit of going through a lot of work for a minimal amount of markup beautification... although I admire your desire in some weird way. Your site looks fine - put the effort into what's actually rendered in the browser and the features for the end users. :).

Although proberly isnt of much use to you at this moment in time, the next realease of ASP . NET will allow you to have more control over the outputed id's of your controls. Theres some good info on this blog post... mostlylucid.net/archive/2008/11/03/way-t....

I agree if it's your blog wait for asp. Net 4 – Aaron Fischer Feb 21 '09 at 19:23.

Those control prefixes are how ASP. NET finds controls on the page, for ... if I remember correctly ... viewstate / postback. I, too, hate these prefixes, but the JavaScript that ASP.NET generates requires them.

Yes, you can do just this by using ASP . NET 2.0 Control Adapters. Control Adapters allow you to modify the way existing server controls output their code without having to change any code in your ASPX files.

You can see how it is done here: weblogs.asp.net/scottgu/archive/2006/11/... The adapters were ariginally design to allow easy use of CSS with . NET controls that redered Tables, but it can be used for your purposes just as well.

I suppose you could hook up a ResponseFilter to prettify...good luck with the regexes. ;).

I use them in multiple projects and am quite happy with them. They even convert to 3.0, 3.5 nicely. The menu adapter does exactly what you want.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions