Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I have a mvc project about e commerce. Now I am using a filter for order to product on razor page. For example when page is first load I want to create my action link first querystrings. Then click link change new values.

for example first load my links,

<a href="~/CategoryName?newproduct=610">New Products</a>
<a href="~/CategoryName?sex=610">Women</a>
<a href="~/CategoryName?sex=611">Men</a>
<a href="~/CategoryName?sex=612">Unisex</a>
..........

Other links must be change then I clicked a link for example click to New Products,

<a href="~/CategoryName?newproduct=610">New Products</a>
<a href="~/CategoryName?newproduct=610&sex=610">Women</a>
<a href="~/CategoryName?newproduct=610&sex=611">Men</a>
<a href="~/CategoryName?newproduct=610&sex=612">Unisex</a>
...................

I am sending a model on razor page. Now How can create a model and controller for querystring array? And What should I use jquery or......? I cant find a sample about this problem. Thanks for replies.

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.