Quantcast
Channel: Using Optimizely Platforms
Viewing all articles
Browse latest Browse all 8020

POST from CMS Admin MVC page

$
0
0

Hi Fellows,

I'm implementing a CMS admin page using the ASP.NET MVC 5 for the UI (with EPiServer CMS 11.19). I'm able to include the related CSS and JS in order to use the CMS admin look & feel. My problem is that it seems I'm unable to issue a POST request: on the view, there is a form with an input filed of type "file" and a submit button (input of type "submit"). Clicking the submit button does GET-request to the controller and not the expected POST-request. Thus I'm unable to post the form with the file-field. Regardles of the input control, that should issue the POST-request (anchor; normal button with JS for the onclick event, where the form' submit gets called;), the controller receives a GET-request insted of the POST-one.

How can I issue POST-request with the form?

Many thanks for your attention.


Viewing all articles
Browse latest Browse all 8020

Trending Articles