I have a navigation links(Page1, PAge2, etc) in Master page. when user mouseover on the asp links(Page1, page2) in the navigation bar, a popup menu(ex: Add, Edit, Delete) is shown. when the user selects the menu item(ex: Add) clicked, the following javascript is executed.
window.location.pathname = Page1/Admin/xyz.aspx?action=add"
http:
page is opened. and the address bar having the above mentioned path
when I again do the mouseover on the page1 , the popup menu is shown, then if I clicked "Edit" in popup menu
the same page should be opened but the action = edit i.e the following java script is executed.
window.location.pathname = Page1/Admin/xyz.aspx?action=edit"
but the page address bar is showing in the following way
window.location.pathname = Page1/Admin/xyz.aspx?action=add?action=add"
is shown.
in serverside
Request["action"]
value is shown as "add?action=Edit"
why the data passed along with the links is continuing for other address also, even if the page is not the same?
am i doing any mistake here? please help me...