Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

clickable table row asp.net core

@foreach (var user in Model.Users)
{
    <tr onclick="location.href = '@(Url.Action("ShowProfile", "Users", new { userId = user.UserId }))'">
    //rest of your markup for that table row
    </tr>
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: asp c# page scroll position change after postback 
Csharp :: regular expression alphanumeric dash space c# 
Csharp :: c# listview filter contains 
Csharp :: moq set delay to return 
Csharp :: xamarin set environment variables 
Csharp :: how set format persian data picker to en 
Csharp :: monogame button 
Csharp :: speech 
Csharp :: top down view movement script 
Csharp :: unity apply bloom of a different color 
Csharp :: serialize xml as array C# 
Csharp :: unity datetime to string 
Csharp :: administration 
Csharp :: unity find all scriptable objects of a type 
Csharp :: sort array dotnet 
Csharp :: unity gui button width 
Csharp :: unity sprite disappears when using transform.lookat 
Csharp :: check if object has parent unity 
Csharp :: Response.Redirect cannot be called in a Page callback 
Csharp :: use c#9 
Csharp :: How to get selected item from Dropdown in GridView 
Csharp :: c# check that value is not null or 0 
Csharp :: c# read string 
Csharp :: how to convert int to string c# 
Csharp :: linq select 
Csharp :: how to make a cast in c# 
Csharp :: Transpose Matrix C# 
Csharp :: raycasting unity 
Csharp :: how to add a ddos api to a c# console app 
Csharp :: csharp attributes as generics constraints 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =