Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Storing some info at textboxes!

Storing some info at textboxes!

Scheduled Pinned Locked Moved ASP.NET
designtutorialquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rahman Mahmoodi
    wrote on last edited by
    #1

    hello guys, I simply would like to store some details within the textboxes most preferably in design time (excluding ID) ... but can't find anything approperiate ... for example I want to store the Data Type of the textbox eg it is String, Number, Date, Boolean etc ... TextBoxes had Tag property but I can't find it. Anything to store to? Any better solutions? TA

    M G 2 Replies Last reply
    0
    • R Rahman Mahmoodi

      hello guys, I simply would like to store some details within the textboxes most preferably in design time (excluding ID) ... but can't find anything approperiate ... for example I want to store the Data Type of the textbox eg it is String, Number, Date, Boolean etc ... TextBoxes had Tag property but I can't find it. Anything to store to? Any better solutions? TA

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      Hi there, I guess that you come from the world of the window-based applications since the TextBox[^] web control does not support the Tag property. Basically, the Tag property of the TextBox window control is used to store data so that it can be accessed quickly, however, the Texbox instance of the web page will be disposed after the life cycle of the request is finished so the ASP.NET provides a couple of options[^] that you might consider to maintain the web page state.

      1 Reply Last reply
      0
      • R Rahman Mahmoodi

        hello guys, I simply would like to store some details within the textboxes most preferably in design time (excluding ID) ... but can't find anything approperiate ... for example I want to store the Data Type of the textbox eg it is String, Number, Date, Boolean etc ... TextBoxes had Tag property but I can't find it. Anything to store to? Any better solutions? TA

        G Offline
        G Offline
        Geeki
        wrote on last edited by
        #3

        Hi, You can either use Tool Tip property or Text property of the text box.Both of the property can be set at design time. I hope,it will help you out. Regards, Abhiram Agarwal Software Engineer India

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups