title: Getting "Too many characters in character literal" error?
body: <p>I have following code in my javascript method. </p>
  
  <pre><code>    $("#a").click (function() {
      //bla bla....
                      success: function (data) {
                         var intType = 1;
                         var strURL = '&lt;%= Url.Action("actionName", "controller") %&gt;' + '/' + intType;
                         $.getJSON(strURL, null, function (rpt) {
  
                             var fName = rpt.name;
                             var guidID = rpt.ID;
                             //alert("I am here after JSON callback. this is my filename " + guidRptFileID);
                              $('#Rptfile').append('&lt;div id="form_files_1" style="cursor: default;"&gt;&lt;span style="float: left; color: #a90000;"&gt; ' + fileName + '&lt;/span&gt;&lt;span&gt;&lt;%: Html.ActionLink("Remove", "RemoveAccessData", "ReportGenerator", new {id = ' + guidID + '  }, new { @style = "float:right;color:#a90000; text-decoration: none; cursor:pointer;", @class = "button-delete" })%&gt;&lt;/span&gt;&lt;/div&gt;');
  
                         });
  
                     },
                     error: function (data, status, e) {
                         alert(e);
                     }
  
                 });
                 return false;
             });
  
     &lt;/script&gt; 
  </code></pre>
  
  <p><code>$('#Rptfile')</code> --> this is my div tag and it works as it is. But my html.actionlink is like this.</p>
  
  <pre><code>   &lt;%: Html.ActionLink("Link", "actionName", "controller", new { id = Modal.ID }, new { @style = "float:right;color:#a90000; text-decoration: none; cursor:pointer;", @class = "button-delete" })%&gt;. 
  </code></pre>
  
  <p>If I append this I get error <strong>Compiler Error Message: CS1012: Too many characters in character literal</strong></p>