<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>ShowModalDialog</title>
        <link>http://blogs.ugidotnet.org/fgiossi/category/ShowModalDialog.aspx</link>
        <description>ShowModalDialog</description>
        <language>it-IT</language>
        <copyright>Francesco Giossi</copyright>
        <generator>Subtext Version 2.6.0.0</generator>
        <item>
            <title>ShowModalDialog and ASP.NET, a full working example</title>
            <link>http://blogs.ugidotnet.org/fgiossi/archive/2007/09/02/showmodaldialog-and-asp.net-a-full-working-example.aspx</link>
            <description>&lt;p&gt;Here is a simple working example explaining how to use &lt;strong&gt;ShowModalDialog&lt;/strong&gt; and asp.net with Visual Studio 2005.&lt;/p&gt;
&lt;p&gt;Start with default.aspx, which has a single button. Once clicked, it will popup a modal window which will show a single button labeled "Close me!".&lt;/p&gt;
&lt;p&gt;The postback will redirect the user to a new page, whose purpose is to close the modal window and return the string value '1' which will be evalueted by the parent window using the &lt;font size="2"&gt;&lt;strong&gt;returnValue&lt;/strong&gt; property.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;If returnValue is '1' then the form will be submitted to itself, just to show how to reuse local values and force a timer label to refresh&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Download the example from &lt;a href="http://blogs.ugidotnet.org/images/blogs_ugidotnet_org/fgiossi/ShowModalDialog.zip"&gt;here&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.ugidotnet.org/fgiossi/aggbug/88093.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Francesco Giossi</dc:creator>
            <guid>http://blogs.ugidotnet.org/fgiossi/archive/2007/09/02/showmodaldialog-and-asp.net-a-full-working-example.aspx</guid>
            <pubDate>Sun, 02 Sep 2007 22:54:30 GMT</pubDate>
            <comments>http://blogs.ugidotnet.org/fgiossi/archive/2007/09/02/showmodaldialog-and-asp.net-a-full-working-example.aspx#feedback</comments>
            <slash:comments>4</slash:comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/fgiossi/comments/commentRss/88093.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.ugidotnet.org/fgiossi/services/trackbacks/88093.aspx</trackback:ping>
        </item>
        <item>
            <title>ShowModalDialog and ASP.NET postback</title>
            <link>http://blogs.ugidotnet.org/fgiossi/archive/2007/08/22/87904.aspx</link>
            <description>&lt;p&gt;Whenever you use a postback in a modal window, magically Internet Explorer fires the event in a new page.&lt;/p&gt;
&lt;p&gt;To avoid Internet Explorer to act like that, just add...&lt;/p&gt;
&lt;font face="Arial"&gt;
&lt;p&gt;&amp;lt;base target="_self" /&amp;gt;&lt;/p&gt;
&lt;p&gt;... wherever you want, just before the HTML Tag or simply in between the HEAD tag of your HTML page.&lt;/p&gt;
&lt;/font&gt;&lt;img src="http://blogs.ugidotnet.org/fgiossi/aggbug/87904.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Francesco Giossi</dc:creator>
            <guid>http://blogs.ugidotnet.org/fgiossi/archive/2007/08/22/87904.aspx</guid>
            <pubDate>Wed, 22 Aug 2007 18:28:57 GMT</pubDate>
            <comments>http://blogs.ugidotnet.org/fgiossi/archive/2007/08/22/87904.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/fgiossi/comments/commentRss/87904.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.ugidotnet.org/fgiossi/services/trackbacks/87904.aspx</trackback:ping>
        </item>
    </channel>
</rss>