I have an Edit page that has the base class as the data class, and it would show different editor form depending on which derived class the model is. However, after posting
[HttpPost]
public ActionResult Edit(BaseClassModel model)
the model here only holds values for the base class and cannot be cast back to the derived class.
How can this be solved?
thank you