summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-06-17 16:59:35 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2010-06-17 16:59:35 -0700
commit5fcb636cd7485ccc1c19e36ddb212577ac0c7b43 (patch)
treed788cdfdbedd035de31afc59d100eb7475193083 /src
parentd175cbf7b629fa5f213ad47c79963c52f138dd9b (diff)
downloadDotNetOpenAuth-5fcb636cd7485ccc1c19e36ddb212577ac0c7b43.zip
DotNetOpenAuth-5fcb636cd7485ccc1c19e36ddb212577ac0c7b43.tar.gz
DotNetOpenAuth-5fcb636cd7485ccc1c19e36ddb212577ac0c7b43.tar.bz2
Fixed some issues when multiple OpenIdLogin controls are present on the same page.
Diffstat (limited to 'src')
-rw-r--r--src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdLogin.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdLogin.cs b/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdLogin.cs
index c1e412b..5128599 100644
--- a/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdLogin.cs
+++ b/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdLogin.cs
@@ -723,7 +723,7 @@ namespace DotNetOpenAuth.OpenId.RelyingParty {
cell = new TableCell();
try {
this.loginButton = new Button();
- this.loginButton.ID = "loginButton";
+ this.loginButton.ID = this.ID + "_loginButton";
this.loginButton.Text = ButtonTextDefault;
this.loginButton.ToolTip = ButtonToolTipDefault;
this.loginButton.Click += this.LoginButton_Click;
@@ -959,7 +959,9 @@ idselector_input_id = '" + this.ClientID + @"';
this.EnsureID();
ErrorUtilities.VerifyInternal(!string.IsNullOrEmpty(this.ID), "No control ID available yet!");
this.requiredValidator.ControlToValidate = this.ID;
+ this.requiredValidator.ID = this.ID + "_requiredValidator";
this.identifierFormatValidator.ControlToValidate = this.ID;
+ this.identifierFormatValidator.ID = this.ID + "_identifierFormatValidator";
}
/// <summary>