Advertisement
Guest User

Untitled

a guest
Mar 15th, 2013
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.37 KB | None | 0 0
  1. this.FindControl("MyDialog").ControlAvailable += (s, e) =>
  2. {
  3.     var screenChildWindow = (e.Control as ScreenChildWindow);
  4.     screenChildWindow.Opened += (s2, e2) =>
  5.     {
  6.         var content = screenChildWindow.GetChildrenByType<ModalWindowDialogContent>().FirstOrDefault();
  7.         if (content != null)
  8.         {
  9.             // do something
  10.         }
  11.     };
  12. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement