Is generating Javascript code and HTML tags from HTMLHelper bad practice?
This might be a stupid question, but I've seen a lot of Tuts that build JavaScript ode and HTML tags from an HTML helper extension method, like creating a JQuery Menu or Tree, looks so neat and keeps the view clutter and encourages reuse.
but I am wondering that since this code is generated on the server side it will be slower than writing the code directly in the view?
+1
a source to share