[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

VijayS

12/22/2006 1:16:00 AM


To get the screen res of the phone, the docs say you can do

MobileCapabilities mc = (MobileCapabilities)Request.Browser;

mc.ScreenPixelHeight
mc.ScreenPixelWidth

But I've never seen these values to be accurate.

Let me know if these values seem accurate for the devices you try with.

Regards,
-Vijay

JL wrote:
> I want to automatically resize the size of the image depending on the size of
> the browser.
>
> Thanks,
>
> lekshmi