html server controls

Posted on 2009-12-19
Last Modified: 2012-05-08
I am confused that
there are both <asp:button... and <button...
but there is only <asp:label..., no <label...
Can you explain those things for me?
Question by:johnwood
    LVL 29

    Expert Comment

    by:Kumaraswamy R

    Simple to way
    <asp:button ---> Server side
    <label   ---> Client side
    LVL 29

    Expert Comment

    by:Kumaraswamy R
    LVL 18

    Accepted Solution


    In general, you can say that the server side controls (prefixed by <asp:) will actually render to the client side equivalents at runtime. For instance, an <asp:Panel ID="Panel1" runat="server" /> will render as: <div id="panel1"></div>.

    LVL 7

    Expert Comment


    HTML label is <SPAN> tag.
    LVL 4

    Expert Comment

    in servercontrol tag there is runat="server" attibute also and
    <lable ======= client side
    <asp : lable====== server side

    Featured Post

    Training Course: Android App Development

    This course will involve creating widgets, customize list view, grid view, spinners, etc. Creating applications using audio, video, and SQLite database. Ending with publication on Google Play.

    Join & Write a Comment

    Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
    Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
    HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now