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