Ian,
I was having the same problem last night. It frustrated me for a good two
hours and I still have no fix. Glad to see that it's a problem with the
Master Pages, that was what I was going to try to test this time around... I
will probably end up using your workaround for now. If I come up with
something else I will let you know.
Dan
"ilockett" wrote:
DWS
Thanks for taking the time to reply.
Whilst the Login control does have it's own validation - it only
displays the asterisk after the textbox and does not actually display a
message. This could be missed by some users.
I was hoping that the validation summary would show the error in a more
explicit way. I don't feel I am doing anything wrong - the
combination of Login and ValidationSummary works fine when not used
within a Content Placeholder.
I have so far worked around it by using the FindControl method:
Dim myLogin As Login
Dim mySummary As ValidationSummary
myLogin =
[LoginViewControlName].FindControl("[LoginControlName]")
mySummary =
[LoginViewControlName].FindControl("[ValidationSummaryControlName")
If myLogin IsNot Nothing Then
' Replace the returned underscores with dollar signs.
mySummary.ValidationGroup = Replace(myLogin.ClientID, "_",
"$")
End If
However, I'm really not happy in having to do it this way, and so any
other suggestions are more than welcome.
Many thanks
Ian