I am trying a simple concatenation in razor.I get all kinds of squiqly lines when I add this in my model RAZOR:\[code\]<input type="checkbox" id="[email protected]" onclick="$('#ck2-@(track.TrackID)').prop('checked', $(this).prop('checked'))" />\[/code\]However it outputs perfectly OUTPUT:\[code\]<input type="checkbox" id="ck1-500004524" onclick="$('#ck2-500004524').prop('checked', $(this).prop('checked'))">\[/code\]I am trying to get the exact html as in the output, but without all of the squigly.I understand this is most likely covered in other posts, but I am still trying to get the grasp on the way Razor concatenates strings, it seems to be different each time I need it.Thank you in advance,
-Edward
-Edward