Open new form in Jquery Light box ASP.nethttp://forums.asp.net/t/1761192.aspx/1?Open+new+form+in+Jquery+Light+box+ASP+netMon, 06 Feb 2012 08:09:25 -050017611924794563http://forums.asp.net/p/1761192/4794563.aspx/1?Open+new+form+in+Jquery+Light+box+ASP+netOpen new form in Jquery Light box ASP.net <p>Hi All,</p> <p>I am new one for jquery , i have tow content pages</p> <p>1) on this page i have placed a grid showing all products</p> <p>2) on this page i have written logic for insert / add product and i placed all input fields</p> <p>Both pages working fine,</p> <p>my problem is that i want to open second page in Lighbox on the first page button click ?</p> <p>Is it possible to open content page inside the lightbox? and one thing more i dont want did such type of logic like place a div on page one and its visibility is false but user clicks on button to open lightbox then i open such .........</p> <p>&nbsp;</p> 2012-01-21T08:57:05-05:004794773http://forums.asp.net/p/1761192/4794773.aspx/1?Re+Open+new+form+in+Jquery+Light+box+ASP+netRe: Open new form in Jquery Light box ASP.net <p>Easy solution is to stick an iframe into the lightbox with the page.</p> <p>Eric</p> 2012-01-21T12:40:20-05:004794822http://forums.asp.net/p/1761192/4794822.aspx/1?Re+Open+new+form+in+Jquery+Light+box+ASP+netRe: Open new form in Jquery Light box ASP.net <p>Hi,</p> <p>You can do this using fancybox very easily. Check the post below-</p> <p><a href="../../../../p/1758046/4776901.aspx/1?Re&#43;light&#43;box&#43;javascript">http://forums.asp.net/p/1758046/4776901.aspx/1?Re&#43;light&#43;box&#43;javascript</a></p> <p>In the post the popup is done using an inline div. You can use iFrame for this purpose.</p> <p>You can find the detail of fancybox in the following link. Check the use of iframe there-</p> <p><a href="http://fancybox.net/#various5">http://fancybox.net/#various5</a></p> 2012-01-21T14:21:01-05:004795522http://forums.asp.net/p/1761192/4795522.aspx/1?Re+Open+new+form+in+Jquery+Light+box+ASP+netRe: Open new form in Jquery Light box ASP.net <p>thanks for reply can you please send me a sample code where i get an idea</p> 2012-01-22T15:58:49-05:004795946http://forums.asp.net/p/1761192/4795946.aspx/1?Re+Open+new+form+in+Jquery+Light+box+ASP+netRe: Open new form in Jquery Light box ASP.net <p>Hi,</p> <p>Its really simple. I have given you the code. But still check this-</p> <pre class="prettyprint">&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt; &lt;head&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://fancybox.net/js/fancybox-1.3.4/jquery.fancybox-1.3.4.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt; &lt;link href=&quot;http://fancybox.net/js/fancybox-1.3.4/jquery.fancybox-1.3.4.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt; &lt;script type=&quot;text/javascript&quot;&gt; jQuery(document).ready(function() { jQuery(&quot;a.inline1&quot;).fancybox({ 'transitionIn': 'elastic', 'transitionOut': 'none', 'type': 'iframe' }); }); &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;a href=&quot;html.html&quot; class=&quot;inline1&quot; &gt;click here&lt;/a&gt; &lt;/body&gt; &lt;/html&gt;</pre> 2012-01-23T04:48:57-05:004807730http://forums.asp.net/p/1761192/4807730.aspx/1?Re+Open+new+form+in+Jquery+Light+box+ASP+netRe: Open new form in Jquery Light box ASP.net <p>thanks it works </p> <p>but how can i hide this light box or close,</p> <p>i have some input fields on&nbsp;Test.aspx page when record is successfully stored in database than light box is closed how can i close it and i did not works on firefox</p> 2012-01-31T04:31:14-05:004807931http://forums.asp.net/p/1761192/4807931.aspx/1?Re+Open+new+form+in+Jquery+Light+box+ASP+netRe: Open new form in Jquery Light box ASP.net <p>Hi,</p> <p>If you are saving the data using ajax then Just call <strong>&#36;.fancybox.close() </strong>on your onClick event or you save button.</p> <p>If you are using normal asp.net button for saving the data then it should get saved autometically.</p> <p>If you are using normal asp.net button with update panel for saving data. Then from the buttonclick using registerstartupscript close the popup.</p> 2012-01-31T06:17:47-05:004809691http://forums.asp.net/p/1761192/4809691.aspx/1?Re+Open+new+form+in+Jquery+Light+box+ASP+netRe: Open new form in Jquery Light box ASP.net <p>thanks for reply,</p> <p>It did not open on firefox browser it works only in IE browser</p> 2012-02-01T03:54:06-05:004809693http://forums.asp.net/p/1761192/4809693.aspx/1?Re+Open+new+form+in+Jquery+Light+box+ASP+netRe: Open new form in Jquery Light box ASP.net <p>hi,</p> <p>Check properly there can be someother issues. Its working in firefox.</p> 2012-02-01T03:55:36-05:004811729http://forums.asp.net/p/1761192/4811729.aspx/1?Re+Open+new+form+in+Jquery+Light+box+ASP+netRe: Open new form in Jquery Light box ASP.net <p>Hi,</p> <p>I have checked it but its not working on fire fox i dont know what is the issue please suggest me what should i do</p> 2012-02-02T03:33:04-05:004818026http://forums.asp.net/p/1761192/4818026.aspx/1?Re+Open+new+form+in+Jquery+Light+box+ASP+netRe: Open new form in Jquery Light box ASP.net <p>Hi asteranup</p> <p>Sorry to jump in on the thread, but if you remember you helped me acheive my product pop up display last week. As mentioned I am novice...</p> <p>I have a quick question. I was wondering if you had the time to help?</p> <p>I have downloaded an online webshop template and I'm changing it to our companies needs</p> <p>When the form display's in the pop out it calls on a html Route - I think.</p> <p>On doing so the viewer can see the web bar at the top giving them access to write a new Url minimize etc.</p> <p>I'm just hoping you may know how to get rid of this so it just displays the form then I can create a button on the form to exit the page.</p> <p>All help would be high appriecated.</p> <p></p> <p>Kind Regards</p> <p></p> <p>Richard&nbsp;<img src="http://forums.asp.net/scripts/tiny_mce/plugins/emotions/img/smiley-cool.gif" alt="Cool" title="Cool" border="0"></p> <h3 class="post-title"></h3> 2012-02-06T08:09:25-05:00