[FONT="]Hi,[/FONT]
[FONT="][/FONT]
[FONT="]I am new to ASP.NET MVC. I would like to get some help on getting custom data from controller to view.[/FONT]
[FONT="][/FONT]
[FONT="]I have queried and concatenated the result of a table from model based on a criteria. I want this to be viewed as a partial view in the Index page. For this, I pass the queried result as follows[/FONT]
[FONT="]
[/FONT]
[FONT="][/FONT]
[FONT="]The purpose is to display a listview of these items in the Index view as partial. I don't know how to grab this data from the partial view. Please help.[/FONT]
[FONT="][/FONT]
[FONT="]Thanks[/FONT]
[FONT="][/FONT]
[FONT="]I am new to ASP.NET MVC. I would like to get some help on getting custom data from controller to view.[/FONT]
[FONT="][/FONT]
[FONT="]I have queried and concatenated the result of a table from model based on a criteria. I want this to be viewed as a partial view in the Index page. For this, I pass the queried result as follows[/FONT]
[FONT="]
C#:
return PartialView(rds.ToList())
[FONT="][/FONT]
[FONT="]The purpose is to display a listview of these items in the Index view as partial. I don't know how to grab this data from the partial view. Please help.[/FONT]
[FONT="][/FONT]
[FONT="]Thanks[/FONT]