Results 1 to 4 of 4

Thread: html and asp.net

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2007
    Posts
    308

    html and asp.net

    Hey guys I am trying to use a html anchor tag with asp.net
    here is the code

    Code:
    Protected Sub linkadd_ServerClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles linkadd.ServerClick
            Session("adduser") = "true"
            MsgBox(Session("adduser"))
    End Sub
    Here is my html

    <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")
    Last edited by tarik666; May 11th, 2008 at 02:52 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width