protected void Page_Load(object sender, EventArgs e)
 {
     PageContentManager.AttachExternalFile("/shared/script/jquery-1.7.2.min.js");
     PageContentManager.AttachExternalFile("/Controls/TimeSpanView/JavaScript/jquery.TimeSpans.js");
     PageContentManager.AttachExternalFile("/Controls/TimeSpanView/CSS/TimeSpans.css");
     if (Page.IsPostBack)
     {
         TimeSpansJson.Value = Request[TimeSpansJson.Name];
     }
 }
Exemplo n.º 2
0
        /// <summary>
        /// Обработчик события инициализации страницы (<see cref="E:System.Web.UI.Control.Init" />).
        /// </summary>
        /// <param name="e">Аргументы события.</param>
        protected override void OnInit(EventArgs e)
        {
            PageContentManager.AttachExternalFile("~/shared/script/jquery-1.7.2.min.js");
            PageContentManager.AttachExternalFile("~/shared/script/jquery.cookie.js");
            PageContentManager.AttachExternalFile("~/shared/script/jquery.disable.text.select.js");
            PageContentManager.AttachExternalFile("~/shared/script/jquery.countdown.pack.js");
            PageContentManager.AttachExternalFile("~/shared/script/jquery-ui.min.js");
            PageContentManager.AttachExternalFile("~/shared/script/jquery.maskedinput-1.2.2.js");
            PageContentManager.AttachExternalFile("~/shared/script/jquery.maxlength.min.js");
            PageContentManager.AttachExternalFile("~/shared/script/master.page.js");
            PageContentManager.AttachExternalFile("~/shared/script/jquery.alerts.js");
            PageContentManager.AttachExternalFile("~/shared/script/jquery.sticky.js");
            PageContentManager.AttachExternalFile("~/shared/script/jquery.ics.js");

            base.OnInit(e);
        }
Exemplo n.º 3
0
        /// <summary>
        /// Обработчик события инициализации страницы (<see cref="E:System.Web.UI.Control.Init" />).
        /// </summary>
        /// <param name="e">Аргументы события.</param>
        protected override void OnInit(EventArgs e)
        {
            PageContentManager.AttachExternalFile("/shared/script/jquery-1.7.2.min.js");
            PageContentManager.AttachExternalFile("/shared/script/jquery.cookie.js");
            PageContentManager.AttachExternalFile("/shared/script/jquery.disable.text.select.js");
            PageContentManager.AttachExternalFile("/shared/script/jquery.countdown.pack.js");
            PageContentManager.AttachExternalFile("/shared/script/jquery-ui.min.js");
            PageContentManager.AttachExternalFile("/shared/script/jquery.maskedinput-1.2.2.js");
            PageContentManager.AttachExternalFile("/shared/script/thickbox.js");
            PageContentManager.AttachExternalFile("/shared/script/jquery.maxlength.min.js");
            PageContentManager.AttachExternalFile("/shared/script/master.page.js");
            PageContentManager.AttachExternalFile("/shared/script/jquery.alerts.js");
            PageContentManager.AttachExternalFile("/shared/script/jquery.sticky.js");
            PageContentManager.AttachExternalFile("/shared/script/jquery.ics.js");
            TreeView1.NodeStyle.ImageUrl = ("/img/rmini.jpg");
            PageContentID.

            base.OnInit(e);
        }
 protected void Page_Load(object sender, EventArgs e)
 {
     PageContentManager.AttachExternalFile("/shared/script/jquery-1.7.2.min.js");
     PageContentManager.AttachExternalFile("/Controls/Calendar/CSS/CalendarView.css");
     PageContentManager.AttachExternalFile("/Controls/Calendar/JavaScript/jquery.CalendarView.js");
 }