Hi all! I want to using kentico function BrowserHelper.IsMobileDevice() to detect user view from mobile and i refer link below: http://devnet.kentico.com/articles/how-to-extend-mobile-device-redirection-web-part-possibilities
BrowserHelper.IsMobileDevice()
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.
Request.Browser.IsMobileDevice
Please help me!
Thank GiangLT3
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.
GiangLT3
Please, sign in to be able to submit a new answer.