Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RaiseBubbleEvent(Me, args)
- Protected Overrides Function OnBubbleEvent(ByVal source As Object, ByVal args As System.EventArgs) As Boolean
- MyControlThatNeedsUpdated grid = (MyControlThatNeedsUpdated)FindControlRecursive(Page, "MyControlThatNeedsUpdated");
- grid.updateList();
- private Control FindControlRecursive(Control root, string ControlType)
- {
- if (root.GetType().Name == ControlType)
- {
- return root;
- }
- foreach (Control c in root.Controls)
- {
- Control t = FindControlRecursive(c, ControlType);
- if (t != null)
- {
- return t;
- }
- }
- return null;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement