void ClearJavaScriptBuffer() { int count = 0; foreach (string javaScript in m_buffer.ClearJavaScriptBuffer()) { ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "script" + count.ToString(), javaScript, true); count++; } }