title: How to attribute an ID to a Telerik MVC Window when creating in in JavaScript
body: <p>I am using the Telerik MVC controls (which at first glance are impressive) to build an MVC3 Razor application, and have a question about the <strong>Window</strong> control.  I am trying to assign an ID to the <strong>Window</strong> when I create it from JavaScript so that I may reference it at any time using JQuery ... $('WindowID') ... but can't seem to be able to do so.  </p>
  
  <p>In short, here is my window:</p>
  
  <pre><code>var windowElement = $.telerik.window.create({
          title: "Window opened from JS",
          html: "&lt;strong&gt;Inserting an image...&lt;/strong&gt;",
          contentUrl: '',
          modal: false,
          resizable: false,
          draggable: true,
          scrollable: false,
          width: 150,
          onClose: function () { }
      })
  </code></pre>
  
  <p>I would like to later, from some other random button or event, be able to move, resize, or close the Window by using it's ID.  The problem is, I haven't been able to assign the <strong>Window</strong> any ID when creating it in JavaScript.</p>
  
  <p>Note:
  When I create the <strong>Window</strong> in the Razor view, I can assign a "Name" to the <strong>Window</strong> which DOES allow me to do exactly what I want to.  However, I need to be able to create the <strong>Window</strong> in JavaScript.  I guess I could create a bunch of <strong>Windows</strong> in Razor, then Hide/Show them as needed, but I would like that to be a last resort.</p>