User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 427,487 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,394 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 4942 | Replies: 3
Reply
Join Date: Sep 2006
Posts: 17
Reputation: Dhruv Shah is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
Dhruv Shah Dhruv Shah is offline Offline
Newbie Poster

Help How to Set web page resolution in asp.net

  #1  
Sep 19th, 2006
I am developing a web site based on Job Application. Now when i run this site at my client's computer the pages are look much wider.
I have 17 inch Monitor and my client has 15 inch monitor.
So how could i slove this problem regarding the screen resolution.

Please Help me out.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Posts: 1,590
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 35
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: How to Set web page resolution in asp.net

  #2  
Sep 19th, 2006
You don't. Or, rather, you shouldn't worry about this it all. Pick a standard resolution, such as 800x600, and code for it. Trying to code for all possible screen resolutions and browser window sizes will drive you crazy, and in my opinion it's sticking your nose where it doesn't belong: inside the users' preferences for monitor and window settings.

That said, JavaScript does give a "screen" object which you can interrogate to gather info about resolution. ASP.NET should have that built in to some object or other for you.
Reply With Quote  
Join Date: Sep 2006
Posts: 17
Reputation: Dhruv Shah is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
Dhruv Shah Dhruv Shah is offline Offline
Newbie Poster

Help Re: How to Set web page resolution in asp.net

  #3  
Sep 20th, 2006
Originally Posted by tgreer View Post
You don't. Or, rather, you shouldn't worry about this it all. Pick a standard resolution, such as 800x600, and code for it. Trying to code for all possible screen resolutions and browser window sizes will drive you crazy, and in my opinion it's sticking your nose where it doesn't belong: inside the users' preferences for monitor and window settings.

That said, JavaScript does give a "screen" object which you can interrogate to gather info about resolution. ASP.NET should have that built in to some object or other for you.


i am using asp.net 2003 sir can you pls give me some pseudocode for this. my code behind is vb.net 2003
Reply With Quote  
Join Date: Dec 2004
Posts: 1,590
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 35
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: How to Set web page resolution in asp.net

  #4  
Sep 20th, 2006
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 6:55 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC