﻿<?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 - webcombo-Webmenu</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/webcombo-Webmenu/</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>webcombo-Webmenu</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/webcombo-Webmenu/</link><pubDate>Tue, 27 Oct 2009 22:28:06 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebMenu</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Thank you for your compliment; it is our duty to provide our customers with the best business solutions.&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 let us know with any questions or concerns you may have, we will be more than glad to assist you.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>webcombo-Webmenu</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/webcombo-Webmenu/</link><pubDate>Mon, 26 Oct 2009 14:02:49 GMT</pubDate><dc:creator>Andre</dc:creator><category>WebMenu</category><description>&lt;p&gt;This is why I &lt;span style="font-size: 13pt"&gt;love &lt;/span&gt;intersoft.  Thank you so very much. It works great now.&lt;/p&gt;</description></item><item><title>webcombo-Webmenu</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/webcombo-Webmenu/</link><pubDate>Mon, 26 Oct 2009 02:52:39 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebMenu</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;The development team has managed to fix the issue.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;The hotfix will be available at the end of this month, at most. Please try to apply the latest hotfix and let us know whether it helps or not.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>webcombo-Webmenu</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/webcombo-Webmenu/</link><pubDate>Tue, 29 Sep 2009 06:11:53 GMT</pubDate><dc:creator>yudi@intersoftpt.com</dc:creator><category>WebMenu</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Thank you for the sent modified sample. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I have forwarded this to WebDesktop development team for further investigation. I’ll let you know any news/updates I heard from the team regarding this issue.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>webcombo-Webmenu</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/webcombo-Webmenu/</link><pubDate>Mon, 28 Sep 2009 10:36:13 GMT</pubDate><dc:creator>Andre</dc:creator><category>WebMenu</category><description>&lt;p&gt;Hi Yudi,&lt;/p&gt;
&lt;p&gt;After looking at your example and changing   x.Menu.Items.Add(mi); to   x.Items.Add(mi); seems to make my code work outside of a master page.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Keeping your example the same but adding it into a masterpage stops your example from working.  Any ideas on why a masterpage stops the code from working?&lt;/p&gt;
&lt;p&gt;thanks.&lt;/p&gt;</description></item><item><title>webcombo-Webmenu</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/webcombo-Webmenu/</link><pubDate>Mon, 28 Sep 2009 02:38:30 GMT</pubDate><dc:creator>yudi@intersoftpt.com</dc:creator><category>WebMenu</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I was unable to run your snippet code in my end. There are some classes that don’t exist in my end. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I created a simple sample of WebCombo integration with WebContextMenu scenario based on your code. The menu item is generated by button click event inside AJAX update panel. My sample works and I was unable to replicate your issue. &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 make any necessary changes to the attached sample, so it reproduces the issue. And then have the modified sample send back to us for further investigation. (You may use Northwind database if needed to.)&lt;/span&gt;&lt;/p&gt;</description></item><item><title>webcombo-Webmenu</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/webcombo-Webmenu/</link><pubDate>Fri, 25 Sep 2009 09:30:42 GMT</pubDate><dc:creator>Andre</dc:creator><category>WebMenu</category><description>&lt;p&gt;&lt;span style="font-size: 10pt; font-family: 'lucida sans unicode','sans-serif'"&gt;I am trying to use the webcombo with a webmenu integrated. When I try to populate the webmenu inside an ajax update panel using a button click event the information will not display.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;The web menu must have a full page postback for it to update. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; font-family: 'lucida sans unicode','sans-serif'"&gt;What can be done using server side code to update the web menu? &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; font-family: 'lucida sans unicode','sans-serif'"&gt;Also, on webmenu click, even in a ajax update panel, the page does a full page postback not a ajax postback. How do I avoid full page postback on menu click for server side code to be called? &lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;//c# code:**********&lt;/p&gt;
&lt;p&gt; private void BucketMenu(ref WebContextMenu x, bool checkVRDS)&lt;br /&gt;    {&lt;br /&gt;        x.Menu.Items.Clear();&lt;br /&gt;        cmdPackage cmd = new cmdPackage();&lt;/p&gt;
&lt;p&gt;        WebMenuItem mi;&lt;/p&gt;
&lt;p&gt;        DataTable dt = cmd.fillVDIhandoffBucketTable("Userid", "East", cmdPackage.vdiBucketSearch.vdiwf);&lt;/p&gt;
&lt;p&gt;        string isMCO = checkVRDS == true ? " " : "MCO";&lt;/p&gt;
&lt;p&gt;        var query =&lt;br /&gt;         from order in dt.AsEnumerable()&lt;br /&gt;         where order.Field&amp;lt;string&amp;gt;("Center") != isMCO&lt;br /&gt;         orderby order.Field&amp;lt;string&amp;gt;("Center")&lt;br /&gt;         group order by order.Field&amp;lt;string&amp;gt;("Center") into g&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;         //var query =&lt;br /&gt;         // from order in dt.AsEnumerable()        &lt;br /&gt;         // orderby order.Field&amp;lt;string&amp;gt;("Center")&lt;br /&gt;         // group order by order.Field&amp;lt;string&amp;gt;("Center") into g&lt;/p&gt;
&lt;p&gt;         select new&lt;br /&gt;         {&lt;br /&gt;             name = g.Key,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;         };&lt;/p&gt;
&lt;p&gt;        foreach (var order in query)&lt;br /&gt;        {&lt;br /&gt;            mi = new WebMenuItem(order.name, order.name);&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;            WebMenuItemCollection usaItems = mi.Items;// WebContextMenu1.Items.GetNamedItem(order.name).Items;&lt;br /&gt;            x.Menu.Items.Add(mi);&lt;/p&gt;
&lt;p&gt;            //WebMenuItemCollection usaItems;&lt;br /&gt;            DataRow[] usaRows = dt.Select("Center =  '" &amp;#43; order.name &amp;#43; "'");&lt;/p&gt;
&lt;p&gt;            foreach (DataRow row in usaRows)&lt;br /&gt;            {&lt;/p&gt;
&lt;p&gt;                WebMenuItem item = new WebMenuItem(row["Bucket_Name"].ToString());&lt;br /&gt;                item.Tag = row["BucketID"].ToString();&lt;br /&gt;                //item.ImageURL = "images/" &amp;#43; item.Text &amp;#43; ".jpg";&lt;/p&gt;
&lt;p&gt;                usaItems.Add(item);&lt;/p&gt;
&lt;p&gt;            }&lt;br /&gt;        }&lt;br /&gt;    }&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;    protected void Button1_Click(object sender, EventArgs e)&lt;br /&gt;    {&lt;br /&gt;        BucketMenu(ref WebContextMenu1, false);&lt;br /&gt;   &lt;br /&gt;    }&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;//Asp.net&lt;/p&gt;
&lt;p&gt;&amp;lt;asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server"&amp;gt;&lt;br /&gt;        &amp;lt;asp:ScriptManager ID="ScriptManager1" runat="server"&amp;gt;&lt;br /&gt;        &amp;lt;/asp:ScriptManager&amp;gt;&lt;br /&gt;       &lt;br /&gt;        &lt;br /&gt;       &lt;br /&gt;        &amp;lt;asp:UpdatePanel ID="UpdatePanel1" runat="server"&amp;gt;&lt;br /&gt;            &amp;lt;contenttemplate&amp;gt;&amp;lt;asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" /&amp;gt;&lt;br /&gt;           &amp;lt;iswebcombo:webcombo ID="WebCombo2" runat="server" &lt;br /&gt;                UseDefaultStyle="true"&amp;gt;&lt;br /&gt;                &amp;lt;IntegrationSettings ControlId="WebContextMenu1" Enabled="True" /&amp;gt;&lt;br /&gt;            &amp;lt;/ISWebCombo:WebCombo&amp;gt;&lt;br /&gt;           &lt;br /&gt;       &lt;br /&gt;            &lt;br /&gt;            &lt;br /&gt;            &amp;lt;ISWebDesktop:WebContextMenu ID="WebContextMenu1" runat="server" AutoPostBack="Yes"&amp;gt;&lt;br /&gt;                &lt;br /&gt;                &amp;lt;MenuStyleSettings BackgroundStripColor2="SteelBlue"&amp;gt;&lt;br /&gt;                &amp;lt;/MenuStyleSettings&amp;gt;&lt;br /&gt;                &lt;br /&gt;            &amp;lt;/ISWebDesktop:WebContextMenu&amp;gt;&lt;br /&gt;     &amp;lt;/contenttemplate&amp;gt;&lt;br /&gt;        &amp;lt;/asp:UpdatePanel&amp;gt;&lt;br /&gt;        &lt;br /&gt;        &lt;br /&gt;        &lt;br /&gt;&amp;lt;/asp:Content&amp;gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>