code_junkie

Passing Values between Web User Controls

Nov 12th, 2011
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. public string needData {
  2. get { return MyData; }
  3. set {
  4. MyData = value;
  5. //do whatever you need to do with that data here
  6. }
  7.  
  8. myControl2.needData = myDropDownList.SelectedValue;
Add Comment
Please, Sign In to add comment