title: how to use jquery UI dialog
body: <p>I'm wondering everything I need to do have just a basic jquery dialog appear on the screen. Here is my code below. Any help why none of the UI properties are being rendered when executing the code below? All that happens currently is if a user clicks on "show dialog" then plain html text then appears, without any UI css or actual dialog box. I have included jquery UI scripts that I downloaded from <a href="http://jqueryui.com/download" rel="nofollow">http://jqueryui.com/download</a> but perhaps I didn't download and use the correct UI scripts? Thanks!</p>
  
  <p>Master page code:</p>
  
  <pre><code>&lt;%@ Master Language="C#" AutoEventWireup="true" CodeFile="Site.master.cs" Inherits="SiteMaster" %&gt;
  
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-    strict.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"&gt;
  &lt;head runat="server"&gt;
  &lt;title&gt;&lt;/title&gt;
  &lt;link href="~/Styles/Site.css" rel="stylesheet" type="text/css" /&gt;
  
  &lt;script type="text/javascript" src="Scripts/jquery-1.7.1.min.js"&gt;&lt;/script&gt;
  &lt;script src="Scripts/UI/css/ui-lightness/jquery-ui-1.8.17.custom.css"     type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="Scripts/UI/js/jquery-ui-1.8.17.custom.min.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;asp:ContentPlaceHolder ID="HeadContent" runat="server"&gt;
  &lt;/asp:ContentPlaceHolder&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;form runat="server"&gt;
  &lt;div class="page"&gt;
      &lt;div class="main"&gt;
          &lt;asp:ContentPlaceHolder ID="MainContent" runat="server"/&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Default Page:</p>
  
  <pre><code>&lt;%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
  CodeFile="Default.aspx.cs" Inherits="_Default" %&gt;
  
  &lt;asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"&gt; 
  &lt;script src="Scripts/textboxclone.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="Scripts/fadeOut.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="Scripts/flip.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="Scripts/dialog.js" type="text/javascript"&gt;&lt;/script&gt;
  
  &lt;/asp:Content&gt;
  &lt;asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent"&gt;     
  &lt;a id='showDialog' href="#"&gt;Show Dialog&lt;/a&gt;
  &lt;div id="dialog1" style="display:none;"&gt;
  &lt;div id="dialog" title="Basic dialog"&gt;
      &lt;p&gt;This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.&lt;/p&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/asp:Content&gt;
  </code></pre>