Table row as link in MVC
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
Dear All, In my Asp.net MVC website, im showing a list of users in a html table. Now how can i make each row clickable? Ofter clicking on a row i want to pass the id of that user to another view to show all deatils of the selected user. Thanks in advance.
-
Dear All, In my Asp.net MVC website, im showing a list of users in a html table. Now how can i make each row clickable? Ofter clicking on a row i want to pass the id of that user to another view to show all deatils of the selected user. Thanks in advance.
i am not sure i understood you, but if it was about posting back on row click use
row.Attributes.Add("onclick", GetPostBackEventReference(...));
Read this 100 :rose:
Help people,so poeple can help you.