What I have forgotten to say is that I work with Web forms in an aspx web form...
if(Screen.PrimaryScreen.Bounds.Width.ToString().Equals("800"))
{
dgLibelle.HeaderStyle.Font.Size = 5;
dgWeeklyFacturablesActivities.ItemStyle.Font.Size= 5...
I try to get the screen resolution but Screen.PrimaryScreen.Bounds.Width always return 1024 even if I change the resolution. Why ????
Thank you for your help and don't hesitate to ask more information.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.