HTML Controls vs. Web Controls

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • brian

    HTML Controls vs. Web Controls

    What are the advantages and disadvantages of using HTML Server Controls over
    Web Server Controls and vice versa? Is there a clear cut consensus among
    ASP.NET developers over which controls to use?

    Thanks

  • Scott M.

    #2
    Re: HTML Controls vs. Web Controls

    Use HTML Server controls (HTML control with "runat=serv er" added) when
    migrating non-.NET forms to .NET.
    Use Web Forms controls for new UI development that needs server-side
    programmatic functionality.
    Use HTML controls when no server-side functionality is needed.


    "brian" <brian@discussi ons.microsoft.c om> wrote in message
    news:3435A1A5-825B-48A5-8F65-937D2883E223@mi crosoft.com...[color=blue]
    > What are the advantages and disadvantages of using HTML Server Controls
    > over
    > Web Server Controls and vice versa? Is there a clear cut consensus among
    > ASP.NET developers over which controls to use?
    >
    > Thanks
    >[/color]


    Comment

    • Jos

      #3
      Re: HTML Controls vs. Web Controls

      "brian" <brian@discussi ons.microsoft.c om> wrote in message
      news:3435A1A5-825B-48A5-8F65-937D2883E223@mi crosoft.com...[color=blue]
      > What are the advantages and disadvantages of using HTML Server Controls[/color]
      over[color=blue]
      > Web Server Controls and vice versa? Is there a clear cut consensus among
      > ASP.NET developers over which controls to use?[/color]

      In addition to Scott's post:
      - Use HTML Server controls when you want full control over the HTML that is
      rendered.
      - Some HTML Server controls don't have a Web Server Control equivalent such
      as the HtmlInputFile (upload) control
      - HTML Server controls are slightly faster than Web controls.


      Comment

      • Steve C. Orr [MVP, MCSD]

        #4
        Re: HTML Controls vs. Web Controls

        HTML controls are light and simple, while Web Controls are full of extra
        functionality.
        Here are more details for you:
        HALOJP adalah situs slot online resmi terpercaya yang tawarkan akses gampang maxwin. Cukup depo 10k, nikmati ribuan game gacor dengan sistem aman dan pembayaran lancar.


        --
        I hope this helps,
        Steve C. Orr, MCSD, MVP
        HALOJP adalah situs slot online resmi terpercaya yang tawarkan akses gampang maxwin. Cukup depo 10k, nikmati ribuan game gacor dengan sistem aman dan pembayaran lancar.





        "brian" <brian@discussi ons.microsoft.c om> wrote in message
        news:3435A1A5-825B-48A5-8F65-937D2883E223@mi crosoft.com...[color=blue]
        > What are the advantages and disadvantages of using HTML Server Controls
        > over
        > Web Server Controls and vice versa? Is there a clear cut consensus among
        > ASP.NET developers over which controls to use?
        >
        > Thanks
        >[/color]


        Comment

        Working...