MultiuLineInput & MultichkBoc controls

M

mobiledev2000

Hi,

Anybody help with this. I am trying to use the MultiLineInputControl and the
MobileCheckBox controls (from Microsoft but unsupported by them) on the same
mobile web page., this requires a few lines adding to the web.config file in
project. The lines being:

<mobileControls
cookielessDataDictionaryType="System.Web.Mobile.CookielessData">

<device name="MMITTextInputHtmlDeviceAdapter"
inheritsFrom="HtmlDeviceAdapters">

<control name="MMIT_Sample.MultiLineInput,MLIC"
adapter="MMIT_Sample.HtmlMultiLineInputAdapter,MLIC" />

</device>

<device name="MobileCheckboxHtmlDeviceAdapter"
inheritsFrom="HtmlDeviceAdapters">

<control name="MobileCheckbox.Checkbox,MobileCheckbox"
adapter="MobileCheckbox.HtmlCheckboxAdapter,MobileCheckbox" />

</device>

<device name="MobileCheckboxWmlDeviceAdapter"
inheritsFrom="WmlDeviceAdapters">

<control name="MobileCheckbox.Checkbox,MobileCheckbox"
adapter="MobileCheckbox.WmlCheckboxAdapter,MobileCheckbox" />

</device>

<device name="MobileCheckboxChtmlDeviceAdapter"
inheritsFrom="ChtmlDeviceAdapters">

<control name="MobileCheckbox.Checkbox,MobileCheckbox"
adapter="MobileCheckbox.ChtmlCheckboxAdapter,MobileCheckbox" />

</device>

</mobileControls>



The first device refers to the MultiLineInput Control and the rest to the
CheckboxControl. Problem is when I view an aspx page with both controls on
it only shows one of the controls (the first one in the list under
mobileControls as shown above). Does anybody know how I can change the
web.config code to display both controls?



Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top