Problem with firefox
-
Good evening! I have a WebUserControl which has 2 textboxes (Username and Password ) and one ImageButton. ( They represent the user login ) The password textbox is rendered as
...<input type="password"...
and the imagebutton is rendered as
....<input type="submit"...
Everything worked fine but when i used in a real situation i realized that i had to have more ImageButtons used in other controls which are rendered as
...<input type="submit"...
, so whenever i click one of those buttons, Firefox asks me if i want to remember my apssword ( the browser is confused if the button is used for password submit ). Is there a way to specify which button is for the password submit so firefox wont be confused? If not ..... is there a workaround ? Regards, Hris
-
Good evening! I have a WebUserControl which has 2 textboxes (Username and Password ) and one ImageButton. ( They represent the user login ) The password textbox is rendered as
...<input type="password"...
and the imagebutton is rendered as
....<input type="submit"...
Everything worked fine but when i used in a real situation i realized that i had to have more ImageButtons used in other controls which are rendered as
...<input type="submit"...
, so whenever i click one of those buttons, Firefox asks me if i want to remember my apssword ( the browser is confused if the button is used for password submit ). Is there a way to specify which button is for the password submit so firefox wont be confused? If not ..... is there a workaround ? Regards, Hris
I think this is not possible. When posting the request to server, browsers will check for password fields and alert user about saving it. All you can do is to separate the functionality into multiple pages. A password update page should contain buttons that are used only for updating password. :)
Navaneeth How to use google | Ask smart questions
-
Good evening! I have a WebUserControl which has 2 textboxes (Username and Password ) and one ImageButton. ( They represent the user login ) The password textbox is rendered as
...<input type="password"...
and the imagebutton is rendered as
....<input type="submit"...
Everything worked fine but when i used in a real situation i realized that i had to have more ImageButtons used in other controls which are rendered as
...<input type="submit"...
, so whenever i click one of those buttons, Firefox asks me if i want to remember my apssword ( the browser is confused if the button is used for password submit ). Is there a way to specify which button is for the password submit so firefox wont be confused? If not ..... is there a workaround ? Regards, Hris
You can use "buttons" that do not submit. Use HyperLink control. Use the ImageUrl property to set images, and NagivateUrl to set the page to navigate to. However, you won't be able to catch the click event in a postback, so you must pass any parameters in the NavigateUrl property.
Regards, Leonardo Muzzi