Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. redirect to other website on click of menu item

redirect to other website on click of menu item

Scheduled Pinned Locked Moved ASP.NET
comtutorial
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    BalasubramanianK
    wrote on last edited by
    #1

    I m using Menu Control. there are two cases when user clicks on any menu item. 1. it redirect to the pages in same domain. 2. It redirect to other website. case 1 is working fine but in case 2 its opening the url in same domain. (under project name). for example, if project name is MyProject. In second case, when I click the menu item, I should redirect to "www.website1.com". But instead of this, I'm getting MyProject/www.website1.com. Tnx in adv.

    Balasubramanian K.

    A H 2 Replies Last reply
    0
    • B BalasubramanianK

      I m using Menu Control. there are two cases when user clicks on any menu item. 1. it redirect to the pages in same domain. 2. It redirect to other website. case 1 is working fine but in case 2 its opening the url in same domain. (under project name). for example, if project name is MyProject. In second case, when I click the menu item, I should redirect to "www.website1.com". But instead of this, I'm getting MyProject/www.website1.com. Tnx in adv.

      Balasubramanian K.

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      BalasubramanianK wrote:

      In second case, when I click the menu item, I should redirect to "www.website1.com". But instead of this, I'm getting MyProject/www.website1.com.

      where is that section ? please put that.

      cheers, Abhijit CodeProject MVP

      B 1 Reply Last reply
      0
      • B BalasubramanianK

        I m using Menu Control. there are two cases when user clicks on any menu item. 1. it redirect to the pages in same domain. 2. It redirect to other website. case 1 is working fine but in case 2 its opening the url in same domain. (under project name). for example, if project name is MyProject. In second case, when I click the menu item, I should redirect to "www.website1.com". But instead of this, I'm getting MyProject/www.website1.com. Tnx in adv.

        Balasubramanian K.

        H Offline
        H Offline
        Herman T Instance
        wrote on last edited by
        #3

        you might add http:// before your www......

        In Word you can only store 2 bytes. That is why I use Writer.

        B 1 Reply Last reply
        0
        • H Herman T Instance

          you might add http:// before your www......

          In Word you can only store 2 bytes. That is why I use Writer.

          B Offline
          B Offline
          BalasubramanianK
          wrote on last edited by
          #4

          Yah.. It is working now. Thank you very much.

          Balasubramanian K.

          1 Reply Last reply
          0
          • A Abhijit Jana

            BalasubramanianK wrote:

            In second case, when I click the menu item, I should redirect to "www.website1.com". But instead of this, I'm getting MyProject/www.website1.com.

            where is that section ? please put that.

            cheers, Abhijit CodeProject MVP

            B Offline
            B Offline
            BalasubramanianK
            wrote on last edited by
            #5

            Thanks Abhijit. digimanus reply helped me. Thank you

            Balasubramanian K.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups