<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ASP.NET AJAX Control Toolkit</title><link>http://forums.asp.net/1022.aspx</link><description>Here's your place to discuss everything in and about the AJAX Control Toolkit</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: postbacks and modalpopup</title><link>http://forums.asp.net/thread/2315481.aspx</link><pubDate>Wed, 23 Apr 2008 08:23:11 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2315481</guid><dc:creator>poddar_himanshu@yahoo.co.in</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2315481.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2315481</wfw:commentRss><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;the solution provided by Jonathan should work. &lt;/p&gt;
&lt;p&gt;just want to add there is no need to put second updatepanel&amp;nbsp; &lt;strong&gt;&amp;lt;UpdatePanel UpdateMode=&amp;quot;Conditional&amp;quot;&amp;gt;Buttons here.&amp;lt;UpdatePanel&amp;gt; &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;as first updatepanel is enough.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Still if it doesnt solve ur problem...u can write modal &lt;strong&gt;ModalPopupExtenderID1.Show() &lt;/strong&gt;[modalpopup id of the panel that u want to show] as the last line of submit button.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: postbacks and modalpopup</title><link>http://forums.asp.net/thread/2315370.aspx</link><pubDate>Wed, 23 Apr 2008 07:30:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2315370</guid><dc:creator>Jonathan Shen – MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2315370.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2315370</wfw:commentRss><description>&lt;p&gt;Hi Profnachos,&lt;/p&gt;
&lt;p&gt;It is recommended to use this kind of page layout. &lt;/p&gt;
&lt;p&gt;&amp;lt;UpdatePanel &lt;strong&gt;UpdateMode=&amp;quot;Conditional&amp;quot;&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;Panel tied to ModalPopupExtender&amp;gt;&amp;nbsp;&amp;lt;UpdatePanel UpdateMode=&amp;quot;Conditional&amp;quot;&amp;gt;Buttons here.&amp;lt;UpdatePanel&amp;gt; &amp;lt;/Panel&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;lt;ModalPopupExtender&amp;gt;&amp;lt;/ModalPopupExtender&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;Buttons which triggers UpdatePanel and show&amp;nbsp;the ModalPopupExtender&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/UpdatePanel&amp;gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jonathan&lt;/p&gt;</description></item><item><title>Re: postbacks and modalpopup</title><link>http://forums.asp.net/thread/2303879.aspx</link><pubDate>Thu, 17 Apr 2008 10:45:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2303879</guid><dc:creator>Radu84</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2303879.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2303879</wfw:commentRss><description>&lt;p&gt;Please post the exact html markup.&lt;/p&gt;</description></item><item><title>postbacks and modalpopup</title><link>http://forums.asp.net/thread/2303780.aspx</link><pubDate>Thu, 17 Apr 2008 09:59:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2303780</guid><dc:creator>profnachos</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2303780.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2303780</wfw:commentRss><description>&lt;p&gt;I have read all the posts I could find which covers this often discussed topic, but have not been able to find anything which covers my scenario, so please bear with me.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A) I have a button which shows the popup via server in code behind (I cannot use client code to do this in this case) &amp;nbsp; I would like to use an updatepanel to only draw the modalpopup. &lt;/p&gt;&lt;p&gt;B) I also have buttons inside the popup which case postbacks.&amp;nbsp; I would like to have the popup stay open when the buttons are pushed.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I know how to accomplish each of the above independently.&lt;/p&gt;&lt;p&gt;A) Enclose the popup in an updatepanel, and define the button as a trigger.&amp;nbsp;&amp;nbsp; Works.&lt;br /&gt;&lt;br /&gt;B) Inside the popup, enclose the buttons which cause postbacks.&amp;nbsp; Works.&amp;nbsp; The popup stays open.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;But when A and B are done together, A works, but B does not.&amp;nbsp; When buttons are pushed, the popup disappears.&lt;/p&gt;&lt;p&gt;Is it because an updatepanel is nested in another one?&amp;nbsp; I cannot think of a solution.&amp;nbsp; &lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>