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
Miscellaneous
Thread ID:
00785384
Message ID:
00785453
Views:
11
>Hi Stephen,
>
>All you need to do is remove the space in "My Window" to "MyWindow". Then it will work just fine.
>
>>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 ?
Previous
Reply
Map
View

Click here to load this message in the networking platform