I have two user controls Usercontrol1 and Usercontrol2
Usercontrol1 load into Usercontrol2, i want a situation when i press a button in Usercontrol1 an action should be perform
let me say when i press a button in Usercontrol1 a button that is enable in Usercontrol2 should be disable
Thank you

Sachin SinghRank #66 · 26.2K reputationPosted Jun 23, 2022, 2:52 AM EDT
Inside your user control2 create a property as
from usercontrol1 use this property