2

I have created a partial view "_Test1" in mvc 4.0.

enter image description here

With the help of a controller I am calling my partial view.

private ActionResult MyView()
{
    return PartialView("_Test1");
}

When I debug I don't get any error, I assume that my partial view has been loaded successfully through controller. Now with the help of this partial view, I have to call a javascript. Which gives me an error "Unexpected character '$'". Please refer he screenshot below :-

enter image description here

Can someone help ?

user3106445
  • 341
  • 1
  • 4
  • 13

0 Answers0