[WebCategory ("Behavior")]
#if NET_2_0
[Themeable (false)]
- public virtual
-#else
- public
#endif
- string CommandArgument {
+ public string CommandArgument {
get {
return ViewState.GetString ("CommandArgument", "");
}
[WebCategory ("Behavior")]
#if NET_2_0
[Themeable (false)]
- public virtual
-#else
- public
#endif
- string CommandName {
+ public string CommandName {
get {
return ViewState.GetString ("CommandName", "");
}
[WebCategory ("Appearance")]
#if NET_2_0
[Localizable (true)]
- public virtual
-#else
- public
#endif
- string Text {
+ public string Text {
get {
return ViewState.GetString ("Text", "");
}
Page.VerifyRenderingInServerForm (this);
writer.AddAttribute (HtmlTextWriterAttribute.Type, "submit");
-#if NET_2_0
- if (ID != null)
- writer.AddAttribute (HtmlTextWriterAttribute.Name, UniqueID);
-#else
writer.AddAttribute (HtmlTextWriterAttribute.Name, UniqueID);
-#endif
writer.AddAttribute (HtmlTextWriterAttribute.Value, Text);
if (CausesValidation && Page != null && Page.AreValidatorsUplevel ()) {
[Themeable (false)]
[UrlProperty("*.aspx")]
[MonoTODO]
- public string PostBackUrl {
+ public virtual string PostBackUrl {
get {
- throw new NotImplementedException ();
+ return ViewState.GetString ("PostBackUrl", "");
}
set {
- throw new NotImplementedException ();
+ ViewState ["PostBackUrl"] = value;
}
}
[Themeable (false)]
[WebSysDescription ("")]
[WebCategoryAttribute ("Behavior")]
- public string ValidationGroup {
+ public virtual string ValidationGroup {
get {
return ViewState.GetString ("ValidationGroup", "");
}