This question is locked. New answers and comments are not allowed.
Hello,
We have a grid looking more or less like:
We have a javascript methodf, that sets the url for the ajax call, we would also like to pass in a parameter that should be sent via POST.
This works just for GET, but we cannot get it work for POST. Is it possible to pass an extra argument via POST?
We have a grid looking more or less like:
.ClientEvents(x => { x.OnDataBinding("CommunityHelpdeskThreadGrid_ApplyDataBinding"); x.OnRowSelect("CommunityHelpdeskThreadGrid_OnRowSelect"); }) .DataBinding(dataBinding => dataBinding.Ajax().Select(new RouteValueDictionary { { "eventName", Model.Event.EventShortName }, { "Action", "_GetThreadsForSearch" }, { "Controller", "Ajax" }, { "Area", "Community" },We have a javascript methodf, that sets the url for the ajax call, we would also like to pass in a parameter that should be sent via POST.
threadGrid.ajax.selectUrl = '/' + window.communityHelpdesk_EventShortname + '/Community/Helpdesk/_GetThreadsForSearch/' + searchTerm; threadGrid.rebind({ parameter2: filtersString });This works just for GET, but we cannot get it work for POST. Is it possible to pass an extra argument via POST?