summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdLogin.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdLogin.cs b/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdLogin.cs
index 1316c30..c1e412b 100644
--- a/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdLogin.cs
+++ b/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdLogin.cs
@@ -955,6 +955,7 @@ idselector_input_id = '" + this.ClientID + @"';
/// Sets child control properties that depend on this control's ID.
/// </summary>
private void SetChildControlReferenceIds() {
+ this.EnsureChildControls();
this.EnsureID();
ErrorUtilities.VerifyInternal(!string.IsNullOrEmpty(this.ID), "No control ID available yet!");
this.requiredValidator.ControlToValidate = this.ID;