views:

585

answers:

1

Hi, Anybody knows what is mobile capability for render Meta Tags for each adapter?

I am using Marg.Wurfl to detect mobile device, and it maps wurfl capabilities to mobile capabilities, but it does not render meta tags.I have found requiresXhtmlCssSuppression capability in ASP.NET Mobile Controls XHTML Adapter Source, but it doesn´t work to me.

Thx in advance,

+2  A: 

After intensive using of Reflector, i have found than Wml, Chtml and Html (Mobile) control adaptares uses: RequiredMetaTagNameValue, RequiresContentTypeMetaTag and PreferredRenderingMime capabilities for rendering meta tags, you can see them in RenderExtraHeadElements function in *FormAdapter (not in *PageAdapter, WTF). But Xhtml controls adapter (source code) doesn´t render metatag. I will create one.

Before, I thought the problem was a capabilities mapping, but now i think it is a XhtmlPageAdapter rendering problem.

more information?

fravelgue