<script type="text/javascript"> function alertVal() { alert("Hai"); } </script> <script runat="server"> protected void Page_Load(object sender, EventArgs e) { TreeView1.Attributes.Add("onclick", "alertVal()"); } </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)