How to persist a dynamic control (c#)

前端 未结 4 1072
北荒
北荒 2021-01-16 06:15

As per the title, I have created a custom control.

On a certain button click event, this control is instantiated, then added to the page.

It is a dynamic con

4条回答
  •  感情败类
    2021-01-16 06:50

    Usually for dynamic controls, they will have to be added on every postback and also the events need to be wired up every time.

提交回复
热议问题