Category - Mobile
09 Jun 2022 09 Jun 2022 0 Comments  4972 Views
Here Mudassar Khan has explained with an example, how to solve the problem of HTML embed Tag not displaying PDF file in Mobile Browsers.

HTML embed Tag does work in Desktop browsers but it does not work in Mobile browsers and hence using PDF.js JavaScript plugin is used.
08 Jun 2022 08 Jun 2022 0 Comments  5679 Views
Here Mudassar Khan has explained with an example, how to display (render) PDF file in Mobile Browser using JavaScript.
06 Jul 2018 06 Jul 2018 0 Comments  12654 Views
Here Mudassar Ahmed Khan has explained with an example, why Request.Browser.IsMobileDevice property does not work in ASP.Net.

ASP.Net does have in-built mobile phone browser detection capabilities and you can check whether user is using a Mobile phone browser or Desktop browser using the Request.Browser.IsMobileDevice property.

But with time, new Operating Systems and Mobile devices are being launched, thus since the information for is not present the Mobile Devices are not being detected.
06 Jul 2018 06 Jul 2018 0 Comments  22649 Views
Here Mudassar Ahmed Khan has explained with an example, how to detect mobile phone browser (mobile device) in ASP.Net MVC Razor.

With the help of Regular Expressions (Regex), one can easily detect and find whether the User is using a Desktop browser or mobile phone browser (mobile device) in ASP.Net MVC Razor.