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.
Unfortunately, activation email could not send to your email. Please try again.

OnBlur Event

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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


Rekha P [Syncfusion]
Replied On April 21, 2009 09:23 AM

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


CONFIRMATION

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.

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.

;