Bladeren bron

2006-10-24 Igor Zelmanovich <[email protected]>

	* DetailsView.cs: implemented: GetCallbackScript method.


svn path=/trunk/mcs/; revision=66913
Igor Zelmanovich 19 jaren geleden
bovenliggende
commit
6def7561fa

+ 4 - 0
mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog

@@ -1,3 +1,7 @@
+2006-10-24 Igor Zelmanovich <[email protected]>
+
+	* DetailsView.cs: implemented: GetCallbackScript method.
+
 2006-10-23 Igor Zelmanovich <[email protected]>
 
 	* FormView.cs: fixed: IPostBackContainer.GetPostBackOptions method.

+ 5 - 6
mcs/class/System.Web/System.Web.UI.WebControls/DetailsView.cs

@@ -1741,19 +1741,18 @@ namespace System.Web.UI.WebControls
 			return sw.ToString ();
 		}
 
-		[MonoTODO]
 		protected virtual string GetCallbackScript (IButtonControl buttonControl, string argument)
-		{
-			throw new NotImplementedException ();
-		}
-		
-		string ICallbackContainer.GetCallbackScript (IButtonControl control, string argument)
 		{
 			if (EnablePagingCallbacks)
 				return "javascript:DetailsView_ClientEvent (\"" + ClientID + "\",\"" + control.CommandName + "$" + control.CommandArgument + "\"); return false;";
 			else
 				return null;
 		}
+		
+		string ICallbackContainer.GetCallbackScript (IButtonControl control, string argument)
+		{
+			return GetCallbackScript (control, argument);
+		}
 
 		protected override void OnPagePreLoad (object sender, EventArgs e)
 		{