Hi,
I am using your Grid / RadNumericTextBox for Footer Totals example.
<script type="text/javascript">
var sumInput = null;
var tempValue = 0.0;
function Load(sender, args) {
sumInput = sender;
}
function Blur(sender, args) {
sumInput.set_value(tempValue + sender.get_value());
}
function Focus(sender, args) {
tempValue = sumInput.get_value() - sender.get_value();
}
</script>
I have got 2 columns, Amount1 and Amount2.
Amount1 is a GridBoundColumn and Amount2 is GridTemplateColumn which have RadNumericTextBox.
When I enter value in amount2 textbox it updates the textbox in footer control at client side using above JavaScript code, which is i great.
What I also want is this when user enter value in amount2 textbox i want to check if this amount2 must be less than in Amount1 column at client side.
Can you please tell me how d i do this?
Many thanks
I am using your Grid / RadNumericTextBox for Footer Totals example.
<script type="text/javascript">
var sumInput = null;
var tempValue = 0.0;
function Load(sender, args) {
sumInput = sender;
}
function Blur(sender, args) {
sumInput.set_value(tempValue + sender.get_value());
}
function Focus(sender, args) {
tempValue = sumInput.get_value() - sender.get_value();
}
</script>
I have got 2 columns, Amount1 and Amount2.
Amount1 is a GridBoundColumn and Amount2 is GridTemplateColumn which have RadNumericTextBox.
When I enter value in amount2 textbox it updates the textbox in footer control at client side using above JavaScript code, which is i great.
What I also want is this when user enter value in amount2 textbox i want to check if this amount2 must be less than in Amount1 column at client side.
Can you please tell me how d i do this?
Many thanks