resolutions effect

Posted by Webmaster under ASP.NET on 9/6/2008 | Views : 1678 | Status : [Administrator] | Replies : 1
I am working on cellsetgrid which is thirdparty tool. Here i want to increase and decrease the cellset grid hight on button click event. For that i am setting the hight and width according to different resolution. But suppose i am using now 1024 width and 768 height for this my code is working fine,then i changed the resolution 1280 and 920 but it is displaying previous resolution for screen height and width. I am using this code to get current resolution

int deskHeight = Screen.PrimaryScreen.Bounds.Height;

int deskWidth = Screen.PrimaryScreen.Bounds.Width;

but it is not getting changed resolution.if i will do some changes in cs file then it is getting changed resolution.


Posted on behalf of Rajarbind

Best regards,


Posted by: Vuyiswamb on: 5/12/2009 [Member] [MVP] [Administrator] NotApplicable

Good Afternoon Arbind

Did you consult the third party provider about this problem. Remember we dont have the control, when we try to help , we use Microsoft Controls, sometimes its good to mention what third party control you are using, because i use Infragistics and i can help.

Please provide more info

Thank you for Posting at Dotnetfunda

Vuyiswa Maseko

Thank you for posting at Dotnetfunda

Webmaster, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response