Looking to incorporate a Star Rating system using a PartialView named:
@{ Html.RenderAction("Rate"); }
The goal is to display and manage the star rating code separately from the current page, eliminating the need for the parent .cshtml's CSS and other JavaScript.
To remove the layout, I'm using the following code:
@{ Layout = null; }
In the controller:
public ActionResult Rate() {
return PartialView(); }
However, I've observed that the parent's CSS and JavaScript are interfering with the star rating functionality. How can I protect the partial view from these influences?