render specific page as WML? RRS feed

  • Question

  • User-1293968219 posted

    is there a way to make only one page render as wml even if in the browserCap a specific device declared as html32?

    Saturday, January 12, 2008 2:36 PM

All replies

  • User1634317999 posted


    Hope it helps

    Sunday, January 13, 2008 2:39 AM
  • User-1293968219 posted

    How do I do that?

    Sunday, January 13, 2008 6:09 AM
  • User1634317999 posted


    as far as I see it is not possible to set the PreferredRenderingType of a MobilePage to wml11 or wml12. Therefore you have to send WML to the browser with a ASP.NET Web Form or a Generic Handler (.ashx). How you do this depends on your requirements. To display data you can use a repeater control for example.

    Tuesday, February 26, 2008 10:28 AM
  • User-1655686159 posted

     You can set the wml as a rendering type for default browser:

    1. Right click on your project -> Add Asp.Net Folder -> App_Browsers
    2. Inside this folder add a new .browser file
    3. paste this inside :

      <browser refID="Default">
          <capability name="preferredRenderingType" value="wml11" />
          <capability name="preferredRenderingMime" value="text/vnd.wap.wml" />


    Wednesday, February 27, 2008 4:38 AM
  • User-1293968219 posted

    but this is a solution for the entire project.

    I want to have one page let's say default.aspx to be render as wml, and other one slide.aspx to be render as html32.


    Thursday, May 29, 2008 5:48 PM
  • User1634317999 posted

    If you read my answer this question is unnecessary.

    Tuesday, June 3, 2008 2:31 AM