﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" 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/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebDesktop - WebMenuBar if confirm click then action</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebMenuBar-if-confirm-click-then-action/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>WebMenuBar if confirm click then action</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebMenuBar-if-confirm-click-then-action/</link><pubDate>Mon, 12 Dec 2011 18:49:25 GMT</pubDate><dc:creator>aspnet@softwarestudio.com.pl</dc:creator><description>&lt;p&gt;Hi Yudi &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;thanks's for help. that solved my problem&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;reagards&lt;/p&gt;
&lt;p&gt;Adam&lt;/p&gt;</description></item><item><title>WebMenuBar if confirm click then action</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebMenuBar-if-confirm-click-then-action/</link><pubDate>Tue, 06 Dec 2011 23:51:59 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I enclosed one simple sample of WebMenuBar. The “Close” menu is located as the sub menu of “File” menu. When user click the “Close” menu, confirm box pops up. The user will have to click either “OK” or “Cancel” to proceed. If the user clicks “OK”, the box returns true. If the user clicks “Cancel”, the box returns false. In my sample, an alert is used to show the result.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please have my sample evaluated on your end and let us hear your feedback.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebMenuBar if confirm click then action</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebMenuBar-if-confirm-click-then-action/</link><pubDate>Tue, 06 Dec 2011 20:13:37 GMT</pubDate><dc:creator>aspnet@softwarestudio.com.pl</dc:creator><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I have problem with WebMenu. I add item with tag "close". i want to write function that if the user click this buton i show confirm dialog and if true i close the application i other case i back without action. I have write function that works when i open the target location but i can't cancel click action. How can i this doing? Behind my function.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;function MainMenu(Param2) {
    switch (Param2.Name) {
        case "start":
            window.location = "Default.aspx";
            break;&lt;/pre&gt;&lt;pre&gt;        case "close":
            if (confirm("Are you sure? ")) {
                window.close();
                return true;
            } ;
            Param2.Pushed = false;
            break;
    }
}&lt;/pre&gt;
&lt;p&gt;Thank you for help&lt;/p&gt;
&lt;p&gt;regards Adam&lt;/p&gt;
&lt;p /&gt;</description></item></channel></rss>