I
Ivan Demkovitch
Hi!
I wonder if I get any performance hit when I do following with some of my
user controls:
I don't have HTML section, but instead, I use code like;
this.Controls.Add(new LiteralControl("<div id=\"MdlHd\">" + article.Title +
"</div>"));
to populate HTML.
This gives me flexibility for using CSS and I can target different browsers.
I also save a lot of network traffic.
Am I doing right thing or it is a bad practice?
I wonder if I get any performance hit when I do following with some of my
user controls:
I don't have HTML section, but instead, I use code like;
this.Controls.Add(new LiteralControl("<div id=\"MdlHd\">" + article.Title +
"</div>"));
to populate HTML.
This gives me flexibility for using CSS and I can target different browsers.
I also save a lot of network traffic.
Am I doing right thing or it is a bad practice?