Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
hi friends,... i have problem, i have textbox and label control. When we click textbox the label would be hide..
Posted
Comments
Sergey Alexandrovich Kryukov 10-Feb-12 2:25am    
Now a question. Well hide is. What's the problem?
--SA
Sergey Alexandrovich Kryukov 10-Feb-12 2:25am    
By the way, why? Just to drive your users crazy? :-)
--SA
Rajesh Anuhya 10-Feb-12 2:47am    
Not Clear
--RA
bbirajdar 10-Feb-12 3:30am    
Why in the world do you want to play this hide and seek ?

1 solution

The best way to handle this is in the client, so javascript:
Handle the TextBoix OnClick event, and hide the label:
JavaScript
document.all["labHideMe"].style.display = "none";
Don't forget you may need a way to make it visible again.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900