Question:You created a mobile Web site that appears to be working properly for your users.
Joe just purchased a new state-of-the-art mobile device. When he attempted to view
a Calendar control on your Web site, the control attempted to render a month view,
but Joe’s mobile device screen wasn’t big enough to display the calendar. You decide
to create a new .browser fi le that represents Joe’s mobile device and the settings will
908 CHAPTER 15 Creating ASP.NET Mobile Web Applications
cause the calendar to render appropriately. How can you get the runtime to recognize
the new .browser file settings? 

A Add the name of the .browser file to the Machine.config file in the Browsers element. 

B Add the .browser file name to the Web.config file for your Web site in the Browsers
element. 

C Run the aspnet_regbrowsers command-line tool in the .NET Command Prompt
window using the –i switch. 

D Run the aspnet_regiis command-line tool in the .NET Command Prompt window
using the –registerbrowsers switch. 

+ Answer
+ Report
Total Preview: 868

Copyright © 2024. Powered by Intellect Software Ltd