Access child user control's property in parent user control

后端 未结 4 1074
悲&欢浪女
悲&欢浪女 2021-01-15 01:44

I have included a user control in another statically following code :


place the folowing directive in the asp code of the parent page or usercontrol:

<

4条回答
  •  伪装坚强ぢ
    2021-01-15 02:01

    Using

    Name_of_your_child_control1.PublicPropertyName
    

    must work for your parent user control.

提交回复
热议问题