Hello,
my query is, we have server control (not all but few of them )like image, hyperlink, textbox etc. but instead of using them we can use html tags i.e. img tag, a tag, input tags and even we can access them at server page (.cs) by using runat=server like
and i think by using html tags performance will be better because we dont need pf rendering server control
So, is there any special benefit to use these server controls
Biswa Pujarini MohapatraPosted Feb 3, 2014, 5:12 AM
If you need to handle any serverside code then runat="server" is required Or else you can remove it if you are not using any server side code and can use html tags instead of aspnet controls
Server side code ex:
If you want to execute server code upon a click