A
A
artshelom2019-01-03 00:02:38
ASP.NET
artshelom, 2019-01-03 00:02:38

How to update the data on the site??

I do it like on the site , but for some reason the update place on the site just goes to another page. What's wrong:

@using (Ajax.BeginForm("ChangeTraining", new AjaxOptions { UpdateTargetId = "asdasda" }))

<div id="asdasda">

    </div>

[HttpPost]
    public ActionResult ChangeTraining()
    {
      return PartialView();
    }

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
artshelom, 2019-01-03
@artshelom

Here is the answer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question