Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Odd/Frustrating Textbox Behavior

Reply
Thread Tools

Odd/Frustrating Textbox Behavior

 
 
Alan Lucas
Guest
Posts: n/a
 
      11-04-2004
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ViewState and TextBox behavior Dwight Johnson ASP .Net 8 03-14-2008 04:12 PM
Strange behavior with multiline textbox and opera =?Utf-8?B?dGhlIGZyaWVuZGx5IGRpc3BsYXkgbmFtZQ==?= ASP .Net 0 08-22-2005 07:48 PM
undefined behavior or not undefined behavior? That is the question Mantorok Redgormor C Programming 70 02-17-2004 02:46 PM
Don't like the textbox behavior with "postback=true" Lady Judith ASP .Net Web Controls 0 01-16-2004 06:01 PM
Textbox cursor behavior is bad Judith Stanley ASP .Net 0 12-04-2003 04:05 PM



Advertisments