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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

OnBlur Event

Thread ID:





80619 Apr 17,2009 07:32 AM UTC Apr 21,2009 01:23 PM UTC ASP.NET Web Forms (Classic) 1
Tags: FAQ
Administrator [Syncfusion]
Asked On April 17, 2009 07:32 AM UTC

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.


Rekha P [Syncfusion]
Replied On 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.

Please let me know if this helps you.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon