Results 1 to 4 of 4

Thread: Refering to a website in asp.net vb code behind

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2010
    Location
    Netherlands
    Posts
    20

    Refering to a website in asp.net vb code behind

    How?
    Protected Sub Menu1_MenuItemClick(sender As Object, e As MenuEventArgs) Handles Menu1.MenuItemClick
    If e.Item.Text = "TheItem" Then
    <here the http://www link >
    End If
    End Sub

  2. #2
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    Re: Refering to a website in asp.net vb code behind

    Are you asking how to redirect a user? You should be able to do a Response.Redirect within the MenuItemClick event to redirect the user to any page you wish.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Mar 2010
    Location
    Netherlands
    Posts
    20

    Re: Refering to a website in asp.net vb code behind

    Thank you, that worked.

  4. #4
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    Re: Refering to a website in asp.net vb code behind

    Glad to be of help. If the issue has been satisfactorily resolved, please go Thread Tools -> Mark as Resolved to let other users know that the issue has been solved.

    Thanks!

Tags for this Thread

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