Hey guys I am trying to use a html anchor tag with asp.net
here is the code
Here is my htmlCode:Protected Sub linkadd_ServerClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles linkadd.ServerClick Session("adduser") = "true" MsgBox(Session("adduser")) End Sub
<li><a href="ChangeUser.aspx" id="linkadd" runat=server>Add User</a></li>
When I run the page it is running the error
do post back is not defined
javascript dopastback("linkadd")




Reply With Quote