A route named 'PublisherSubscriptionPaymentInfo' could not be found in the route collection.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 anni tempo fa
hi

I have modified this line

@using (Html.BeginRouteForm("PublisherSubscriptionPaymentInfo", FormMethod.Post))
        {
}

Here PublisherSubscriptionPaymentInfo is the controller name


i'm getting this error :  "A route named 'PublisherSubscriptionPaymentInfo' could not be found in the route collection."
12 anni tempo fa
You specified route name (not the controller name). If you want to specify controller and an appropriate action method, then use Html.BeginForm (not Html.BeginRouteForm)
12 anni tempo fa
Could you Please explain

What is difference between "Html.BeginForm" and  "Html.BeginRouteForm" with example... Where we used these two?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.