Silas2
asked on
<a href missunderstanding
I've got an <a href which is a grid row, embedded in a form, the form action is "admin/customer/list" the anchor renders as
in fiddler, the postback url is 'admin/customer/edit/8323' , how is this possible?
<a href='Edit/8323' >Edit</a>
in fiddler, the postback url is 'admin/customer/edit/8323'
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Is "/admin/customer/list" a valid page that you can navigate to? The browser expects it to be, and so it removes the last entry before adding any relative path to the link.
If you want to end up at "/admin/customer/list/Edit /xxx", you should try adding the whole link to the form action, and use a <button type="submit"> ... </button> instead of the anchor.
If you want to end up at "/admin/customer/list/Edit
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER