Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. asp:panel [modified]

asp:panel [modified]

Scheduled Pinned Locked Moved ASP.NET
htmltestingbeta-testingquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alsvha
    wrote on last edited by
    #1

    Hiya all. It seems the asp:panel "transforms" to a table when viewed in FireFox, does anybody have any idea as to why this occurs? I've never used asp:panel much, but was tasked with debugging some code somebody else had made, when I found out it was because the images were positioned in a table, which ... originated from asp:panel, and FireFox. When rendered in IE it displays "right", however I can not find any indications as to why this difference exists? Exampel:hello

    goodbye (The div+span were just stuff I used to testing) This renders to the following html source in FireFox:

    hello

    goodbye

    but to this in IE:

    hello

    goodbye

    Anybody got some idea as to why this happens? (edit:whops forgot to ignore html tags) --------------------------- 127.0.0.1 - Sweet 127.0.0.1 -- modified at 6:08 Wednesday 28th June, 2006

    M 1 Reply Last reply
    0
    • A Alsvha

      Hiya all. It seems the asp:panel "transforms" to a table when viewed in FireFox, does anybody have any idea as to why this occurs? I've never used asp:panel much, but was tasked with debugging some code somebody else had made, when I found out it was because the images were positioned in a table, which ... originated from asp:panel, and FireFox. When rendered in IE it displays "right", however I can not find any indications as to why this difference exists? Exampel:hello

      goodbye (The div+span were just stuff I used to testing) This renders to the following html source in FireFox:

      hello

      goodbye

      but to this in IE:

      hello

      goodbye

      Anybody got some idea as to why this happens? (edit:whops forgot to ignore html tags) --------------------------- 127.0.0.1 - Sweet 127.0.0.1 -- modified at 6:08 Wednesday 28th June, 2006

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      I guess that the ASP.NET is running on the 1.x version. In the version 1.x, the ASP.NET treats non-Microsoft browsers like FF as down-level browsers and IE as up-level browser. And depending on which client browser is being used, the ASP.NET control renders differently with the specified writer object (either HtmlTextWriter or Html32TextWriter). In the version 2.0, the ASP.NET treats non-Microsoft browsers as IE, so this thing won't happen. For more information, you can see Adaptive Rendering[^]

      A 1 Reply Last reply
      0
      • M minhpc_bk

        I guess that the ASP.NET is running on the 1.x version. In the version 1.x, the ASP.NET treats non-Microsoft browsers like FF as down-level browsers and IE as up-level browser. And depending on which client browser is being used, the ASP.NET control renders differently with the specified writer object (either HtmlTextWriter or Html32TextWriter). In the version 2.0, the ASP.NET treats non-Microsoft browsers as IE, so this thing won't happen. For more information, you can see Adaptive Rendering[^]

        A Offline
        A Offline
        Alsvha
        wrote on last edited by
        #3

        Thanks for the reply. I'll be sure to read the linky when I have a little spare time :) --------------------------- 127.0.0.1 - Sweet 127.0.0.1

        E 1 Reply Last reply
        0
        • A Alsvha

          Thanks for the reply. I'll be sure to read the linky when I have a little spare time :) --------------------------- 127.0.0.1 - Sweet 127.0.0.1

          E Offline
          E Offline
          Edbert P
          wrote on last edited by
          #4

          If you are using .Net 1.1, you can read about BrowserCap[^] configuration that will let your ASP.Net render the same HTML in different browsers. "Democracy is two wolves and a sheep voting on what to have for dinner" - Ross Edbert Sydney, Australia

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups