Panel Control
ASP.NET
3
Posts
3
Posters
0
Views
1
Watching
-
I m using asp .net 2.0.How to maximise the panel contol when the page is loaded in web application?Plese help..
-
I m using asp .net 2.0.How to maximise the panel contol when the page is loaded in web application?Plese help..
Thanusree Duth wrote:
How to maximise the panel contol when the page is loaded in web application
Not clear.. Whether you want to change the size. You can do from javascript as well.
Cheers!! Brij My Blog
Check my latest Article :ViewState - Various ways to reduce performance overhead -
I m using asp .net 2.0.How to maximise the panel contol when the page is loaded in web application?Plese help..
Here is the solution to ur problem
function maximizePanel() { var screenHeight = window.screen.availHeight; var screenWidth = window.screen.availWidth; document.getElementById('<% =Panel1.ClientID %>').style.width = screenWidth - 10; document.getElementById('<% =Panel1.ClientID %>').style.height = screenHeight - 10; }
Tej Aj, http://opexsolution.com/forum/ Fan of: http://www.abtstudioz.com/