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?
 
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
 
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
 
AJagadishAuthor Commented:
I found a better solution
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.