Click here to Skip to main content
11,708,116 members (74,073 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: ASP.NET C#4.0
In incorporating wildcard search functionality in my site, I would like to employ a "lookup" window from which the user selects an entry (in a gridview).

Based upon that selection, I will then populate relevant objects in the main window with the data from "lookup" window and then close the "lookup" window.

What is the best way to achieve this objective? Thanks.
Posted 28-Mar-13 9:59am
richcb at 28-Mar-13 16:02pm
What you described sounds quite possible and it sounds like you know what you want. So just break down each piece of that and start writing some code. Research an example if you get stuck or don't know how to write a particular piece. Once you have attempted this and get stuck, come back here and post your code you have and ask a specific question about your issue.
FabeCode at 28-Mar-13 16:12pm
From where can I get an example?
ryanb31 at 28-Mar-13 16:12pm
"Best" is relative. What would fit best in your framework and environment and knowledge base?
FabeCode at 28-Mar-13 16:15pm
I don't know how to answer that. Do I use Server.Transfer or Response.Redirect?
ryanb31 at 28-Mar-13 16:25pm
Possibly neither. You might want to use a ModalPopup window so that your user does not leave the site.
FabeCode at 28-Mar-13 16:12pm
From where can I get an example?
richcb at 28-Mar-13 16:16pm
Use a search engine to find examples. Keep in mind what you are trying to do is not going to exist perfeclty for you. Just take each piece of your project and write them one by one. Look for basic examples of each of those pieces you need and adapt them to your application.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Maciej Los 230
1 Mika Wendelius 180
2 OriginalGriff 168
3 Sergey Alexandrovich Kryukov 145
4 Peter Leow 140
0 OriginalGriff 9,198
1 Sergey Alexandrovich Kryukov 8,562
2 CPallini 5,189
3 Maciej Los 4,921
4 Mika Wendelius 3,856

Advertise | Privacy | Mobile
Web01 | 2.8.150819.1 | Last Updated 28 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100