I have asp.net website which include some calculation on button. When I press the button, my calculation works fine but, firstly page is refreshing and then the calculation looks on the label. I want to do that calculation looks on the label directly. Without refreshing. I give some codes.

p.s. Also Page\_Load has a function that receives daily exchange rates

**ASP**

```
<asp:Button ID="Button1" runat="server" BackColor="#990000" 
 BorderColor="#333333" ForeColor="White" onclick="Button1_Click" Text="Calculate" 
 Width="85px" BorderStyle="Outset" style="margin-left: 20px" 
 ValidationGroup="grup1" />

```

**BUTTON CLICK**

```
protected void Button1_Click(object sender, EventArgs e)
{
double sayi1, sayi2, sayi3, hesap, sonuc;

sayi1 = Convert.ToDouble(Tb1.Text);
sayi2 = Convert.ToDouble(Tb2.Text);
sayi3 = Convert.ToDouble(Tb3.Text);

if (Tb1.Text.Contains(".") || Tb2.Text.Contains(".") || Tb3.Text.Contains("."))
{
  ...
  ...
  ...

```