ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Open FancyBox on Page Load using jQuery fancybox plugin in ASP.Net<p>Hi&nbsp;<a class="username" rel="Rancho079">Rancho079,</a></p> <p>Check the below sample and modify as per your requirement.</p> <div class="demo_block"> <pre class="brush: html">&lt;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&gt; &lt;head runat=&#34;server&#34;&gt; &lt;title&gt;&lt;/title&gt; &lt;script type=&#34;text/javascript&#34; src=&#34;https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js&#34;&gt;&lt;/script&gt; &lt;link href=&#34;https://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/jquery.fancybox.css&#34; rel=&#34;stylesheet&#34; /&gt; &lt;script src=&#34;https://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/jquery.fancybox.pack.js&#34; type=&#34;text/javascript&#34;&gt;&lt;/script&gt; &lt;script&gt; $(document).ready(function () { $.fancybox.open(&#39;#dvLogin&#39;); }); &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;form id=&#34;form1&#34; runat=&#34;server&#34;&gt; &lt;div id=&#34;dvLogin&#34;&gt; &lt;table&gt; &lt;tr&gt; &lt;td&gt;User Id:&lt;/td&gt; &lt;td&gt; &lt;input type=&#34;text&#34; id=&#34;txtUserId&#34; /&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;Password:&lt;/td&gt; &lt;td&gt; &lt;input type=&#34;password&#34; id=&#34;txtPassword&#34; /&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td colspan=&#34;2&#34; align=&#34;center&#34;&gt; &lt;input type=&#34;button&#34; value=&#34;login&#34; /&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/div&gt; &lt;/form&gt; &lt;/body&gt; &lt;/html&gt;</pre> </div> <p><a class="demo button orange btn btn-red">Demo</a></p>https://www.aspforums.net:443/Threads/121921/Open-FancyBox-on-Page-Load-using-jQuery-fancybox-plugin-in-ASPNet/https://www.aspforums.net:443/Threads/121921/Open-FancyBox-on-Page-Load-using-jQuery-fancybox-plugin-in-ASPNet/Mon, 10 Sep 2018 04:30:20 GMT