0 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 i need how to create popup window using Jquery.
0 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..!!! :)