PickList question - dot net newbie

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can this be done in asp dot net ?

Page 1 has a textbox and an image button next to it.

clicking the image pops up a new window (page 2) with a list of names - user
selects name page 2 closes - posting the selected name in the text box.

I'm sure someone has done this already....
 
You need to handle client-side onclick event for the image button. In the
event call javascript showModalDialog function. The dialog can pass back the
selected name in window.returnValue property. The parent page will get it a
result of the showModalDialog call and put it inside the textbox, again in
javascript.

Eliyahu
 
Back
Top