Why System.Web.UI.WebControls.HiddenFieldinherit System.Web.UI.Controlinstead System.Web.UI.WebControls.WebControl? This seems like a really illogical placement, if not the fact that hidden fields are used on web pages. What is the reason it was developed?
It is annoying when you cannot do things like WebControl x = new HiddenField();
source
share