Queried result to ListBox in PartialView
-
Hi, I am new to ASP.NET MVC. I would like to get some help on getting custom data from controller to view. 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
return PartialView(rds.ToList())
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. Thanks
-
Hi, I am new to ASP.NET MVC. I would like to get some help on getting custom data from controller to view. 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
return PartialView(rds.ToList())
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. Thanks
-
You might get better results if you post this in the ASP.NET Discussion Boards[^] - if you do post it there then don't forget to delete this version
He's already done that, and got an answer! :doh: Queried result from cotroller to PartialView into Listbox - ASP.NET Discussion Boards[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
Hi, I am new to ASP.NET MVC. I would like to get some help on getting custom data from controller to view. 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
return PartialView(rds.ToList())
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. Thanks
You have already posted this question, and received an answer: Queried result from cotroller to PartialView into Listbox - ASP.NET Discussion Boards[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer