•
•
•
•
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 426,401 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 2,275 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: 4923 | Replies: 3
![]() |
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.
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.
•
•
Join Date: Sep 2006
Posts: 17
Reputation:
Rep Power: 3
Solved Threads: 0
•
•
•
•
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
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
advertising ajax asp blog browser browsing community data design development devices dom domains feed firefox google html india intel internet legal linux marketing microsoft mobile applications mozilla multimedia news office php privacy reader report research search security software sql sun video w3c weather web web development wiki xml xoap yahoo youtube
- Using Hidden Variables in ASP.NET (ASP.NET)
- How To Hyperlink Normal HTML page with ASP.NET Page? (ASP.NET)
- Can't Open Web Pages where ASP.net (Web Browsers)
- Print a web page in ASP.net (ASP.NET)
- ASP.Net Security 101 Part 1 (ASP.NET)
- Deploying ASP.NET application (ASP.NET)
Other Threads in the ASP.NET Forum
- Previous Thread: Problem Updating Row in GridView
- Next Thread: sign out from a site



Linear Mode