Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputButton.cs')
-rw-r--r--mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputButton.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputButton.cs b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputButton.cs
index 5ee4624e976..d31ca9a5e6a 100644
--- a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputButton.cs
+++ b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputButton.cs
@@ -76,7 +76,7 @@ namespace System.Web.UI.HtmlControls {
#if NET_2_0
[DefaultValue ("")]
- public virtual string ValidationGroup
+ public string ValidationGroup
{
get {
string group = Attributes["ValidationGroup"];
@@ -167,7 +167,7 @@ namespace System.Web.UI.HtmlControls {
if (Page.AreValidatorsUplevel ()) {
oc = csm.GetClientValidationEvent ();
} else if (Events [ServerClickEvent] != null) {
- oc = Attributes ["onclick"] + " " + csm.GetPostBackEventReference (this, "");
+ oc = Attributes ["onclick"] + " " + csm.GetPostBackClientEvent (this, "");
}
if (oc != null) {