ソースを参照

[asp.net] Fix for bug #636709. ClientID must be reset when ID is assigned.

Marek Habersack 15 年 前
コミット
8fd3e7fae6
1 ファイル変更2 行追加0 行削除
  1. 2 0
      mcs/class/System.Web/System.Web.UI/Control.cs

+ 2 - 0
mcs/class/System.Web/System.Web.UI/Control.cs

@@ -821,6 +821,8 @@ namespace System.Web.UI
 			uniqueID = null;
 #if NET_4_0
 			ClearCachedClientID ();
+#else
+			clientID = null;
 #endif
 			if (!HasControls ())
 				return;