Change the girdview search submit URL

By default when clicking the search submit button with a gridview, the url includes ‘vendors%2Fadmin%2Findex&TypesSearch[name]=example+name’. I need to replace ‘index’ with a different view. How can I do that?

I found the solution. Edit the search form and change the ActiveForm action to the desired view file.