I was working my way through the MVC quick start sample, and I was having some trouble setting the map size to be percentage based rather than a static pixel width/height. I tried doing the following:
Html.ThinkGeo().Map("Map1", new System.Web.UI.WebControls.Unit(100, System.Web.UI.WebControls.UnitType.Percentage), 570)
but this does not set the width to 100%. Additionally, if I try to set both height and width to 100%, the map does not appear at all and I am left with an empty asp.net screen. Any idea why this is occuring and what I could do to set a percentage based display size? Ideally, it would be similar to the http://maps.thinkgeo.com/ website where the map takes up the whole screen.
Thanks for any help you can provide.