title: JavaScript update field in another UserControl
body: <p>I try to explain better. I have one user control in page, and inside this have UC2 (modal pop up). And I try to achieve this: When I close UC2(modal) i try to update some fields on UC1. And this works fine for one(I have UC2(modal) and on button Save OnClientClick="SaveInfoCI()"), and in UC1 on top of page</p>
  
  <p>function SaveInfoCI() {
       document.getElementById("&lt;%=frmData.FindControl("txtImplementingCI").ClientID%>").value
   = document.getElementById("&lt;%=UC2.GetClientID%>").value;   }</p>
  
  <p>but because i reuse this control in another place i want to update another field. Basically now i Have 3 JS function that update 3 fields. And I try when I click save in UC2(modal) I must execute one of this 3 javascript f, to update right field. I don't want to have 3 same UC with only difference in OnClientClick="SaveInfoCI().</p>