Hi TS,
I've checked the Validator control's code via reflector and it seems it is
a simple control that use render method to output. There is no particular
setting on the "ErrorMessage" property, I think the rendering logic is hard
coded in it which make the property value as the default Inner html content.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Quote:
From: "TS" <manofsteele1 (AT) nospam (DOT) nospam
Subject: baseValidator.ErrorMessage is rendering between start & end tags
instead of as an attribute
Date: Tue, 18 Dec 2007 13:11:09 -0600
I don't understand why this is so. why doesn't it render as an attribute
of
the span tag?
thanks |