Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Regarding the screen resolution

Reply
Thread Tools

Regarding the screen resolution

 
 
Greoasy
Guest
Posts: n/a
 
      06-19-2007
I have an asp.net webapplication,designed in laptops having resolution
0f 1280x800.
Now the same application when i run on a Desktop with a different
resolution the display of the screen is different from my system.We
need to scroll horizontally to reach to the end of the page.
i want to avoid this and the screen display in all the system with
different resolutions should be same,no scrollbars should appear.
How can this be done.?any easy way to set this or any code?

Very urgent.

 
Reply With Quote
 
 
 
 
Masudur
Guest
Posts: n/a
 
      06-19-2007
On Jun 19, 12:13 pm, Greoasy <greeshm...@gmail.com> wrote:
> I have an asp.net webapplication,designed in laptops having resolution
> 0f 1280x800.
> Now the same application when i run on a Desktop with a different
> resolution the display of the screen is different from my system.We
> need to scroll horizontally to reach to the end of the page.
> i want to avoid this and the screen display in all the system with
> different resolutions should be same,no scrollbars should appear.
> How can this be done.?any easy way to set this or any code?
>
> Very urgent.


Hi Greoasy ,

Onload apply javascript to resize the layout to your desired size...
in one of our project we did the same thing...
the client wanted a application with is resolution independent..
here is a little preview of the code...

var windowwidth = screen.availWidth;
var windowheight = screen.availHeight;
document.getElementbyId('leftnav').style.width = windowwidth/5 ;

resize the controls according to your needs.

Thanks
Masudur
www.kaz.com.bd
http://munnacs.110mb.com

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LCD TV resolution / DVD resolution ? slonkak DVD Video 0 11-13-2006 02:34 PM
Screen placement based on screen resolution Pat Python 5 04-08-2006 03:10 PM
How do you change the Modelsim Cursor Resolution (not simulation resolution) Andrew FPGA VHDL 0 09-26-2005 04:05 AM
Resolution resolution Simon Digital Photography 4 02-27-2004 01:53 PM
ISO Resolution Chart and Printing Resolution Jack Yeazel Digital Photography 0 08-11-2003 11:19 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57