I can't invoke an action method via href
In the sample appl. the ManageUser.aspx contains a list of user in a table. (p. 142). Every row contains a href link to the User/EditUser action, that picks up a memebership id parameter as querystring, and invokes the method with the parameter:
p. 143.
<td><a href="EditUser?id=<%= membershipUser.UserName %>"><img border="0" alt="Edit User" src="/content/images/EditSymbol.png" title="Modify User" align="middle"/></a></td>
I tried to implement this code snippet in my own appl., but while this link is working in the TheBeerHouse application, doesn't in mine.
In my application the link invokes EditUser method without the user id.
Does anybody can explain me, what is missed in my application, that preclude the parameter pick up?
The delete action method is working, that uses the same user id.
I use the same web.config file.
Thanks
Gabriel
|