Best approach to swapping multiple views on a single page?
Hello,
I have a products.cshtml page and it has a kind of wizard feel to it, for example, the user starts out searching for products or they can view all products and not search. The first thing they see when going to /products, is a search screen, followed by a list of products, and then if they click on a product, they will see a single product page. The question I have is that is it better to swap views on the same page or have different csthml pages for each step. I tried to do some angular routing, but couldn't get it to work. Not sure what approach to take here.
Can you show an example of the code that you're currently dealing with in your view? Just so we can get an idea about what you're doing and where you might want to do things differently.
Best approach to swapping multiple views on a single page?
Hello,
I have a products.cshtml page and it has a kind of wizard feel to it, for example, the user starts out searching for products or they can view all products and not search. The first thing they see when going to /products, is a search screen, followed by a list of products, and then if they click on a product, they will see a single product page. The question I have is that is it better to swap views on the same page or have different csthml pages for each step. I tried to do some angular routing, but couldn't get it to work. Not sure what approach to take here.
Thanks
Hi Saied
Can you show an example of the code that you're currently dealing with in your view? Just so we can get an idea about what you're doing and where you might want to do things differently.
Cheers, Jan
is working on a reply...