DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Textbox Question...

  1. #1
    Join Date
    Jul 2004
    Posts
    366

    Question Textbox Question...

    Good Afternoon All,


    I have some code in the TextChanged event of a textbox. Whenever I go to clear that textbox it fires off that code, how do I avoid this? Any ideas?

    When I enter an account number I'm loading a datagrid with the data for that account number. When changes are made I'm setting the textboxes back to "" so the next account can be viewed. When the textbox.text = "" runs it fires off the search again. I don't want this to happen. Am I using the wrong event for this?

    Thanks in advance for the help!

    jb

  2. #2
    Join Date
    Jul 2004
    Posts
    366
    I got it... grrr!

  3. #3
    Join Date
    Sep 2008
    Posts
    25

    Post

    How did you solve the problem? (give reasoning)

  4. #4
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,663
    Please post your solution as it might help someone else with the same or similiar problem.

    Thanks.

Similar Threads

  1. Replies: 3
    Last Post: 09-25-2009, 07:19 AM
  2. Replies: 0
    Last Post: 02-10-2009, 05:09 AM
  3. Replies: 1
    Last Post: 07-07-2006, 05:37 AM
  4. Quick Stupid VB Question
    By GRapoza in forum VB Classic
    Replies: 2
    Last Post: 03-30-2006, 04:14 PM
  5. Format number in TextBox - problem
    By +Pablo in forum ASP.NET
    Replies: 2
    Last Post: 12-27-2005, 05:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center