Monday, July 13, 2009

How to disable the MaxButton in an ASP.NET page and also set the width and height?

I'm doing my ASP.NET page in VB.NET and I want it to be in a determined size and the maxbutton disabled when it loads, how do I do this? Thanks.

How to disable the MaxButton in an ASP.NET page and also set the width and height?
Use the below javascript feature.





window.open(url,name,features,...


function


in the features parameter specify resizable=no .


You have different options in features like,


height,width,left,right,


Scrollbar=yes/no,


directories=yes/no


etc


No comments:

Post a Comment