I have a control Orders.ascx
in this control I have a reference to another control Grid.ascx
something like this:
In my Orders.ascx
I have :
<asp:Label id="warnings" runat="server" />
<uc:Grids id="uxGrid" runat="server/>
Now in the grid ( Grids.ascx )
I have a drop down control that has the quantities with a event handler method for on index change, when a different quantity is chosen in a row, it posts back and updates the price depending on the quantity. I need for each time it posts back to add a message to the label warnings in Orders.ascx
, but my problem is that this label is in the parent control. I tried using FindControl and it DOES find it and I can set the text but it never updates the warnings label.
How can I update that label text from the drop down's on index change control?. It seems that it doesnt inject everytime i select the quantity.