I am using wizard in my page and server side validation using razor view. output page Index.cshtml
For validation in #step-3/#step-2 wizard i want my page goes to id->step-3 but it goes to #step-1 or at the start of wizard page
I have to return the id of html page in returning views of controller.controller.cshtml
You can try to use
Tempdata and js
,here is a demo:action:
View:
result: