I have a webpage having two user control uc1 and uc2. When user clicks a html server control on the page, i want to pass some开发者_StackOverflow社区 property value of uc1 to uc2. How do i do that?
Thanks, syd
Set the property or call a method eg.
uc2.propertyX = uc1.propertyY;
or call a method
uc2.propertyXChange(uc1.propertyY);
You could place a function on the parent page which handles the transfer of data between the various user controls. Call it like: this.page.myfunctioncall(x, y)
精彩评论