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:ImageButton and Firefox

asp:ImageButton and Firefox

Scheduled Pinned Locked Moved ASP.NET
helpquestioncsharpjavascriptasp-net
4 Posts 2 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.
  • H Offline
    H Offline
    Hristiyan
    wrote on last edited by
    #1

    Good evening. In many places in my web application i use the asp:ImageButton control. However ASP.NET interpreters it as for example:

    <input type="image" src="Images/Edit.gif" onclick="javascript:__doPostBack('....','Edit$0')" style="border-width:0px;" />

    And always Firefox asks me if i want to remember the password. However in most cases the image button is not used for password submit. Am i using ImageButton incorrectly? How can i fix that problem ? Regards, Hris

    C 1 Reply Last reply
    0
    • H Hristiyan

      Good evening. In many places in my web application i use the asp:ImageButton control. However ASP.NET interpreters it as for example:

      <input type="image" src="Images/Edit.gif" onclick="javascript:__doPostBack('....','Edit$0')" style="border-width:0px;" />

      And always Firefox asks me if i want to remember the password. However in most cases the image button is not used for password submit. Am i using ImageButton incorrectly? How can i fix that problem ? Regards, Hris

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      You can't change what ASP.NET renders, unless you write your own image button control.

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      H 1 Reply Last reply
      0
      • C Christian Graus

        You can't change what ASP.NET renders, unless you write your own image button control.

        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

        H Offline
        H Offline
        Hristiyan
        wrote on last edited by
        #3

        But is that normal ?

        C 1 Reply Last reply
        0
        • H Hristiyan

          But is that normal ?

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          I don't think that the issue is your button, actually, I think it's other controls on your form. You'd have to experiment to find out. I think that this line of questioning in Firefox is new, and so there's a collision. The FF people either didn't test it, or didn't care that it doesn't work nicely with ASP.NET sites. The alternative is that you have some sort of password text box on your form, for whatever reason, and that's the cause.

          Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

          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