Results 1 to 3 of 3

Thread: Technical Question : Is these 2 are same ?

  1. #1

    Thread Starter
    Hyperactive Member Coool's Avatar
    Join Date
    Feb 2006
    Location
    System.Coool
    Posts
    333

    Question Technical Question : Is these 2 are same ?

    Hi all,

    I have 2 type of textbox in my ASP.NET

    <input type="text" id="txtName" runat="Server">
    <asp:textbox ...>

    Are this 2 control are same ? I know when i mention runat server it makes the input textbox similar to ASP.net

    I want more info. like..
    Which one is better ?
    Which one is faster ?
    I am using .NET 2010 with Windows 7

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091

    Re: Technical Question : Is these 2 are same ?

    They are very different from the server side. The first one is an HtmlInputText control, while the second is a Textbox control. They work similarly, but I would think that you would have more control over the Textbox.

    As for speed, I would say that the difference is insignificant.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3

    Thread Starter
    Hyperactive Member Coool's Avatar
    Join Date
    Feb 2006
    Location
    System.Coool
    Posts
    333

    Re: Technical Question : Is these 2 are same ?

    Thanks
    I am using .NET 2010 with Windows 7

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width