示例#1
0
 protected override void Render(HtmlTextWriter writer)
 {
     if (!base.DesignMode)
     {
         if (DateTime.Now > CompiledOn.CompilationDate.AddDays(45.0))
         {
             writer.Write("This is a trial version of jqSuite for ASP.NET which has expired.<br> Please, contact [email protected] for purchasing the product or for trial extension.");
             return;
         }
         Guard.IsNullOrEmpty(this.ID, "ID", "You need to set ID for this JQDatePicker instance.");
         JQDatePickerRenderer jQDatePickerRenderer = new JQDatePickerRenderer(this);
         writer.Write(jQDatePickerRenderer.RenderHtml());
     }
 }
示例#2
0
 protected override void Render(HtmlTextWriter writer)
 {
     if (!base.DesignMode)
     {
         if (DateTime.Now > CompiledOn.CompilationDate.AddDays(45.0))
         {
             writer.Write("This is a trial version of jqSuite for ASP.NET which has expired.<br> Please, contact [email protected] for purchasing the product or for trial extension.");
             return;
         }
         Guard.IsNullOrEmpty(this.ID, "ID", "You need to set ID for this JQDatePicker instance.");
         JQDatePickerRenderer jQDatePickerRenderer = new JQDatePickerRenderer(this);
         writer.Write(jQDatePickerRenderer.RenderHtml());
     }
 }