<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using jQuery Modal Dialog Confirmation with an ASP.NET Server Control</title>
	<atom:link href="http://www.integratedwebsystems.com/2009/12/using-jquery-modal-dialog-confirmation-with-an-asp-net-server-control/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.integratedwebsystems.com/2009/12/using-jquery-modal-dialog-confirmation-with-an-asp-net-server-control/</link>
	<description>My Little .NET Sandbox</description>
	<lastBuildDate>Wed, 08 Sep 2010 08:13:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Vicky</title>
		<link>http://www.integratedwebsystems.com/2009/12/using-jquery-modal-dialog-confirmation-with-an-asp-net-server-control/comment-page-1/#comment-1653</link>
		<dc:creator>Vicky</dc:creator>
		<pubDate>Wed, 08 Sep 2010 08:13:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=413#comment-1653</guid>
		<description>Just wanted to say I spent all day yesterady struggling to try and get similar functionality to work, and you have solved my problem for me!  Many, many thanks!

You should have written the demo code on the JQuery site! :)</description>
		<content:encoded><![CDATA[<p>Just wanted to say I spent all day yesterady struggling to try and get similar functionality to work, and you have solved my problem for me!  Many, many thanks!</p>
<p>You should have written the demo code on the JQuery site! <img src='http://www.integratedwebsystems.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan</title>
		<link>http://www.integratedwebsystems.com/2009/12/using-jquery-modal-dialog-confirmation-with-an-asp-net-server-control/comment-page-1/#comment-1329</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Thu, 02 Sep 2010 01:38:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=413#comment-1329</guid>
		<description>&lt;a href=&quot;#comment-1328&quot; rel=&quot;nofollow&quot;&gt;@Sudhir &lt;/a&gt; 
You bet! Thanks!</description>
		<content:encoded><![CDATA[<p><a href="#comment-1328" rel="nofollow">@Sudhir </a><br />
You bet! Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sudhir</title>
		<link>http://www.integratedwebsystems.com/2009/12/using-jquery-modal-dialog-confirmation-with-an-asp-net-server-control/comment-page-1/#comment-1328</link>
		<dc:creator>Sudhir</dc:creator>
		<pubDate>Tue, 31 Aug 2010 20:31:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=413#comment-1328</guid>
		<description>Nice code, work like a charm, i was looking that code for a project and that fullfil all what was looking.

Thanks for posting this good code.</description>
		<content:encoded><![CDATA[<p>Nice code, work like a charm, i was looking that code for a project and that fullfil all what was looking.</p>
<p>Thanks for posting this good code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Osfoel</title>
		<link>http://www.integratedwebsystems.com/2009/12/using-jquery-modal-dialog-confirmation-with-an-asp-net-server-control/comment-page-1/#comment-491</link>
		<dc:creator>Osfoel</dc:creator>
		<pubDate>Tue, 27 Jul 2010 10:16:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=413#comment-491</guid>
		<description>Just im looking for.

Thank you.</description>
		<content:encoded><![CDATA[<p>Just im looking for.</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan</title>
		<link>http://www.integratedwebsystems.com/2009/12/using-jquery-modal-dialog-confirmation-with-an-asp-net-server-control/comment-page-1/#comment-413</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Fri, 14 May 2010 21:18:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=413#comment-413</guid>
		<description>&lt;a href=&quot;#comment-411&quot; rel=&quot;nofollow&quot;&gt;@jonathan&lt;/a&gt; 
I&#039;m betting your script is being invoked before the DOM is ready causing the dialog not to appear.  Try wrapping your startup code with a jquery ready handler. 

With my demo here, I added the line below to Page_Load immediately following the line with Page.GetPostBackEventReference.


Page.ClientScript.RegisterClientScriptBlock(this.GetType(), &quot;startup_ready&quot;, &quot;$(document).ready(function(){ /*launch dialog*/ $(&#039;#dialogContent&#039;).dialog(&#039;open&#039;); });&quot;, true);


This should cause it to open immediately.  You can wrap logic around that server-side if you wish.</description>
		<content:encoded><![CDATA[<p><a href="#comment-411" rel="nofollow">@jonathan</a><br />
I&#8217;m betting your script is being invoked before the DOM is ready causing the dialog not to appear.  Try wrapping your startup code with a jquery ready handler. </p>
<p>With my demo here, I added the line below to Page_Load immediately following the line with Page.GetPostBackEventReference.</p>
<p>Page.ClientScript.RegisterClientScriptBlock(this.GetType(), &#8220;startup_ready&#8221;, &#8220;$(document).ready(function(){ /*launch dialog*/ $(&#8216;#dialogContent&#8217;).dialog(&#8216;open&#8217;); });&#8221;, true);</p>
<p>This should cause it to open immediately.  You can wrap logic around that server-side if you wish.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jonathan</title>
		<link>http://www.integratedwebsystems.com/2009/12/using-jquery-modal-dialog-confirmation-with-an-asp-net-server-control/comment-page-1/#comment-411</link>
		<dc:creator>jonathan</dc:creator>
		<pubDate>Fri, 14 May 2010 16:15:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=413#comment-411</guid>
		<description>Hi - During page_load I want to check some server-side things and depending on the result I want to display the jquery dialog (modal) automatically (i.e., right after the page has rendered). I tried RegisterClientScriptBlock and other variations but can&#039;t get it to work.

The modal does work correctly (I have a button that executes it).

Here&#039;s a snip from the  in the page head:

            var dlg = $(&quot;#notices&quot;).dialog({
                bgiframe: true, autoOpen: false, width: 600, modal: true, height: 300
            });

            dlg.parent().appendTo($(&quot;form:first&quot;));

Any ideas??

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi &#8211; During page_load I want to check some server-side things and depending on the result I want to display the jquery dialog (modal) automatically (i.e., right after the page has rendered). I tried RegisterClientScriptBlock and other variations but can&#8217;t get it to work.</p>
<p>The modal does work correctly (I have a button that executes it).</p>
<p>Here&#8217;s a snip from the  in the page head:</p>
<p>            var dlg = $(&#8220;#notices&#8221;).dialog({<br />
                bgiframe: true, autoOpen: false, width: 600, modal: true, height: 300<br />
            });</p>
<p>            dlg.parent().appendTo($(&#8220;form:first&#8221;));</p>
<p>Any ideas??</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jecko</title>
		<link>http://www.integratedwebsystems.com/2009/12/using-jquery-modal-dialog-confirmation-with-an-asp-net-server-control/comment-page-1/#comment-404</link>
		<dc:creator>jecko</dc:creator>
		<pubDate>Tue, 04 May 2010 04:44:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=413#comment-404</guid>
		<description>how can i use this in page with toolkitscript manager?</description>
		<content:encoded><![CDATA[<p>how can i use this in page with toolkitscript manager?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan Bridgewater</title>
		<link>http://www.integratedwebsystems.com/2009/12/using-jquery-modal-dialog-confirmation-with-an-asp-net-server-control/comment-page-1/#comment-384</link>
		<dc:creator>Nathan Bridgewater</dc:creator>
		<pubDate>Wed, 24 Mar 2010 20:45:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=413#comment-384</guid>
		<description>Are you all still having problems with this? 

It can be helpful to get FireFox w/ the Firebug addon and watch your Net and Console tabs while doing postbacks. If anything shows up red or you get script errors, they&#039;re pretty easy to spot with these tools. 

For this, check to make sure the __doPostback() function is rendered in your page. If it&#039;s not, then make sure you register any one of your server controls for postback. This will automatically render the __doPostback() function in your page. 

In the example above, I used the grid and registered it in the PageLoad event on all requests, not just postback.

ClientScript.GetPostBackEventReference(uxGrid, string.Empty);

Hope that helps!</description>
		<content:encoded><![CDATA[<p>Are you all still having problems with this? </p>
<p>It can be helpful to get FireFox w/ the Firebug addon and watch your Net and Console tabs while doing postbacks. If anything shows up red or you get script errors, they&#8217;re pretty easy to spot with these tools. </p>
<p>For this, check to make sure the __doPostback() function is rendered in your page. If it&#8217;s not, then make sure you register any one of your server controls for postback. This will automatically render the __doPostback() function in your page. </p>
<p>In the example above, I used the grid and registered it in the PageLoad event on all requests, not just postback.</p>
<p>ClientScript.GetPostBackEventReference(uxGrid, string.Empty);</p>
<p>Hope that helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chart</title>
		<link>http://www.integratedwebsystems.com/2009/12/using-jquery-modal-dialog-confirmation-with-an-asp-net-server-control/comment-page-1/#comment-381</link>
		<dc:creator>chart</dc:creator>
		<pubDate>Mon, 22 Mar 2010 15:32:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=413#comment-381</guid>
		<description>&lt;a href=&quot;#comment-366&quot; rel=&quot;nofollow&quot;&gt;@Muds&lt;/a&gt; 
we&#039;re running into a similar issue on our project.  any ideas on how to fix?</description>
		<content:encoded><![CDATA[<p><a href="#comment-366" rel="nofollow">@Muds</a><br />
we&#8217;re running into a similar issue on our project.  any ideas on how to fix?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prasanth</title>
		<link>http://www.integratedwebsystems.com/2009/12/using-jquery-modal-dialog-confirmation-with-an-asp-net-server-control/comment-page-1/#comment-367</link>
		<dc:creator>Prasanth</dc:creator>
		<pubDate>Thu, 11 Mar 2010 12:01:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=413#comment-367</guid>
		<description>Hi ,

My Server Side Button Click event is not executed. Can u help me?</description>
		<content:encoded><![CDATA[<p>Hi ,</p>
<p>My Server Side Button Click event is not executed. Can u help me?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
