I have a ID and a Description text boxes on a web form. Both are web controls.
How can I retrieve the value in the ID field when the tab is pressed, or the cursor
leaves the text box (in other words, on a lost focus event)...
Can't seem to figure out what event would be fired, and to retrieve a value in a field.
Thanks.
Simple question
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

trufun10120 reputationPosted Aug 1, 2005, 1:06 PM EDT
You're not going to be able to retreive the value without a postback. You can use an OnBlur event and call a javascript function, but you'll not be able to access the txt.Text value from the codebehind until a postback is fired.