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/ClientScriptManager.cs')
-rw-r--r--mcs/class/System.Web/System.Web.UI/ClientScriptManager.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/mcs/class/System.Web/System.Web.UI/ClientScriptManager.cs b/mcs/class/System.Web/System.Web.UI/ClientScriptManager.cs
index d4678410a4b..79fcb353449 100644
--- a/mcs/class/System.Web/System.Web.UI/ClientScriptManager.cs
+++ b/mcs/class/System.Web/System.Web.UI/ClientScriptManager.cs
@@ -58,13 +58,12 @@ namespace System.Web.UI
this.page = page;
}
-#if !NET_2_0
+ [Obsolete ("Use GetPostBackEventReference instead")]
public string GetPostBackClientEvent (Control control, string argument)
{
return GetPostBackEventReference (control, argument);
}
-#endif
-
+
public string GetPostBackClientHyperlink (Control control, string argument)
{
return "javascript:" + GetPostBackEventReference (control, argument);