HELP with Mobile Controls XHTML Adapter Source RRS feed

  • Question

  • User-598002374 posted
    It says: After building, you should replace the XHTML adapter references in your code with references to the newly built assembly. But how do I do that??? help! _ronson
    Tuesday, January 31, 2006 6:08 AM

All replies

  • User-598002374 posted
    Found it. it's in the web.config under <mobileControls> inheritsFrom="XhtmlDeviceAdapters" thanx anyway.
    Wednesday, February 1, 2006 2:13 AM
  • User1448006760 posted


    I'm using XP pro & VS 2003 as devenv + framework 1.1

    I'm trying to enable numeric attribute on xhtml mobile textbox using style="-wap-input-format:N*".

    After extensive googling i decided download and modify xhtml adapter source.

    All went well until i pasted adapters.dll to bin folder and i tried to modify web.config file.

    I. have tried inherits from and predicate methods as follows.
    <mobileControls cookielessDataDictionaryType="System.Web.Mobile.CookielessData">

    <device name="MyAdapters" inheritsFrom="System.Web.UI.MobileControls.Adapters.XhtmlAdapters">

    and predicate class and  method accordingly. and i've tried

    control name="System.Web.UI.MobileControls.Panel" adapter="Adapters.System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XHtmlPanelAdapter,Adapters.System.Web.UI.MobileControls.Adapters.XhtmlAdapters"/>

    as well as

    <control name="System.Web.UI.MobileControls.Form" adapter="System.Web.UI.MobileControls.ShippedAdapterSource.XhtmlAdapters.XHtmlFormAdapter,System.Web.UI.MobileControls.ShippedAdapterSource"/>

    and all possible combinations of those for every control and i keep getting error:

     Type 'Adapters.System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XHtmlPanelAdapter,Adapters.System.Web.UI.MobileControls.Adapters.XhtmlAdapters' used as adapter not found.

    If somebody could paste example from web.config with modified xhtml adapters here or some other hint how i get forward.

    Thanks in advance,


    Tuesday, April 11, 2006 8:16 AM