Literal control in ASP.NET
Why does Literal Control is lighter than Label control and what is its use?
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Prabhu RajaRank #861 · 2.6K reputationPosted Oct 10, 2011, 8:28 PM EDT
You can get more Here : Click Here
Satyapriya NayakRank #47 · 31.5K reputationPosted Oct 10, 2011, 8:53 PM EDT
Please look at Our recommended articles section.
Thanks
Javeed M ShaikhRank #839 · 2.7K reputationPosted Oct 10, 2011, 11:34 PM EDT
The Literal control is lighter because it does not render any additional html tags so you should use Literal Control oppose to ASP.NET Label control whenever a Literal can do the job. But again this should be decided on a case to case basis.
Please do not forget to mark "Accepted Answer".
Prabhu RajaRank #861 · 2.6K reputationPosted Oct 11, 2011, 10:16 PM EDT
Also refer our Articles :
http://www.c-sharpcorner.com/UploadFile/puranindia/LiteralControlASPNET11192009223739PM/LiteralControlASPNET.aspx