I'm trying to get the screen resolution of the client and to realize a
treatment in code behind.
it seem to be hard.
I can get information about the resolution with this following sub, call in
Page_Load.I fix the text of The Control Label. But no treatment is possible.
If i try to keep out the text of this label in code behind, i have nothing.
The variable is empty.
Private Sub SetScreen(ByVal ctrl As Control)
Dim sb As New System.Text.StringBuilder
sb.Append("').innerText='Résolution : ' + screen.height + 'X' +
End Sub 'SetScreen
Is it possible to take the screen resolution in code behind or disable a
My goal is to refuse authentication if the resolution is not supported.
Thanks for you help.
|All times are GMT. The time now is 10:31 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.