Minggu, 17 Oktober 2010

ASP.NET Load WebUserControl programmatically and invoke method using Reflection

IntroductionA few days ago, someone asked me how to invoke a method in a WebUserControl that is being loaded programmatically. I took the opportunity to put together a sample code to provide the answer based on different access level. I hope you all will find this information useful. Sample code is available to download. Putting everything togetherShown in Listing 1 is the code behind of the

Tidak ada komentar:

Posting Komentar