Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

How can I call a c# function in aspx page without refreshing and reloading ?

$
0
0

Hi; 

this is my code for button click event . :

protected void Button1_Click(object sender, EventArgs e)
{
int x = Convert.ToInt32(txtDecimal.Text);
mabnaConvertor mc = new mabnaConvertor();
txtBinary.Text = mc.convertor(x, 2);
txtHexa.Text = mc.convertor(x, 16);
txtOctal.Text = mc.convertor(x, 8);
}
but I want do this code without refreshing and reloading page . 

what should I do ? would you give me the required JS code 

Thanks :)


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>