4
Answers

How to Create PopUp Window using Jquery in Asp.Net

Bvenkat Jeewesh

Bvenkat Jeewesh

13y
8.6k
1
I m Creating Online Shooping Website in Asp.net3.0. When My Image Product is Display then I use two Button. One is Details and another is Add to Cart. I want, When I will click on Details button then POP UP Window is Display and also display all description. please solve my problem.

With Warm Regards
Bvenkat Jeewesh
Junior S/W.
Answers (4)
0
Vijay Yadav

Vijay Yadav

NA 1.7k 537.5k 13y

I have not tried using JQuery yet, below is the link that may help you:

http://www.ezzylearning.com/tutorial.aspx?tid=6942119

Accepted
0
Bvenkat Jeewesh

Bvenkat Jeewesh

NA 102 163.7k 13y
Dear Sir,
 how to create popup window with datalist using jquery when i have 3 datalist and 3 (details) button then.how can create popup.plz solve my problem..
with warm regards
Bvenkat Jeewesh
Junior S/W Devp.
0
Bvenkat Jeewesh

Bvenkat Jeewesh

NA 102 163.7k 13y
 i need how to create popup window using Jquery.
0
Vijay Yadav

Vijay Yadav

NA 1.7k 537.5k 13y
Hi,
You can use javascript for this:

On Default.aspx source code write this:
<script type="text/javascript" language="javascript">
function openwindow(prodid)
{
window.open('Default2.aspx?id='+ prodid,'null','width=350,height=300,scrollbars=yes,left=350,top=200,right=5,bottom=5');
return false;
}
</script>
And on Page load:
string strProdid="1";
Button1.Attributes.Add("OnClick", "javascript:return openwindow('"+strProdid+'")");

And on Default2.aspx page load write this:
string str = Request.QueryString["id"].ToString();
  Response.Write(str);


Hope this help you..!!! :)