Click here to Skip to main content
15,905,776 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can anyone help me to find the coding for a pop up window without using script manager in ASP.Net? The target page is inside one folder called Admin, and I want to pass a value in the command argument as a QueryString.
Posted
Updated 25-Aug-11 0:41am
v3

1 solution

Dear Friend,

Here iam sending sample Code ones CheckIt:


Ex: ClientScript.RegisterStartupScript(this.GetType(), "myOpener", "window.open('" + HttpRuntime.AppDomainAppVirtualPath + "/sample/window1.aspx');", true);
 
Share this answer
 
v2
Comments
Aswathi Narayan 25-Aug-11 7:36am    
thank u 4 ur reply.. the code is working and my page is opening in new tab. but need to open it new window.do u knw hw 2 do this?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900