This blog defines how to call a JavaScript function on ASP.NET.
ASPX code
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication11.WebForm1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script language="javascript" type="text/javascript">
function hideButton() {
document.getElementById("divAbc").style.visibility = "hidden";
return false;
}
</script>
<div id="divAbc">

Join the conversation! Your thoughts help the community grow.