Attention: We are retiring the ASP.NET Community Blogs. Learn more >

Timer source code available

As per my previous post, the source for MarkItUp.WebControls.Timer is now available:

www.flws.com.au/Controls/Timer.zip

I'll eventually upload the control as a GDN User Sample, but, for now there's still some minor mods and efficiencies to factor in.

 

1 Comment

  • Code behind adjustment:



    change protected virtual void RegisterClientScript() to

    public virtual void RegisterClientScript()



    and in your script just RegisterClientScript();



    protected MarkItUp.WebControls.Timer Refresh_Sessions;



    #region Web Form Designer generated code

    override protected void OnInit(EventArgs e)

    {

    //

    // CODEGEN: This call is required by the ASP.NET Web Form Designer.

    //

    InitializeComponent();

    base.OnInit(e);

    }



    /// <summary>

    /// Required method for Designer support - do not modify

    /// the contents of this method with the code editor.

    /// </summary>

    private void InitializeComponent() {

    this.Refresh_Sessions.RegisterClientScript();

    etc...

Comments have been disabled for this content.