LiereeDyehibe
New Member
Is it possible to capture View state variables and write them to a database when a textbox is typed in? Meaning if someone was to type into a textfield named "Email" can i write this data to a table without having them raise a button event? I want to capture data before going through the Form Validation.I think I understand your question but what you are talking about is a client side event. Viewstate has nothing to do with it. In classic ASP you could do this with Remote Scripting. You would monitor focus on the form and call a database routine when focus was turned off. It was seamless. <BR><BR>I don't know if there is an equivalent of it in .NET. A quick search on google returns nothing. It seems to me Scott Guthrie did write an article or 2 about this a while back. Try searching asplists.com (when it gets back up). I know it was talked about on one of the .NET lists there.<BR>Try some of these too<BR>http://www.123aspx.com/search.aspx?lookfor=focus+form&wording=1<BR>