I am having trouble updating a Control within a UserControl from another UserControl.
Layout;
MasterPage
-Page.aspx
-ASP:Panel
-RadPanelBar
-Items
-RadPanelItem
-UserControl1
-RadGrid
-Button in CommandItemTemplate (When button command completes needs to update controls within UserControl2
-Items
-RadPanelItem
-UserControl2
-ASP:Panel
-ASP:Label (this is the control that needs to be updated.)
I have tried to find the control with;
UserControl uc = (UserControl)Page.FindControl("UserControl1"); But it comes back with a null reference.
Any suggestion or pointers would be great.
Layout;
MasterPage
-Page.aspx
-ASP:Panel
-RadPanelBar
-Items
-RadPanelItem
-UserControl1
-RadGrid
-Button in CommandItemTemplate (When button command completes needs to update controls within UserControl2
-Items
-RadPanelItem
-UserControl2
-ASP:Panel
-ASP:Label (this is the control that needs to be updated.)
I have tried to find the control with;
UserControl uc = (UserControl)Page.FindControl("UserControl1"); But it comes back with a null reference.
Any suggestion or pointers would be great.