Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / May 2008

Tip: Looking for answers? Try searching our database.

Getting the current page size in asp.net

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gouri.Mahajan7@gmail.com - 26 May 2008 13:28 GMT
Hello,

I am new to asp.net. Can anybody please tell me how to get current
page size in asp.net...?
Thanks in advance.

Regards,
Gouri.
Rain - 26 May 2008 13:41 GMT
Are you talking about screen size ?

> Hello,
>
[quoted text clipped - 4 lines]
> Regards,
> Gouri.
Gouri.Mahajan7@gmail.com - 26 May 2008 13:49 GMT
Hello,

I want to know the current web page size in asp.net so that I can
adjust the size of the user control on the web page accordingly.

Regards,
Gouri.
Eliyahu Goldin - 26 May 2008 14:04 GMT
Use percentage for width.

Signature

Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net

> Hello,
>
[quoted text clipped - 3 lines]
> Regards,
> Gouri.
Gouri.Mahajan7@gmail.com - 27 May 2008 07:23 GMT
Hello,

As you suggested I have used percentage for setting the width of the
control. It is working fine. But when I use the percentage for setting
the height, control is not shown on the web page. What could be the
problem can you please explain me.? Thanks.

Regards,
Gouri.
Munna - 27 May 2008 07:34 GMT
On May 27, 12:23 pm, Gouri.Mahaj...@gmail.com wrote:
> Hello,
>
[quoted text clipped - 5 lines]
> Regards,
> Gouri.

Hi,

In few html controls height by percentage don't work in those case
height by pixel or em is good.

Best of luck

Munna
www.munna.shatkotha.com
www.munna.shatkotha.com/blog
www.shatkotha.com
Gouri.Mahajan7@gmail.com - 27 May 2008 07:42 GMT
Hi,

Initially when web page is loaded or when the page is refreshed the
the control is disappeared. When maximize/minimize button on the
browser is pressed then control is appeared when percentage is used
for height. Why is like this..??

Regards,
Gouri.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.