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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Control missing

Control missing

Scheduled Pinned Locked Moved ASP.NET
help
4 Posts 2 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.
  • M Offline
    M Offline
    MyThread
    wrote on last edited by
    #1

    HI, I have a .ascx file, which has two text boxes and they are required fields, plus OK and cancel buttons. The len of one textbox is 250 characters. If I fill in a long name in this box and click on a OK button, which is once again a user control, I get the validation message for not filling in data in the 2nd textbox, but the OK button is displaced so that its not visible to the user. Can you help me with this. Thanks.

    C 1 Reply Last reply
    0
    • M MyThread

      HI, I have a .ascx file, which has two text boxes and they are required fields, plus OK and cancel buttons. The len of one textbox is 250 characters. If I fill in a long name in this box and click on a OK button, which is once again a user control, I get the validation message for not filling in data in the 2nd textbox, but the OK button is displaced so that its not visible to the user. Can you help me with this. Thanks.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Put the OK button on a different row to the validator, using a br tag, or in a table. Christian Graus - Microsoft MVP - C++

      M 1 Reply Last reply
      0
      • C Christian Graus

        Put the OK button on a different row to the validator, using a br tag, or in a table. Christian Graus - Microsoft MVP - C++

        M Offline
        M Offline
        MyThread
        wrote on last edited by
        #3

        Thanks Christian. I had all the controls in one table. I took out the Ok and cancel buttons out from one table and put in a another table outside it. Again, if I fill the text box with text len of 250 words (aprrox), the buttons get displaced when the page reloads with the validation message. Why does it get displaced? When I reduce the len of the text, things work fine. Please comment. Thanks.

        M 1 Reply Last reply
        0
        • M MyThread

          Thanks Christian. I had all the controls in one table. I took out the Ok and cancel buttons out from one table and put in a another table outside it. Again, if I fill the text box with text len of 250 words (aprrox), the buttons get displaced when the page reloads with the validation message. Why does it get displaced? When I reduce the len of the text, things work fine. Please comment. Thanks.

          M Offline
          M Offline
          MyThread
          wrote on last edited by
          #4

          Ok...I made it working by changing the Colspan property.

          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