PDA

Click to See Complete Forum and Search --> : Link To HomePage


chinhow
Feb 4th, 2004, 06:59 PM
Private Sub LinkButtonHome_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles lbtnHome.Click
Response.Redirect("Default.aspx")

End Sub


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

Thanks you :wave:

Fishcake
Feb 5th, 2004, 03:28 AM
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?