Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
Im getting this error locally
The name 'Request' does not exist in the current context
My code
@if(Request.Browser.IsMobileDevice && !Request.UserAgent.Contains("iPad") && !Request.UserAgent.Contains("Tablet"))
How can I make this run locally?
Thanks
If this is in an umbraco page view, try Context.Request
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Request.Browser and Request.UserAgent
Hi,
Im getting this error locally
The name 'Request' does not exist in the current context
My code
@if(Request.Browser.IsMobileDevice && !Request.UserAgent.Contains("iPad") && !Request.UserAgent.Contains("Tablet"))
How can I make this run locally?
Thanks
If this is in an umbraco page view, try Context.Request
is working on a reply...