You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have several query string parameters in my Index controller such as filter, pageindex, sortExpression and groupName. The SortableHeaderFor used for sorting generates a link which contains only the sortExpression parameter, for example, the razor code @Html.SortableHeaderFor(model => model.ItemDesc) generates the url http://localhost:60755/InventoryManagement/Index?sortExpression=-ItemDesc
I want to include the groupName that contains a value that I need to retain during sorting and will be passed also as parameter together with the sortExpression in the query string which will result to, something like this:
Hi,
I have several query string parameters in my Index controller such as filter, pageindex, sortExpression and groupName. The SortableHeaderFor used for sorting generates a link which contains only the sortExpression parameter, for example, the razor code @Html.SortableHeaderFor(model => model.ItemDesc) generates the url http://localhost:60755/InventoryManagement/Index?sortExpression=-ItemDesc
I want to include the groupName that contains a value that I need to retain during sorting and will be passed also as parameter together with the sortExpression in the query string which will result to, something like this:
http://localhost:60755/InventoryManagement/Index?sortExpression=-ItemDesc&groupName=Supplies
Would it be possible?
Thank you for your guidance.
The text was updated successfully, but these errors were encountered: