Parent .aspx Form has 5 buttons. Each opens a ajax modal pop-up extender containing a user control (.uscx).
The uscx is registered, all works well.
Button opening the modal is below. The 5 buttons are in sequence BtnDims1, BtnDims2 etc. So are all the ID's
<asp:Button ID="BtnDims1" runat="server" Text="Dim" Width="31px" Font-Size="XX-Small" ToolTip="Enter Dimensional Load Information" TabIndex="11" />
<ajax:ModalPopupExtender ID="BtnDims1_Mpe" runat="server" Enabled="True" TargetControlID="BtnDims1" PopupControlID="PNLfgtDimension1" DropShadow="true">
<asp:Panel ID="PNLfgtDimension1" style="display:none;" runat="server" BorderColor="#212020" BorderStyle="Double" Visible="true" BorderWidth="6px" Width="440px" Height="150px" BackColor="White">
<uc1:FgtDemensions runat="server" ID="FgtDimensions1" />
The user control has 3 text boxes (TBlength, TBWidth & TBHeight) and one cmd buttom.
After client enters the 3 values they click the save button, things are saved and the modal closes.
Now I want to be able to read the values from those text boxes from the parent page.(I know the inputs are still there because when I click on the modal popup button again the inputs still display.)
I can find the main child controls (the panels and forms) in the control collection but can not successfully get the values from the text boxes.
I found the user control using this code.
MyModal1 = CType(FindControl("BtnDims
Dim fgtcontrol As UserControl = CType(MyModal1.FindControl
Can someone show me how to read the textboxes? I know hoe to send vales from a child.
Not having any success at reading (pulling) from a child.