3
I have the following code
public ActionResult Action1 {
TempData["msg"] = "Essa parte primeiro.\n Essa parte na linha de baixo.";
return RedirectToAction("Action2");
}
public ActionResult Action2 {
if (TempData["msg"] == null)
{
TempData["msg"] = "";
}
ViewBag.Message = TempData["msg"].ToString();
return View();
}
My View is got the following:
<label style="color:red">@ViewBag.Message</label>
/n
it hasn’t worked to jump the line, someone can help me?
you shine too man! Thank you so much again!
– Jedaias Rodrigues