// Author:
// Chris Toshok <toshok@ximian.com>
//
-// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2005-2010 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
-
using System.ComponentModel;
using System.Collections.Specialized;
using System.Security.Permissions;
-namespace System.Web.UI.HtmlControls {
-
+namespace System.Web.UI.HtmlControls
+{
// CAS
[AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
{
}
-
protected override void RenderAttributes (HtmlTextWriter writer)
{
// make sure we don't render the password
void IPostBackDataHandler.RaisePostDataChangedEvent ()
{
+ // We registered in the base class
+ ValidateEvent (UniqueID, String.Empty);
OnServerChange (EventArgs.Empty);
}
}
}
-#endif
+