Link to home
Start Free TrialLog in
Avatar of AJagadish
AJagadish

asked on

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
Avatar of Ravi Vaddadi
Ravi Vaddadi
Flag of United States of America image

Avatar of AJagadish
AJagadish

ASKER

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
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
ASKER CERTIFIED SOLUTION
Avatar of Ravi Vaddadi
Ravi Vaddadi
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I found a better solution