<?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: ModalPopup extender</title><link>http://forums.asp.net/thread/1488355.aspx</link><pubDate>Wed, 06 Dec 2006 16:49:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1488355</guid><dc:creator>Balzak</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1488355.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1488355</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;u can try make the modalpopup like the exemple below and dont associate an cancel or an ok button to modal then u can use the server side events and do wathever u want i just dunno why when i use the cancel button propertie this mess with my other buttons on my page &amp;gt;.&amp;lt;&lt;/p&gt;
&lt;p&gt;and to open and close the modal use MyModalExtender.Show(); and MyModalExtender.Hide();&lt;/p&gt;&lt;pre class=coloredcode&gt;&amp;lt;&lt;span class=tag&gt;asp:Panel&lt;/span&gt;&lt;span class=attr&gt; ID=&lt;/span&gt;&lt;span class=attrv&gt;"Popup"&lt;/span&gt;&lt;span class=attr&gt; runat=&lt;/span&gt;&lt;span class=attrv&gt;"server"&lt;/span&gt;&lt;span class=attr&gt; CssClass=&lt;/span&gt;&lt;span class=attrv&gt;"modalPopup"&lt;/span&gt;&lt;span class=attr&gt; Style=&lt;/span&gt;&lt;span class=attrv&gt;"display: none"&lt;/span&gt;&amp;gt;
    &amp;lt;&lt;span class=tag&gt;asp:Label&lt;/span&gt;&lt;span class=attr&gt; ID=&lt;/span&gt;&lt;span class=attrv&gt;"lblResult"&lt;/span&gt;&lt;span class=attr&gt; runat=&lt;/span&gt;&lt;span class=attrv&gt;"server"&lt;/span&gt;&lt;span class=attr&gt; Text=&lt;/span&gt;&lt;span class=attrv&gt;"Original Content"&lt;/span&gt; /&amp;gt;&amp;lt;&lt;span class=tag&gt;br&lt;/span&gt; /&amp;gt;

      &amp;lt;&lt;span class=tag&gt;asp:ImageButton&lt;/span&gt;&lt;span class=attr&gt;  runat=&lt;/span&gt;&lt;span class=attrv&gt;"server"&lt;/span&gt;&lt;span class=attr&gt; ImageUrl=&lt;/span&gt;&lt;span class=attrv&gt;"~/layout/botoes/ok.gif"&lt;/span&gt;&lt;span class=attr&gt; ID=&lt;/span&gt;&lt;span class=attrv&gt;"OK"&lt;/span&gt;&lt;span class=attr&gt; OnClick=&lt;/span&gt;&lt;span class=attrv&gt;"OK_Click"&lt;/span&gt;&lt;span class=attr&gt; CausesValidation=&lt;/span&gt;&lt;span class=attrv&gt;"false"&lt;/span&gt; /&amp;gt;
&amp;lt;/&lt;span class=tag&gt;asp:Panel&lt;/span&gt;&amp;gt;
&amp;lt;&lt;span class=tag&gt;asp:Button&lt;/span&gt;&lt;span class=attr&gt; ID=&lt;/span&gt;&lt;span class=attrv&gt;"Target"&lt;/span&gt;&lt;span class=attr&gt; runat=&lt;/span&gt;&lt;span class=attrv&gt;"server"&lt;/span&gt;&lt;span class=attr&gt; Style=&lt;/span&gt;&lt;span class=attrv&gt;"display: none"&lt;/span&gt; /&amp;gt;
&amp;lt;&lt;span class=tag&gt;ajaxToolkit:ModalPopupExtender&lt;/span&gt;&lt;span class=attr&gt; ID=&lt;/span&gt;&lt;span class=attrv&gt;"MyModalExtender"&lt;/span&gt;&lt;span class=attr&gt; runat=&lt;/span&gt;&lt;span class=attrv&gt;"server"&lt;/span&gt;&lt;span class=attr&gt; TargetControlID=&lt;/span&gt;&lt;span class=attrv&gt;"Target"&lt;/span&gt;
&lt;span class=attr&gt;    PopupControlID=&lt;/span&gt;&lt;span class=attrv&gt;"Popup"&lt;/span&gt;&lt;span class=attr&gt; BackgroundCssClass=&lt;/span&gt;&lt;span class=attrv&gt;"modalBackground"&lt;/span&gt;&lt;span class=attr&gt; DropShadow=&lt;/span&gt;&lt;span class=attrv&gt;"true"&lt;/span&gt; /&amp;gt; 
&lt;/pre&gt;&amp;nbsp;</description></item><item><title>ModalPopup extender</title><link>http://forums.asp.net/thread/1488206.aspx</link><pubDate>Wed, 06 Dec 2006 15:20:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1488206</guid><dc:creator>TempestT-37</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1488206.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1488206</wfw:commentRss><description>&lt;p class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;Hello &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;I have a page where an employee can enter data for a building permit. Closes to the bottom of the page there is a dropdown control for ‘Type of Improvement’. Occasionally a new Improvement Type needs to be entered. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;What I would like to do is use something like the &lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;mso-bidi-font-family:Tahoma;"&gt;ModalPopup extender control to add the new &lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;Improvement Type to the sql db and refresh the dropdown. I think this is possible I just can’t figure out how to do it. I think I have come close but all the help I find on google use something different then beta2.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;I feel I am closes using this tutorial &lt;a href="http://codingatlas.wordpress.com/2006/09/15/sliding-task-lists-project-%e2%80%93-building-an-atlas-application-from-a-scratch/"&gt;&lt;font color=#800080&gt;http://codingatlas.wordpress.com/2006/09/15/sliding-task-lists-project-%e2%80%93-building-an-atlas-application-from-a-scratch/&lt;/font&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;Can anyone direct me to a tutorial to help me with this?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;TIA &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;Michael&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>