VS 2013 Refering to a website in asp.net vb code behind-VBForums
Results 1 to 4 of 4

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

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2010
    Location
    Netherlands
    Posts
    14

    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
    March 2015 Winner kfcSmitty's Avatar
    Join Date
    May 2005
    Location
    Kingston, Ontario
    Posts
    2,124

    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
    New Member
    Join Date
    Mar 2010
    Location
    Netherlands
    Posts
    14

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

    Thank you, that worked.

  4. #4
    March 2015 Winner kfcSmitty's Avatar
    Join Date
    May 2005
    Location
    Kingston, Ontario
    Posts
    2,124

    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
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.