Can anyone please help me regarding design of aspx page.
When we design aspx GUI then we h开发者_StackOverflow社区ave few option for heading/ controls label like webcontrols/ html controls.
Is there any performance benefit we gain while using html controls for static values rather using webcontols like heading of form, controls label.
I think for multilingual website we cannot use html controls for static text. Isn't?
Plain HTML tags have better performance than ASP controls. You can use static HTML for a multilingual web site but then you'd have to develop your own internationalization framework for it.
If it's multilingual and you want to make use of the .NET i18n system (which you should) then yes, you should use server-side controls for the text. But you can obviously just use literal
controls, and still control the formatting via <h2>
and whatever else. Up to you.
精彩评论