Pass data from a ASP.NET page to ASCX user controls loaded dynamically

前端 未结 6 1890
鱼传尺愫
鱼传尺愫 2020-12-08 05:05

I\'m developing an ASP.NET application with C# and Ajax.

I have a page that holds user controls loaded dynamically. I need to pass some data (integer values and some

6条回答
  •  既然无缘
    2020-12-08 05:15

    Kind of defeats the purpose of using an ascx control IMO since this breaks control encapsulation. Your page should be -getting- data from the control through subscribing to events published by the control.

提交回复
热议问题