}
}
- private static readonly object EventServerChange = new object ();
+ static readonly object EventServerChange = new object ();
[WebSysDescription("")]
[WebCategory("Action")]
}
}
+#if NET_2_0
+ protected override void RenderAttributes (HtmlTextWriter writer)
+ {
+ if (Page != null)
+ Page.ClientScript.RegisterForEventValidation (UniqueID);
+ base.RenderAttributes (writer);
+ }
+#endif
+
#if NET_2_0
protected internal
#else
{
base.OnPreRender (e);
- if (Page != null) {
+ if (Page != null && !Disabled) {
Page.RegisterRequiresPostBack (this);
+#if NET_2_0
+ Page.RegisterEnabledControl (this);
+#endif
}
}
protected virtual void RaisePostDataChangedEvent ()
{
+ ValidateEvent (UniqueID, String.Empty);
RaisePostDataChangedEventInternal ();
}
#endif