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