Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Jscript in a C# button
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Jscript in a C# button
Miscellaneous
Thread ID:
00785384
Message ID:
00785384
Views:
50
I have a need to pop open an change log window :

int lnses = Convert.ToInt32(Session["Changes"]); // # of changes for log
if (lnses >0)
{
string sScript = " {script language=javascript>";
sScript += " window.open('Explain.aspx')";
sScript += " {/script>";
Response.Write(sScript);
}
This works fine/\

If I change the .open line to add a title, size or ANYTHING, the .open doesn't fire?

sScript += " window.open('Explain.aspx','My Window','width=250, height = 300' )";

Any work arounds ?
Next
Reply
Map
View

Click here to load this message in the networking platform