[Solved] How get button Text from MyControl(Button)? [closed]
[ad_1] You need to cast the control to the type of your user control. If your class is really called Button then something like this var myButton = this.Controls[“button” + i] as Button; if(myButton != null && myButton.naz == “1”) … [ad_2] solved How get button Text from MyControl(Button)? [closed]