title: ResolveUrl with variable getting "Too many characters in character literal" error
body: <p>All the examples I've seen for using ResolveUrl have a literal path in them like shown here:</p>
  
  <pre><code>window.location='&lt;%= ResolveUrl("~/Account/Login.aspx") %&gt;'
  </code></pre>
  
  <p>However, I have parsed the URL I wish to redirect to from the menu context of an Infragistics WebDataMenu and I'm trying to pas that variable into the ResolveUrl. The function I'm using is here:</p>
  
  <pre><code>    function menuMain_ItemSelected(sender, e) {
          var menuContext = e._context.adr;
          var intPartOfMenuContext = parseInt(menuContext);
          if (menuContext !== intPartOfMenuContext.toString()) {
              var selectedURL = e._props[2]._element.childNodes[0].href;
              window.location = '&lt;%= ResolveUrl(' + selectedURL + ') %&gt;';
          } 
      }
  </code></pre>
  
  <p>The problem is that I'm getting a "Too many characters in character literal" error on the ResolveUrl line.</p>
  
  <p>An Example of what selectedURL has is here:</p>
  
  <pre><code>"http://localhost:52168/ITRequest/Person.aspx?MenuTitle=Users"
  </code></pre>
  
  <p>FYI: Ultimately, what I'm trying to do is make the WebDataMenu work such that users click on it to open the menu and then click again to select and redirect to the selected page. Apparently however, if ActivateOnHover="False" (which I need to have) the control only responds to arrowing down and pressing Enter once the menu is opened. So, if I'm missing something more obvious, I'm all ears.</p>
  
  <p>Thanks,
  Dan</p>