Re: Get browser window size from C# codebehind
- From: "Just D." <no@xxxxxxxxxxx>
- Date: Thu, 31 Mar 2005 09:54:57 -0700
Thanks, William,
I found a better way - all controls are using %% instead of pixels and it
works just great and on the client side. Yes, it brings some disadvantages
during development, but it price is good - the convenient resizable
interface.
Just D.
>I don't think you can even get the browser size beyond using the client
>side
> function getBoundingClientRect(), but I haven't had any luck really
> determining the size of the browser. There is also a screen.width,
> screen.height property that will return the screen resolution the browser
> is
> on.
>
> If you do find a way, you will need to send this information back to the
> server, so you can do something with it. Plus, what will stop your user
> from resizing their browser window?
.
- References:
- Get browser window size from C# codebehind
- From: Just D.
- Re: Get browser window size from C# codebehind
- From: William F. Robertson, Jr.
- Get browser window size from C# codebehind
- Prev by Date: Re: What to use instead of the CommandArgument in DataGrids?
- Next by Date: excluding some rows when databinding
- Previous by thread: Re: Get browser window size from C# codebehind
- Next by thread: Question on DataTable.Select()
- Index(es):
Relevant Pages
|