Odd/Frustrating Textbox Behavior

Discussion in 'ASP .Net Web Controls' started by Alan Lucas, Nov 4, 2004.

  1. Alan Lucas

    Alan Lucas Guest

    I've got a basic form (frmTrackID) with 5 textboxes (txtID1 - txtid5)
    and a button (btnsubmit).

    You enter your ID's into the boxes (or leave them empty) and click the
    button. The code behind runs them each through a sub and goes on it's
    merry way. Now, as I'm a lazy dev, rather than having to type in
    these values all the time, or have to remove stuff from what will
    eventually become production code, I create a new page to pre-load
    these boxes with values that I want. I do this via a loading page
    which calls frmTrackID and loads up some params. In the frmTrackID
    page_load I check the params.count and load up txtid1 and so on if
    neccessary. This works fine. If however, I go directly to
    frmTrackID, without pre-loading, when I enter in a value and click
    btnSubmit, txtID1.Text is an empty string.

    What have I done to my page? I've already tried deleting the
    textboxes and reacreating them...

    Thanks, Alan
     
    Alan Lucas, Nov 4, 2004
    #1
    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. dan m

    painfully ignorant but frustrating

    dan m, Feb 6, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    327
    Alvin Bruney [MVP]
    Mar 2, 2004
  2. Simon Harvey
    Replies:
    1
    Views:
    338
    Guest
    Apr 2, 2004
  3. michael
    Replies:
    0
    Views:
    449
    michael
    May 1, 2004
  4. rtmc
    Replies:
    7
    Views:
    426
  5. Michael Speer

    Odd behavior with odd code

    Michael Speer, Feb 16, 2007, in forum: C Programming
    Replies:
    33
    Views:
    1,155
    Richard Heathfield
    Feb 18, 2007
Loading...

Share This Page