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
I really loved your enlightening blog! It is refreshing to see such well-articulated opinions on the subject. If you're thinking about upgrading, check out Sell Used Laptop for amazing deals. Thank you for the excellent read!
Ensure that you pass the eventName parameter to the AddClientEvent method to make it work correctly. After making this modification, rebuild your project, and the issue should be resolved. rice purity test
eventName
AddClientEvent
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
Check for Updates or Patches: Ensure that you have the latest version of the Infragistics Web. Mvc assembly installed. It's possible that the issue you're experiencing getting over it has been resolved in a newer version or through a patch or update provided by Infragistics.
Hello Ben,
I have prepared small sample demonstrating igHtmlEditor with AddClientEvent. Client events are added by specifying the eventName and eventHandler as follows:
htmlEditor.AddClientEvent("rendered", "htmlEditorRendered");
Could you please specify the context, where ‘public HtmlEditorWrapper AddClientEvent’ method is called and modify the shared sample, in order to demonstrate the described behavior.
Alternatively, if the behavior cannot be replicated please feel free to provide your own sample. Remove any external dependencies and code that is not directly related to the issue, zip your application and attach it in this case.
Having a working sample on my side, which I can debug, is going to be very helpful in finding the root cause of this behavior.
Thank you for your cooperation.
Looking forward to hearing from you.
Regards, Monika Kirkova, Infragistics
igHtmlEditorAddClientEvent.zip