OnBlur Event

I am developing an ASP.NET 1.1 Web application using Visual Basic. I have form with three TextBoxes in which I enter values. The third TextBox is for the total amount which should automatically give the sum; that is TextBox3.Text = TextBox1.Text + TextBox2.Text.

I have failed to use the OnBlur Event to calculate the figure. Please assist giving the code for the solution.

Mona


1 Reply

RP Rekha P Syncfusion Team April 21, 2009 01:23 PM UTC

Hi Mona,

Please refer the code snippet below to use onblur event in TextBox and the total value can be updated using javascript.


TextBox1 :

TextBox2 :




TextBox1 + TextBox2 :




Refer the sample below which illustrates the above.
http://files.syncfusion.com/support/GGC.Web/7.1.0.30/F80619/main.htm

Please let me know if this helps you.

Thanks,
Rekha


Loader.
Up arrow icon