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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top