Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Jscript in a C# button
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00785384
Message ID:
00785453
Vues:
12
>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 ?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform