Hi,
We are using latest Radgrid in our asp.net application. I need to provide user a textbox to enter amounts into for each account. I need to show total amount entered by user for all accounts in footer. For this I am using template column with RadNumeric textbox like this:
As suggested in the link:
http://www.telerik.com/community/code-library/aspnet-ajax/general/refresh-footer-values-in-radgrid-client-side-using-radnumerictextbox.aspx
I have code in java script.
When I run my app and enter into textbox,
gets called and I get an error on this line saying that 'Object doesn't support property or method 'GetValue''. I am not sure where it is going wrong.
I am not using 'NeedDataSourceEvent' because my application is complicated and we bind the grid when ever it is required.
Thanks,
Prathiba
We are using latest Radgrid in our asp.net application. I need to provide user a textbox to enter amounts into for each account. I need to show total amount entered by user for all accounts in footer. For this I am using template column with RadNumeric textbox like this:
<
telerik:GridTemplateColumn AllowFiltering="False" FilterControlAltText="Filter Amount column" Groupable="False" HeaderText="Amount" Reorderable="False" ShowFilterIcon="False" UniqueName="Amount" HeaderTooltip="Amount">
<HeaderStyle Width="17%"></HeaderStyle>
<ItemTemplate>
<telerik:RadNumericTextBox ID="txtAmount" runat="server"
Type="Currency" Width="75%" CssClass="rightalign">
<ClientEvents OnBlur="Blur" OnFocus="Focus" />
</telerik:RadNumericTextBox>
</ItemTemplate>
<FooterTemplate>
<asp:Literal ID="Literal1" runat="server" Text="Sum"></asp:Literal>
<telerik:RadNumericTextBox ID="txtAmountTotal" runat="server" Type="Currency">
<ClientEvents OnLoad="Load" />
</telerik:RadNumericTextBox>
</FooterTemplate>
</telerik:GridTemplateColumn>
As suggested in the link:
http://www.telerik.com/community/code-library/aspnet-ajax/general/refresh-footer-values-in-radgrid-client-side-using-radnumerictextbox.aspx
I have code in java script.
When I run my app and enter into textbox,
function
Focus(sender, args)
{
tempValue = sumInput.GetValue() - sender.GetValue();
}
gets called and I get an error on this line saying that 'Object doesn't support property or method 'GetValue''. I am not sure where it is going wrong.
I am not using 'NeedDataSourceEvent' because my application is complicated and we bind the grid when ever it is required.
Thanks,
Prathiba