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