Senin, 16 Agustus 2010

ASP.Net – Calling JavaScript from Code Behind

.Net gives us the ability to call javascript code from the code behind. This means that you don’t have to write the javascript code in the “Source” of the aspx page. Just for an example, let’s say that you have a button on a form that just want to popup an alert that says “HEY” when it is clicked. protected void btnHey_Click(object sender, EventArgs e){     StringBuilder sb = new StringBuilder();

Tidak ada komentar:

Posting Komentar