Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
335
MVC helper HtmlEditorWrapper AddClientEvent is broken
posted

From decompilation by Visual Studio:


public HtmlEditorWrapper AddClientEvent(string eventName, string eventHandler)
{
  base.Model.AddClientEvent(eventHandler, eventHandler);
  return this;
}

eventName is not passed

Assembly Infragistics.Web.Mvc, Version=5.21.1.7

Parents
No Data
Reply
  • 0
    Offline posted

    IIn the code snippet you shared, the `eventName` parameter is not being used within the method body.The method seems to be invoking the `AddClientEvent` method of the base class's model, passing `eventHandler` twice as arguments. The return type of the method is `HtmlEditorWrapper`, and it returns an instance of `HtmlEditorWrapper`, possibly for method chaining or further operations. Run 3

Children