Protected Sub Calendar1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Calendar1.Load
If Request.UserAgent.ToLower.Contains("mobile") Then
Calendar1.Caption = "This control may work better if you request the desktop version of the browser."
Else
Calendar1.Caption = ""
End If
End Sub
Tips and tricks for .NET using ASP and VB code.
Tell user to use desktop version of browser when using calendar control on iPad
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment