How To Get value From HTML TextBox to ASP.Net(VB) Codebehind

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • IndiraPriyaDarshini
    New Member
    • Jan 2007
    • 9

    How To Get value From HTML TextBox to ASP.Net(VB) Codebehind

    I have a textbox in html,i wanna get the value in my ASP.Net(VB)
    codebehind. I set the html proprties runat="Server". But still
    i couldn get the value.
  • radcaesar
    Recognized Expert Contributor
    • Sep 2006
    • 759

    #2
    Hi,
    If you add runat=server, you should be able to access the control. Check your code or try by recreate the control again.

    Can u send me the code ?

    :)

    Originally posted by IndiraPriyaDars hini
    I have a textbox in html,i wanna get the value in my ASP.Net(VB)
    codebehind. I set the html proprties runat="Server". But still
    i couldn get the value.

    Comment

    • IndiraPriyaDarshini
      New Member
      • Jan 2007
      • 9

      #3
      Thank you sir,
      Now its working.. it was a mistake in my code
      Thank u

      Originally posted by radcaesar
      Hi,
      If you add runat=server, you should be able to access the control. Check your code or try by recreate the control again.

      Can u send me the code ?

      :)

      Comment

      Working...