web: ItemChanged event

  • Thread starter Thread starter markus
  • Start date Start date
M

markus

Hi there
I have to create a small new web application.

Before I can start, I have to know if the following is possible:

I have three text boxes. The first text box has to be entered. I have
to fill in a contract number and when I leave the field (leave this
textbox), the other two text boxes should be filled with first and
lastname. This two fields would be taken from the database.

This is no problem as long as the use has to press a button 'get
database values'. This makes a post to the server and gets back the
two database fields.

But is this also possible without pressing a button? I want when the
user leaves this field, this two database fields will be filled out
from the database.

Hope anybody can help
Thanks already now
Gali
 
Hi Gali,

You can try to do it like this,

Use an aspx textbox and set the autopostback property to true
(This is mostly forgetten, only the button has this automaticly)

Use in your aspx.vb the event "textchanged"

I hope this helps,

Cor
 
Back
Top