I read alot about using AJAX & JSON to dynamically change that but I failed to do it too :'(Īnyone can help in that and provide me with the technique & code of how I can implement it? I also want to change the content of the sub view based on the selections from the master view. The view of Details page of Order Class can be like this: What I want to do (& failed) is to create a sub view below the Details view of the order that is having all the order details for that order. I displayed all the orders from Orders table into a List view. Once I click on one of the orders it takes me to the Details view of that order. I created two controls (1st for Orders, 2nd for OrderDetails). (Hence: the tables has a relation, i.e., an order can have multiple order details) I'm trying to demonstrate how Master-Details view work on 'Orders' & 'Order Details' tables from Northwind database. I'm new to MVC and I'm involved in a project that is developed with ASP.NET MVC 1.0.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |