Question:You have a mobile Label control on your mobile Web form. You want the text to be
different based on whether the browser is Internet Explorer or a mobile device. How
can you perform this task? (Choose two answers.) 

A In your code, add a test for Request.Browser.IsMobileDevice, and then set the Text
property accordingly. 

B In your code, call the IsDevice method on the mobile Web form and pass the Device.
Mobile enumeration value, and then set the Text property accordingly. 

C Read the UserAgent property on the Request object, and if the UserAgent is equal
to mobile, set the Text property accordingly. 

D Set the default Text value, and then defi ne a mobile device in the AppliedDevice-
Filters, and use this to set the Text property using the PropertyOverrides property
of the mobile Label control. 

+ Answer
+ Report
Total Preview: 1454

Copyright © 2024. Powered by Intellect Software Ltd