Search

You searched for the word(s): userid:877828

Matching Posts

  • Re: EnsureChildControls?

    While reading an article on MSN for creating Custom Templated Control, the override method for DataBind calls CreateChildControls as follows protected override CreateChildControls() { //Logic for creating TemplateContainer //Logic for calling ITemplate.InstantiateIn() //Logic for adding TemplateContainer to Controls Collection. } protected override DataBind() { CreateChildControls(); ChildControlsCreated = true; base.DataBind(); } Another book I was reading did have the same logic for CreateChildControls
    Posted to Custom Server Controls (Forum) by Brijesh50 on 6/26/2009
Page 1 of 1 (1 items)