I want to using kentico function BrowserHelper.IsMobileDevice() to detect user view from mobile and i refer link below:
But i got a error "Object Reference Not Set To An Instance Of An Object...." only on mobile and on desktop work normally.
I tried Request.Browser.IsMobileDevice but i still got error.
Please help me!
may I ask you how you use those functions?
I tried both and both of them work fine for me...
Thank you for reply!
I re-check and I had a confusion in my code then I corrected it and it work correct.
Please, sign in to be able to submit a new answer.