+#if NET_2_0
+ internal void RegisterExpandoAttribute (string controlId, string attributeName, string attributeValue) {
+ RegisterExpandoAttribute (controlId, attributeName, attributeValue, false);
+ }
+
+ internal void RegisterExpandoAttribute (string controlId, string attributeName, string attributeValue, bool encode) {
+ if (Page.ScriptManager != null)
+ Page.ScriptManager.RegisterExpandoAttributeExternal (this, controlId, attributeName, attributeValue, encode);
+ else
+ Page.ClientScript.RegisterExpandoAttribute (controlId, attributeName, attributeValue, encode);
+ }
+#endif
+