locked
asp.net + mobile controls not rendering valid wml RRS feed

  • Question

  • User285029959 posted

    Hi,

    I'm developing a website with asp.net and mobile controls, but I'm having this particular problem:
    The SelectionList controls is not rendering the "name" attribute when the output is wml. That attribute is mandatory, and some phones, some emulators are not displaying the pages and some wap proxies (used by operators here in spain) don't even send the response to the client.

    I created some test wmls by hand adding that attribute and they work, so my question is: how can I add the "name" attribute in asp.net. I tried creating a new mobilecontrol inheriting from selectionlist, overriding the render method and using the writer.addattribute("name", "selectionList" & me.ID) method of the current writer and then calling mybase.render(writer), but it didn't work.

    Does anyobe has a clue on this or can give me any tip?

    Thanks in advance.

    Demian

    Thursday, June 7, 2007 6:59 AM

Answers

All replies

  • User-692664639 posted

    I have a problem that is pretty similar to this one:

    In my case the the BackColor (bgcolor) property is not rendered.

    Because of this I cannot create a wap page that should contain few sections with different colors (the property is not rendered even for a regular Internet Explorer). Even if I add (hardcoded) a "div" tag with the needed bgcolor property it is not rendered. I have even tried the stylesheet - didn't help.

    Can somebody help?

    Thursday, June 14, 2007 2:52 AM
  • User1634317999 posted

    Hello Mastema.NET

    Two month ago we had the same question in this forum. You should also use the forum search.

    "Hope it helps" 

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, June 14, 2007 9:04 AM