Do you have more examples for setting up the In-place Editor in Blazor?

Hello,
Do you have more examples on how to set up the In-place Editor control in Blazor?
I have seen your documentation, and honestly, it's as clear as muddy water. For one thing, the example uses multi-select, which I'm not using. 
Plus it says things like, "Find the following sample server codes for defining models and controller functions to configure processing data." I have no idea what that means or what I'm supposed to do. 

Also, is there an event that is triggered when the user clicks on Save? This would be great because then I could use my repository to send a Patch request to the server to update it there. As it is, I'm restricted to using the URL adapter and sending a Post request. But in production, I will need to include a JWT token with every request. I don't know how that will work through this control. Or am I missing something? 

Thanks.

4 Replies 1 reply marked as answer

SD Suwathi Dhakshanamoorthy Syncfusion Team August 31, 2020 01:00 PM UTC

Hi David, 
  
  
Greetings from Syncfusion support.  
  
  
We are currently validating your query with high priority, we will update you with further details within two business days on or before 2nd September.  
  
We appreciate your patience till then.  
  
Regards,  
Suwathi.  
 



IS Indrajith Srinivasan Syncfusion Team September 3, 2020 11:59 AM UTC

Hi David,

Good day to you,
 
 
We have validated your reported queries, 
 
Query 1: “Do you have more examples on how to set up the In-place Editor control in Blazor?” 
 
We suggest you to refer the following samples and documentations for setting the In-place editor component in Blazor. 
 
 
Guidelines for adding the In-place editor in Blazor: https://blazor.syncfusion.com/documentation/in-place-editor/getting-started/ 
 
Query 2: “For one thing, the example uses multi-select, which I'm not using. As it is, I'm restricted to using the URL adapter and sending a Post request. But in production, I will need to include a JWT token with every request. I don't know how that will work through this control. Or am I missing something?  
 
Since you are not using the Multi-select type of In-place editor. Can you please share the type of component in which you want to achieve your desired behavior ?. So that we can validate and provide you a solution at earliest. 
 
Query 3: “Also, is there an event that is triggered when the user clicks on Save?” 
 
Yes, we have the following events in the In-place editor  
 
  • OnActionSuccess - Which triggers if the data is submitted successfully to the server.
  • OnActionBegin  - Which triggers before the data is submitted to the server.
 
Regards, 
Indrajith 


Marked as answer

DE David Evans September 3, 2020 12:51 PM UTC

Okay. I see how I can use the OnActionSuccess event handler.
Basically update an in-memory data store and in OnActionSuccess call my API. That should work fine.
Thanks.


IS Indrajith Srinivasan Syncfusion Team September 4, 2020 11:33 AM UTC

Hi David,

 
Thanks for the update, 

Please get back to us if you need any further assistance,
 
 
Regards, 
Indrajith 


Loader.
Up arrow icon