c# - Updating data in usercontrol2 from usercontrol1 update button -


i've have usercontrol houses other usercontrols within tab items. made visible , cleared interaction various checkbox's on parent usercontrol (all working). i've validation , writetodatabase functions in place works parent usercontrol. need have happen when "update" (utilizes commandbinding) button on uc1 clicked, relevant child uc data on other tabs saved db well. i've got validation work stumped in saving data of uc2/uc3/uc4 etc. ... pointers welcome. ps i'm trying keep uc's loosely coupled possible... i'm beginner please gentle (step step’s appreciated)

thanks in advance.

you put save event on each child control, , have parent page/control subscribe events. can ask child controls save themselves.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -