[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: ControllerWrapper changing the request HTTP verb when invoking HandleUnknownAction

  • Thread starter Thread starter jread
  • Start date Start date
Status
Not open for further replies.
J

jread

Guest
How are your custom widgets created? Are they WebForms or MVC? If MVC in the controller you should handle unknown routes per controller. protected override void HandleUnknownAction(string actionName) { this.ActionInvoker.InvokeAction(this.ControllerContext, "Index"); } Also if the widgets are MVC and your are using the @Html.BeginForm() you should be using @Html.BeginFormSitefinity() instead. @using Telerik.Sitefinity.Frontend @using Telerik.Sitefinity.Frontend.Mvc.Helpers @using Telerik.Sitefinity.Frontend.Mvc.StringResources @using Telerik.Sitefinity.UI.MVC; @using (Html.BeginFormSitefinity("Change", "TemplateCategoryChanger", FormMethod.Post, new { role = "form", })) { @*FORM STUFF*@}

Continue reading...
 
Status
Not open for further replies.
Back
Top