Ask Experts Questions for FREE Help!
 

Free Answers in 3 Easy Steps

Register Now
3 Steps
 


Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.
  View Answers    Answer this question    Ask a question  
 

Mistery1
Nov 16, 2009, 05:47 AM
Hi there,

I wonder if anyone can help. I am looking for code to enable textboxes one by one. Basically I have 3 textboxes with the cell, home and work numbers. So when I double click on the cell textbox it should start dialling that number, while the home and work number textboxes are greyed out. If there is not answer from the cell number, I will obviously select voicemail from the dropdownlist and the next number textbox(home number) must be enabled.

Im doing this in asp.net in the visual basic language.

Your help in this regard is mush appreciate.

Thanks

Perito
Nov 16, 2009, 05:53 AM
In the "on doubleclick" handler, simply disable the text boxes that you want to be grayed out. Make sure you call "doevents" so they will appear properly. When you fall out of the handler, simply re-enable the boxes you wish.

Mistery1
Nov 16, 2009, 05:57 AM
Hi there,

Thanks for responding. When I change the event handler to doubleclick, it throws me an error saying that doubleclick cannot be found. Please bare with me I'm new to asp.net/vb