private void RegisterScript() { Page.RegisterClientScript(new Masters.ClientScripts.ReportsViewData()); RegisterClientScriptHelper.DataReportsView(Page); Page.RegisterInlineScript(string.Format("ASC.CRM.Reports.init({0}, {1});", (int)CurrentReportType, ViewFiles.ToString().ToLowerInvariant())); RegisterClientScriptHelper.DataUserSelectorListView(Page, "_Reports", null); }