469,576 Members | 1,711 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,576 developers. It's quick & easy.

Implementing lookup pages

Hi,

In my Windows applications I generally use lookup forms to show a list of
values to users and these windows are generally modal. Users select any item
from list, press OK button and details are displayed on main window. I want
to implement same logic in my ASP.NET applications but I have no idea about
some points such as : "How can I display a modal browser window?", "How can
I get selected item from lookup list when user select an item and then close
modal window by clicking OK button?", "Is it convenient to use this approach
in web applications?"

I want to know your answers for questions above.

Thanks in advance.
May 17 '07 #1
2 1080
"Kursat" <ku***********@hotmail.comwrote in message
news:Oa**************@TK2MSFTNGP04.phx.gbl...
In my Windows applications I generally use lookup forms to show a list of
values to users and these windows are generally modal. Users select any
item from list, press OK button and details are displayed on main window.
I want to implement same logic in my ASP.NET applications but I have no
idea about some points such as : "How can I display a modal browser
window?", "How can I get selected item from lookup list when user select
an item and then close modal window by clicking OK button?", "Is it
convenient to use this approach in web applications?"
Modal dialogs in WebForms are a little trickier than in WinForms.

If you can guarantee that all users of the app will be using IE (e.g. maybe
in a corporate intranet), then you can use:
http://www.google.co.uk/search?sourc...howModalDialog

This can be used to return a value to the calling code in the parent window,
which could be a variant array if you need to return more than one
"value"...

If you need cross-browser support, then you will need either to find a
different method or simulate a dialog by means of a <div- Ajax has this
built-in:
http://www.google.co.uk/search?hl=en...x+dialog&meta=
--
http://www.markrae.net

May 17 '07 #2
You could check out the modal popup with AJAX:
http://ajax.asp.net/ajaxtoolkit/Moda...odalPopup.aspx

David Wier
MVP/ASPInsider
http://aspexpress.com
http://iWritePro.com

"Kursat" <ku***********@hotmail.comwrote in message
news:Oa**************@TK2MSFTNGP04.phx.gbl...
Hi,

In my Windows applications I generally use lookup forms to show a list of
values to users and these windows are generally modal. Users select any
item from list, press OK button and details are displayed on main window.
I want to implement same logic in my ASP.NET applications but I have no
idea about some points such as : "How can I display a modal browser
window?", "How can I get selected item from lookup list when user select
an item and then close modal window by clicking OK button?", "Is it
convenient to use this approach in web applications?"

I want to know your answers for questions above.

Thanks in advance.


May 17 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Martyn Lawson | last post: by
3 posts views Thread by my-wings | last post: by
3 posts views Thread by =?Utf-8?B?TmVkaW0=?= | last post: by
13 posts views Thread by paul.joseph.davis | last post: by
2 posts views Thread by ssubbarayan | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.