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.
Loading
trufun101Posted Aug 1, 2005, 5:06 PM
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.