Forum Discussion
s_papaioannou
4 years agoFrequent Visitor
Power BI MVC - Help with Mobile views
Hello everybody! I hope you are doing well! We have created a new MVC app where we embed PowerBI Reports. We have used the sample 'App Owns Data' project to utilize it and we managed to get the ...
s_papaioannou
4 years agoFrequent Visitor
Thank you for the information. I have already taken a look at the Developer Playground and I have pasted the sample code I used from the Playground in my initial post.
Anonymous
4 years agoNot applicable
HI s_papaioannou,
Perhaps you can take a look at the following link about mobile device detection with ASP.NET MVC applications if help: Mobile Device Detection and Redirection Using ASP.NET/MVC | CodeGuru
After you get the access device type, you can use it as if statement conditions to trigger the configuration to switch the report to 'phone view' mode.
Regards,
Xiaxoin Sheng