I have a form that does an autopostback whenever a user select a number from the dropdownlist on the web form. The autopostback runs the code below which calculates the numbers of the form.
Screenshot:

Problem is I get a nasty flicker on the screen everytime is recalculates / autopostback.
Is there another way to code this to stop the flicker?
C#
protected void Page_Load(object sender, EventArgs e)
{
int intNum1 = 0;
int intNum2 = 0;
int intNum3 = 0;
int totalt = 0;
intNum1 = int.Parse(ddlNoadults.SelectedValue);
intNum2 = int.Parse(ddlNoseniors.SelectedValue);
intNum3 = int.Parse(ddlNochildren.SelectedValue);
totalt = (intNum1 * 10) + (intNum2 * 8) + (intNum3 * 6);
tbTotal.Text = totalt.ToString();
}
Regards
Tea
You can do it with jquery/javascript. This tutorial how to start jquery will help you.