Replace Html Control with form control

Discussion in 'ASP .Net' started by =?Utf-8?B?RGFz?=, May 11, 2004.

  1. HI
    I have copied the html code for the login form from a built menu. Now I want to replace that with the text box control
    It shows me the erro
    Control 'txtUID' of type 'TextBox' must be placed inside a form tag with runat=server

    Thanks in advance

    Das
     
    =?Utf-8?B?RGFz?=, May 11, 2004
    #1
    1. Advertising

  2. =?Utf-8?B?RGFz?=

    avnrao Guest

    add a <form> tag covering your html code.

    Av.
    "Das" <> wrote in message
    news:...
    > HI,
    > I have copied the html code for the login form from a built menu. Now I
    > want to replace that with the text box control.
    > It shows me the error
    > Control 'txtUID' of type 'TextBox' must be placed inside a form tag with
    > runat=server.
    >
    > Thanks in advance.
    >
    > Das
     
    avnrao, May 11, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brian Blais
    Replies:
    1
    Views:
    387
    Bruno Desthuilliers
    Jun 27, 2006
  2. Greg Ewing
    Replies:
    2
    Views:
    353
    Dieter Maurer
    Jun 29, 2006
  3. Alun
    Replies:
    3
    Views:
    4,535
    Masudur
    Feb 18, 2008
  4. Prasad S
    Replies:
    2
    Views:
    240
    Dr John Stockton
    Aug 27, 2004
  5. Replies:
    3
    Views:
    176
    Brian McCauley
    Sep 12, 2005
Loading...

Share This Page