Jul 29, 2010, 8:52 AM
Javascript equivalent to C# code.
Hello,
I have a GridPanel and I can set it's height in C# by using following code:
Please provide me the code example which will select the grid and then change it's height exacaly like Height property does. I can use all server side values to build my script, because I'm preparing it in code behind so feel free to use every GridPanel members that are avaible and ready in OnLoad method.
Thanks in advice for all answers.
Regards
I have a GridPanel and I can set it's height in C# by using following code:
gridPanel.Height = 200;
Now I need a Javascript equivalent to this code, because the height of my grid will depend onsome values that I can get only on the client side of the application. In other words I need to set GridPanel height using values from javascript.Please provide me the code example which will select the grid and then change it's height exacaly like Height property does. I can use all server side values to build my script, because I'm preparing it in code behind so feel free to use every GridPanel members that are avaible and ready in OnLoad method.
Thanks in advice for all answers.
Regards