We are using window component (Telerik UI for ASP.Net Core) in our ASP.Net core project and the code is provided below
in View
win.center().open();
win.refresh({
url: "/DocumentProperties/Publish",
data: { documentID: id}
});
Controller function
public ViewResult Publish(Int32 documentID)
{
}
The code is working as expected while testing with visual studio in local machine. The contoller funciton is called and correct parameters are being passed. How ever when we publish the package and deploy to the Dev and QA Server( IIS 10) the conroller function is not getting called. while inspecting via developer toolbar we can see 404 not found. The issue is that an unwanted parameter gets added to the end of the call for example
the resulting call as part of the refresh method is
/DocumentProperties/Publish?documentID=7&_=1609286664558
while the acutal/expected call should be
/DocumentProperties/Publish?documentID=7
This parameter gets appended to all the other instances in the page (other functions) where refresh method is used
/Search/Details?id=7¶m2=a&_=1609286664557:1 Failed to load resource: the server responded with a status of 404 (Not Found)
We have tested in both our IIS servers (Dev/QA) and behavior is same. Please provide a fix for the same,