a Punctuation or lowercase alphabetic characters.
M All characters permitted.
m All characters permitted.
N Numeric characters only.
X Uppercase characters only.
x Lowercase characters only.
nf n indicates a number between 1 and 9 for the number of characters permitted.
Replace f with one of the preceding letters to specify what characters are legal.
*f * indicates any number of characters permitted. Replace f with one of the preceding
letters to specify what characters are legal.
CHAPTER 10 ?– OTHER S ERVER C ONTROLS 519
Mapping Device Adapters
Now that we have created our mobile server control and device adapters, it is time to modify a
configuration file so that the ASP.NET runtime can select the correct device adapter to render
the mobile control.
We can inherit from the machine.config file and create a new device mapping in the
web.config file, or we can modify the machine.config file. The section of the configuration file
we need to customize is the
element. For a given device target, we need to
map the mobile control to a device adapter. Here is the syntax to map a mobile server control
to a device adapter:
If the assembly is registered in the GAC, you can omit the assembly name.
Pages:
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683