Unable to open page from menu control

Last post 11-07-2009 12:53 AM by cnranasinghe. 3 replies.

Sort Posts:

  • Unable to open page from menu control

    11-03-2009, 5:38 PM
    • Member
      21 point Member
    • klorder
    • Member since 01-25-2009, 12:13 PM
    • Posts 41

    i am creating a menu control dynamically from data base the url which i store inside databse is like that

    usermanagment/Admin.aspx


    This is is url of page from where i click the menu for above page

    http://localhost:1960/Final%20Project/SAP/default.aspx

    It redirects me to this page

    The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

    Requested URL: /Final Project/SAP/usermanagment/Default.aspx


    Please let me know why not i am directed to this default page w

    Filed under: ,
  • Re: Unable to open page from menu control

    11-04-2009, 12:12 AM
    • Member
      313 point Member
    • cnranasinghe
    • Member since 10-26-2009, 8:41 PM
    • Sri Lanka
    • Posts 81

    Which page your menu control is placed? This where the navigation destination is look for. Need to know the folder hierachy.


  • Re: Unable to open page from menu control

    11-04-2009, 10:36 AM
    • Member
      21 point Member
    • klorder
    • Member since 01-25-2009, 12:13 PM
    • Posts 41

    cnranasinghe:

    Which page your menu control is placed? This where the navigation destination is look for. Need to know the folder hierachy.



    Default page->

    SAP(directory)->

    default.aspx

    login.aspx

    masterpage.master(contains menu control)

    usermanagment(directory)

    Admin.aspx

    createuser

    edit user



  • Re: Unable to open page from menu control

    11-07-2009, 12:53 AM
    Answer
    • Member
      313 point Member
    • cnranasinghe
    • Member since 10-26-2009, 8:41 PM
    • Sri Lanka
    • Posts 81

    One way to do this is to take  the master page (masterpage.master) of out the SAP directory and place it on root of the project. Then your menu will work fine.

Page 1 of 1 (4 items)