Please look at the StackOverflow page I've created for this question:
Here is the unformatted version:
On code cleanup, this:
<a onclick='DisplayScheduleNowPopup(@Model.Contract.ContractId, false)'>Schedule Now</a>
<a onclick=' DisplayScheduleNowPopup(@Model.Contract.ContractId, false) '>Schedule Now</a>
The spaces are added and it is causing problems. I'm using MVC Razr.
Also, on C# I would like Chop on Object Initilizer, so I have it set to chop always and it works fine. However, it turns out ridicoulous on MVC razr. For example: Wrap object and collection Initializer (Chop always):
@using (Ajax.BeginForm("UpdateReservation", "Reservations", new
temp = false
}, new AjaxOptions
OnSuccess = "ReservationUpdateSucceeded",
OnFailure = "ReservationUpdateFailed",
LoadingElementId = "loadingDiv"
id = "reservationScreenForm",
@class = "custom form"
Anyway to have Resharper either: ignore "Chop always" on Views.cshtml, or select "Simple Wrap" for views, while remaining "Chop Always" for C#.
Any ideas on how to solve these problems?