I have a RadAjaxPanel that contains a table I am trying to update through the C# code. What happens is the user will first buy all the items, and click "Confirm Purchase". The original panel will go invisible, and then the final radajaxpanel will become visible. At that point, a method in C# will be called to populate the table inside with the final cart. However, in my C# code, when I try to add a newly created row to the table, I get an error that the table doesn't exist. Here's the code: <telerik:RadAjaxPanel ID="PanelCompletePurchase" runat="server" Visible="false">
<h4>Complete Purchase</h4>
<table id="ReceiptTable">
<tr>
<th>Quantity</th>
<th>Product</th>
<th>Rate</th>
<th>Price</th>
</tr>
</table>
<asp:Label ID="Message" runat="server" ForeColor="Maroon"></asp:Label>
<br />
<asp:Label ID="Response" runat="server" ForeColor="maroon"></asp:Label>
<br />
<asp:Label ID="Debug" runat="server" forecolor="maroon"></asp:Label>
</telerik:RadAjaxPanel>
In my C# code, I doReceiptTable.Rows.Add(someCreatedRow);ReceiptTable is red and it shows unknown entity. How do I access the html table inside of the RadAjaxPanel? My Labels update just fine
<h4>Complete Purchase</h4>
<table id="ReceiptTable">
<tr>
<th>Quantity</th>
<th>Product</th>
<th>Rate</th>
<th>Price</th>
</tr>
</table>
<asp:Label ID="Message" runat="server" ForeColor="Maroon"></asp:Label>
<br />
<asp:Label ID="Response" runat="server" ForeColor="maroon"></asp:Label>
<br />
<asp:Label ID="Debug" runat="server" forecolor="maroon"></asp:Label>
</telerik:RadAjaxPanel>
In my C# code, I doReceiptTable.Rows.Add(someCreatedRow);ReceiptTable is red and it shows unknown entity. How do I access the html table inside of the RadAjaxPanel? My Labels update just fine