We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Send extra parameters on CRUD

Thread ID:

Created:

Updated:

Platform:

Replies:

148942 Nov 8,2019 10:19 AM UTC Jan 10,2020 09:44 AM UTC Blazor 2
loading
Tags: Grid
Dimitrios Tsarouchis
Asked On November 8, 2019 10:19 AM UTC

Hello,

How can I send extra parameters on Post/Put/Delete?

The following code works fine on Get:
<EjsGrid  Query=@QueryString ....
>
                        <EjsDataManager Offline="true"  Url="@url" Adaptor="Adaptors.WebApiAdaptor"></EjsDataManager>
.....

@code {
     public string QueryString { get; set; } = "";

protected override void OnInitialized(){
QueryString  =  $"new ej.data.Query().addParams('tableid', {id})";
}


 I need to send the "tableid" parameter on CRUD as well


Thank you,

Bill

Vignesh Natarajan [Syncfusion]
Replied On November 11, 2019 11:35 AM UTC

Hi Bill,  

Greetings from Syncfusion support.  

Query: “How can I send extra parameters on Post/Put/Delete? 

We have validated your query and currently we do not have support to send additional parameters to server using querystring during the CRUD operation. So we have considered your requirement as an improvement. At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. We have planned this feature for our Bi-Weekly Nuget release which is expected to be rolled out on or before 3rd December 2019. We will let you know once this improvement is implemented. 
 
You can track the current status of this feature request and also communicate with us regarding the open features any time using our Feature Report page. 


Till then we suggest you to achieve your requirement by sending the custom headers to WebAPI. Refer our UG document for your reference 


If you are facing any issue while applying above workaround(custom headers), kindly get back to us with more details.  

Regards, 
Vignesh Natarajan. 


Vignesh Natarajan [Syncfusion]
Replied On January 10, 2020 09:44 AM UTC

Hi Bill,  
 
We are glad to inform that our latest Nuget package (17.4.0.42) has been successfully rolled out. In this release we have resolved the issue “Send Additional Parameters values to server while sending CRUD operation request”. Please find the latest Nuget package from below and also find the release notes regarding the fixes we have included in this release.  
 
 
 
Also ensure that you have referred the latest version script and css as below  
 
  <link rel='nofollow' href="https://cdn.syncfusion.com/ej2/17.4.42/fabric.css" rel="stylesheet" /> 
 
 
Please get back to us if you have further queries. 
 
Regards, 
Vignesh Natarajan. 
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon