S
Sean
I'm having the problem described in KB article 822734. You can see it
at this URL: http://support.microsoft.com/default.aspx?scid=kb;en-us;822734
In the article it says I can get the fix by "clicking on the download
link later in this article." But there _is_ no download link later in
the article.
I've tried working around the problem, by parsing through every
control in my ASP.NET page, seeing if it's a BaseValidator, checking
if it's in the Validators collection, and if not putting it there, but
this cuases other weird problems. (For instance, it for some reason
disables any buttons that have CausesValidation set to false. I have
no idea why.) The code I used to do this is below.
Is there anyone here who knows where I can get the fix? Is it
somewhere on that web site and I just can't find it?
Sean
protected void FixBrokenValidators(Control _parentControl)
{
if(_parentControl is BaseValidator &&
!Validators.Contains((BaseValidator) _parentControl))
{
Validators.Add((BaseValidator) _parentControl);
}
foreach(Control childControl in _parentControl.Controls)
{
FixBrokenValidators(childControl);
}
}
at this URL: http://support.microsoft.com/default.aspx?scid=kb;en-us;822734
In the article it says I can get the fix by "clicking on the download
link later in this article." But there _is_ no download link later in
the article.
I've tried working around the problem, by parsing through every
control in my ASP.NET page, seeing if it's a BaseValidator, checking
if it's in the Validators collection, and if not putting it there, but
this cuases other weird problems. (For instance, it for some reason
disables any buttons that have CausesValidation set to false. I have
no idea why.) The code I used to do this is below.
Is there anyone here who knows where I can get the fix? Is it
somewhere on that web site and I just can't find it?
Sean
protected void FixBrokenValidators(Control _parentControl)
{
if(_parentControl is BaseValidator &&
!Validators.Contains((BaseValidator) _parentControl))
{
Validators.Add((BaseValidator) _parentControl);
}
foreach(Control childControl in _parentControl.Controls)
{
FixBrokenValidators(childControl);
}
}