473,387 Members | 1,619 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 1151
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Martyn Lawson | last post by:
Hi, I am currently working as an Analyst on a .NET Web Project using ASP.NET and C#.NET. I have a couple of, at least what should be, quick questions: 1. My understanding of UML says that...
3
by: my-wings | last post by:
I've been reading about how evil Lookup fields in tables are, but I've got to be missing something really basic. I know this subject has been covered before, because I've just spent an hour or two...
3
by: google | last post by:
I have a database with four table. In one of the tables, I use about five lookup fields to get populate their dropdown list. I have read that lookup fields are really bad and may cause problems...
7
by: | last post by:
I have what's probably a simple page lifecycle question related to dynamically evaluating values that are placed by a repeater and dynmically placing user controls that use those values. I'm...
3
by: =?Utf-8?B?TmVkaW0=?= | last post by:
does anyone have a suggestion how to make a lookup in a web form on a table with over 20 thousand records? the usual drop down list doesnt seem like a viable solution, i was hoping for something...
13
by: paul.joseph.davis | last post by:
Hi, I've just had my first encounter with two-phase lookup and I'm scratching my head a bit. The idea behind two phase look up is pretty easy to understand, but I have a case that fails to...
6
by: Joseph Geretz | last post by:
I have the following class which I am serializing and passing back and forth between my Web Service application and the client. public class Token : SoapHeader { public string SID; public...
2
by: ssubbarayan | last post by:
Dear all, I am in the process of implementing pageup/pagedown feature in our consumer electronics project.The idea is to provide feature to the customers to that similar to viewing a single sms...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.