Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Passing parameters to UserControl constructor in c# 2.0

Is there a way to pass the parameters to the LoadControl function when loading the user control dynamically?

like image 401
sarsnake Avatar asked Nov 26 '25 22:11

sarsnake


1 Answers

I found a solution that uses reflection here

like image 109
sarsnake Avatar answered Dec 01 '25 23:12

sarsnake



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!