I have a column with a footer that has a label
I also have a button in the commanditemtemplate that has a onClick event which updates the values in the RadNumericTextbox and need to sum the total in the uxTotalAdjustedProfit label.
How do I access that control? I tried uxRadGrid.MasterTableView.FindControl (didnt work...) or there is no get footercontrol etc...
I also have a button in the commanditemtemplate that has a onClick event which updates the values in the RadNumericTextbox and need to sum the total in the uxTotalAdjustedProfit label.
How do I access that control? I tried uxRadGrid.MasterTableView.FindControl (didnt work...) or there is no get footercontrol etc...
| <telerik:GridTemplateColumn AllowFiltering="False" Groupable="False" HeaderText="Adjusted Profit" |
| UniqueName="AdjustedProfit"> |
| <ItemTemplate> |
| <telerik:RadNumericTextBox ID="uxAdjustedProfit" runat="server" MaxLength="6" MinValue="0" Enabled="false" |
| Width="45px" Font-Size="11px" ForeColor="#773A0D" Value='<%# Convert.ToInt32(Eval("Quantity")) * Convert.ToDecimal(Eval("AdjustedProfit")) %>'> |
| </telerik:RadNumericTextBox> |
| </ItemTemplate> |
| <FooterTemplate> |
| <b> |
| <asp:Label ID="uxTotalAdjustedProfit" runat="server"></asp:Label></b> |
| </FooterTemplate> |
| </telerik:GridTemplateColumn> |