Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom Child windw size?
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00767584
Message ID:
00767617
Views:
12
Try seperating the window attributes with a comma.

string features ="height=320,width=160,left=100,top=50,location=yes,menubar=no,resizable=yes,scrollbars=yes,status=no,titlebar=yes,toolbar=no";



>I have a child window that I am opening up. I want to give it a specific size, and the ability to scroll & grow. Here is code I'm using:
>
>string features ="height=320;width=160;left=100;top=50;location=yes;menubar=no;resizable=yes;scrollbars=yes;status=no;titlebar=yes;toolbar=no";
>
>string ssString = String.Concat("CustNotes.aspx?ptoapp=", aPage );
>
>string sString = "window.open('"+ssString+"', 'Notes', '" + features + "');";
>
>MmButton1.Attributes.Add("onclick", sString);
>
>My button click does fire a new window but the height , width are set, and the scroll doesn't work.
>
>Any ideas?
>
>TIA
Michael McLain
Previous
Reply
Map
View

Click here to load this message in the networking platform