We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

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.
Live Chat Icon For mobile
Up arrow icon