Xulfee
Xulfee

Reputation: 986

post form data to controller without page refresh

can any one guide me. Post form data to controller without page refresh in asp.net mvc application using Jquery ajax.

Upvotes: 2

Views: 3416

Answers (2)

user4041263
user4041263

Reputation:

Replace "IActionResualt" with "void"

  public void Create(...)

Upvotes: 0

D'Arcy Rittich
D'Arcy Rittich

Reputation: 171371

There are some examples here. What part are you having difficulty with? You really have to go out of your way to make the page refresh when using AJAX.

Upvotes: 6

Related Questions