I have read quite a few posts on this topic, but just can't seem to get this to work. I found this somewhere, but it seems to tell me what the max width I can possibly have every time:If Windows.Forms.Screen.PrimaryScreen.Bounds.Width = 1680 ThengridMembers.Height = 500ElseIf Windows.Forms.Screen.PrimaryScreen.Bounds.Width = 1920 ThengridMembers.Height = 850End IfWhen I step through the code, it says the Windows.Forms.Screen.PrimaryScreen.Bounds.Width is 1920 every time even if I change the resolution before running the code.
Hello Fred,
You can set the height of the grid using javascript like this:
grid.get_element().style.height = "850px";
Hope this helps.
Regards,
Lyuba
Developer Support Engineer
Infragistics
www.infragistics.com/support
Thanks. This definately got me started. I ended up using grid.resize() and it is working perfectly now. THank you for your help.