Search Results in Modal popup controls

Hello,

Iam building a simple search page where I want to display the results in repeater in a modal pop up.

So when the user selects certain criteria and presses the search button, instead of going to a different page to show the search results I would like it to show the results in a modal pop up and in the repeater displaying the results , one column will be a link, clicking on the link should take me to a details page.

Can some point me in the right direction.

Thanks
Ashwin
AJagadishAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AJagadishAuthor Commented:
I was looking at this example .. a very simple example.

http://www.asp.net/learn/ajax-videos/video-85.aspx

You can download the code from this page as well.. Now what iam trying to accomplish is some thing like this .. as you can see in the example. IF the user clicks the link it opens up a modal pop up.

In my case I would like the Modal pop up to show only after a server side event has been fired.

For example, if I click on the link, I created a LinkButton1_Click event which would probably insert a database record.

After that event fires, i would like to show the results in the modal pop up box.

Is that possible ?

Thanks,
Ashwin
0
SriVaddadiCommented:
Yes that is possible. Even in that case you have do it through "JavaScript" as mentioned above. The only difference is that you have to call the javascript from code behind.

check this example

http://forums.asp.net/p/994368/1297933.aspx
http://dotnetslackers.com/articles/aspnet/JavaScript_with_ASP_NET_2_0_Pages_Part1.aspx
0
SriVaddadiCommented:
I looked at the video. In the video, he is doing everything on the client side using javascript. In your case you want to do it on the server side. You dont need to use the ModalPopUp extender and the panel as the modal pop up as he has suggested.

You could design your pop up as aspx page and from the server side of linkbutton of the main page you could launch the pop aspx page as a modal window using java script as mentioned in the articles i sent above.

Hope I am clear.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AJagadishAuthor Commented:
I found a better solution
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.