The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
"fileManagerSettings" within "RichTextEditor" appears to be a cut down model - is there any way to add the "beforeSend" handler in the setup so I can add a new form field for an antiforgery token on the fileManager ajax requests?
BSBuvana Sathasivam Syncfusion Team May 10, 2022 07:34 AM UTC
Hi Joseph,
Greetings from Syncfusion support.
You should
be able to achieve your requirement by using the dialogOpen event.
In the below sample, we have bound the beforeSend file manager event when the dialogOpen event
is triggered. Please find the below code and sample for your reference.
Thanks - when i run your example i can see the beforeSend event being called - however it is not called on my app,
when i put a breakpoint in
Ajax.prototype.send (in ejs-base.js) ..
_this.beforeSend is still null
RKRevanth Krishnan Syncfusion Team May 11, 2022 02:23 PM UTC
Hi Joseph,
As you
mentioned by you we are able to catch the `beforeSend` event on the ajax
call from our end in the shared application, to further validate this issue can
you please share the following details,
The syncfusion package version you
have used in your application.
The code snippets of the rich
text editor with before send event bound.
If possible can you please make
a simple sample on your end with issue reproducing code?
The above
details will help to validate the issue and provide the solution at the
earliest.