title: Unable to display Partial View as JQuery Mobile dialog
body: <p>I put together a simple example:</p>
  
  <p>I have a list of thumbnails and I want to display a bigger image when an image from the list is selected:</p>
  
  <pre><code>@if (Model.GalleryIcon.Any())
  {
      foreach (var cell in Model.GalleryIcon)
      {  
          &lt;a href="/Logo/MobileImage?url=@cell.TargetImagePath" data-rel="dialog" data-transition="pop" &gt;&lt;img src="@cell.ThumbInvPath" /&gt;&lt;/a&gt;        
      }    
  }
  </code></pre>
  
  <p><code>/Logo/MobileImage?url=@cell.TargetImagePath</code> returns a partial view where @Model is a imagePath string:</p>
  
  <pre><code>@model string
  
  &lt;div id="logo-image-wrap"&gt;
        &lt;img src='@Model' id="logo-wrap-mobile-image"/&gt;
        &lt;br /&gt;
        &lt;a href="#" data-role="button" data-rel="back" data-icon="arrow-l"&gt;Back&lt;/a&gt;
   &lt;/div&gt;
  </code></pre>
  
  <p>This works is I set rel="external" on the  anchor and simply opens an image in new, separate page but it doesn't work as a Dialog box.
  When an thumbnail image is selected from the list a blank dialog box comes up with "Undefined"</p>
  
  <p>How can I mage my Partial view load with image details in a Dialog when a thumbnail is selected from the list?</p>
  
  <p>Thank you.</p>