Results 1 to 2 of 2

Thread: Link To HomePage

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2002
    Location
    Malaysia
    Posts
    124

    Link To HomePage

    VB Code:
    1. Private Sub LinkButtonHome_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles lbtnHome.Click
    2.         Response.Redirect("Default.aspx")
    3.  
    4. End Sub

    Can anyone tell me what's wrong with the above coding? I can't link to my HOME Page.

    Thanks you

  2. #2
    Frenzied Member Fishcake's Avatar
    Join Date
    Feb 2001
    Location
    Derby, UK
    Posts
    1,092
    In what way doesn't it work?

    The only reason i can think of for that not working is that perhaps default.aspx isn't the name of your HOME page, or maybe it is not in the same directory as the page containing the button.

    Is the button that is being clicked called lbtnHome?

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