.net ViewState in page lifecycle

后端 未结 4 799
遇见更好的自我
遇见更好的自我 2020-12-21 02:30

I have a page containing a control called PhoneInfo.ascx. PhoneInfo is dynamically created using LoadControl() and then the initControl() function is called passing in an i

4条回答
  •  盖世英雄少女心
    2020-12-21 03:13

    To do exactly what you're doing, you have to have the control loaded in the Init portion of the page lifecycle.

    However, to do it more easily, why don't you add it to an ? I think it will make this much easier.

提交回复
热议问题