N
Nuyttens Xavier
Hi,
I'm new to writing web user controls, but I would like to write my own
textbox usercontrol (asp.net 2.0 / c#) that has this feature :
- When the textbox is empty, the .text value is set to a default textvalue
like "type your message here"
- When you click the textbox, the .text is reset to blank
- When you query the .text value it returns the actual value, so it should
be empty if the user didn't type anything (not the default empty text).
Can anybody help me with a good way to implement this feature ?
thanks alot!
Xavier
I'm new to writing web user controls, but I would like to write my own
textbox usercontrol (asp.net 2.0 / c#) that has this feature :
- When the textbox is empty, the .text value is set to a default textvalue
like "type your message here"
- When you click the textbox, the .text is reset to blank
- When you query the .text value it returns the actual value, so it should
be empty if the user didn't type anything (not the default empty text).
Can anybody help me with a good way to implement this feature ?
thanks alot!
Xavier