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
When partial views are being used in a page, that's url is transformed by lowercase-dashed-route, it throw error as following,
The partial view '_bankRateForm' was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/r-o-i/_bankRateForm.aspx
~/Views/r-o-i/_bankRateForm.ascx
~/Views/Shared/_bankRateForm.aspx
~/Views/Shared/_bankRateForm.ascx
~/Views/r-o-i/_bankRateForm.cshtml
~/Views/r-o-i/_bankRateForm.vbhtml
~/Views/Shared/_bankRateForm.cshtml
~/Views/Shared/_bankRateForm.vbhtml
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: The partial view '_bankRateForm' was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/r-o-i/_bankRateForm.aspx
~/Views/r-o-i/_bankRateForm.ascx
~/Views/Shared/_bankRateForm.aspx
~/Views/Shared/_bankRateForm.ascx
~/Views/r-o-i/_bankRateForm.cshtml
~/Views/r-o-i/_bankRateForm.vbhtml
~/Views/Shared/_bankRateForm.cshtml
~/Views/Shared/_bankRateForm.vbhtml
Source Error:
Line 11: @Html.AntiForgeryToken()
Line 12:
Line 13: @Html.Partial("_bankRateForm", Model)
Line 14: }
The text was updated successfully, but these errors were encountered:
When partial views are being used in a page, that's url is transformed by lowercase-dashed-route, it throw error as following,
The text was updated successfully, but these errors were encountered: