﻿<?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 - Multi Language Support for the menu items displayed on the click of column header</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Multi-Language-Support-for-the-menu-items-displayed-on-the-click-of-column-header/</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>Multi Language Support for the menu items displayed on the click of column header</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Multi-Language-Support-for-the-menu-items-displayed-on-the-click-of-column-header/</link><pubDate>Sun, 13 Jun 2010 23:41:32 GMT</pubDate><dc:creator>AnupVasudeva</dc:creator><category>WebGrid</category><category>Multi Language support</category><description>&lt;p&gt;Hi Handy,&lt;/p&gt;&lt;p&gt;I have used SetText method and changed the text statically from English --&amp;gt; Dutch.&lt;/p&gt;
&lt;p&gt;But when i select the Group(Dutch Version), it doesn't Group the rows.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Even i retested it , it still pops me with the javascript error. And when i click the header , it doesn't shows me the menu.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Kindly assist me in this situation. i am really having hard time solving this issue.&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt;Have a good day.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Anup Vasudeva&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Multi Language Support for the menu items displayed on the click of column header</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Multi-Language-Support-for-the-menu-items-displayed-on-the-click-of-column-header/</link><pubDate>Fri, 11 Jun 2010 11:27:24 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>WebGrid</category><category>Multi Language support</category><description>&lt;p&gt;Hello Anup,&lt;/p&gt;&lt;p&gt;May I know how you converted your menu into Dutch? Do you change localization language manually when click button? Or do you use SetText which Julia guided you before? Our WebGrid 7 works well in IE8. Would you mind to let us know more details regarding this issue?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Multi Language Support for the menu items displayed on the click of column header</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Multi-Language-Support-for-the-menu-items-displayed-on-the-click-of-column-header/</link><pubDate>Fri, 11 Jun 2010 08:34:49 GMT</pubDate><dc:creator>AnupVasudeva</dc:creator><category>WebGrid</category><category>Multi Language support</category><description>&lt;p&gt;Thanks for the reply. It really helped.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Following your direction, i changed the menu entirely from English to Dutch. &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;In English menu, when we group the rows using the "group By This Field", correspondingly it shows "Ungroup" option.&lt;/p&gt;
&lt;p&gt;But when i converted the menu into Dutch, the "group By This Field" menu item is not working.&lt;/p&gt;
&lt;p&gt;Instead it shows the following error:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Error: v25525 is null&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Source File: http://localhost/InterSoftGridDemo/ISRes.axd?F/ISCore.js/305000751 &lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Line: 7.&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Also the WebGrid seems not be compatible with IE8. For example, the Header Menu doesnot pops up on the click of it.  Plus when i run the website, it immediately shows me javascript runtime (javascript.body(..)) error.&lt;br /&gt;&lt;/p&gt;&lt;strong&gt;Please assist me in solving this issue.&lt;/strong&gt;
&lt;p&gt;&lt;strong&gt;Thanks in advance.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Have a good day.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Anup Vasudeva.&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Multi Language Support for the menu items displayed on the click of column header</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Multi-Language-Support-for-the-menu-items-displayed-on-the-click-of-column-header/</link><pubDate>Fri, 11 Jun 2010 06:18:45 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebGrid</category><category>Multi Language support</category><description>&lt;blockquote&gt;... &lt;ol&gt;
&lt;li&gt;How exactly the parameters are being sent?&lt;/li&gt;&lt;/ol&gt;...&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;The solution provided by Julia uses OnColumnContextMenu client side event. OnColumnContextMenu specifies the client side (JavaScript) function that will be invoked when the column’s context menu is about to be displayed. Parameters provided with this function are: controlId, col, menu, isGroup, location.&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;... &lt;ol start="2"&gt;
&lt;li&gt;What values do they possess. I tried using alert(...), but it outputs like [object WebGridCol]&lt;/li&gt;&lt;/ol&gt;...&lt;/blockquote&gt;
&lt;ul style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;li&gt;controlId&lt;br /&gt;Type: String&lt;br /&gt;Description: specifies the id of WebGrid instance that invoke OnColumnContextMenu event.&lt;/li&gt;&lt;li&gt;col&lt;br /&gt;Type: Object&lt;br /&gt;Description: specifies the column object of WebGrid where column context menu is showed.&lt;/li&gt;&lt;li&gt;menu&lt;br /&gt;Type: Object&lt;br /&gt;Description: returns the object WebContextMenu of WebGrid column.&lt;/li&gt;&lt;li&gt;isGroup&lt;br /&gt;Type: Boolean&lt;br /&gt;Description: returns true if the column is grouped and returns null if the column is not grouped.&lt;/li&gt;&lt;li&gt;location&lt;br /&gt;Type: Object&lt;br /&gt;Description: returns the X and Y coordinate location.&lt;/li&gt;&lt;/ul&gt;&lt;blockquote&gt;... &lt;ol start="3"&gt;
&lt;li&gt;What is "menuSorAsc" provided as a parameter in GetNamedItem(...)?&lt;/li&gt;&lt;/ol&gt;... &lt;/blockquote&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;‘menu.Items’ will returns the collection of WebMenuItem object of column context menu. For example: menu.Items[0] will returns the object of “Sort A to Z” context menu; menu.Items[1] will returns the object of “Sort Z to A” context menu; and so on.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Each ‘Items’ has ‘Name’ property. We can utilize GetNamedItem(name) method of WebGrid to get the indexer collection of &lt;span style="mso-spacerun: yes"&gt; &lt;/span&gt;WebMenuItem object of column context menu. So, menu.Items[0] will equals to menu.Items.GetNamedItem(“mnuSortAsc”).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Multi Language Support for the menu items displayed on the click of column header</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Multi-Language-Support-for-the-menu-items-displayed-on-the-click-of-column-header/</link><pubDate>Thu, 10 Jun 2010 22:54:44 GMT</pubDate><dc:creator>AnupVasudeva</dc:creator><category>WebGrid</category><category>Multi Language support</category><description>&lt;p&gt;Thanks a lot for the reply. It worked for me.&lt;br /&gt;&lt;/p&gt;But i didn't unterstand the logic behind the scenes.&lt;br /&gt;&lt;br /&gt;1). How exactly the parameters are being sent?&lt;br /&gt;2). What values do they possess. I tried using alert(...), but it outputs like [object WebGridCol]&lt;br /&gt;3). What is "menuSorAsc" provided as a parameter in GetNamedItem(...)?&lt;br /&gt;&lt;br /&gt;Plz assist me in this. &lt;br /&gt;&lt;br /&gt;Thanks in advance.
&lt;p&gt;Good day.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Anup Vasudeva&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Multi Language Support for the menu items displayed on the click of column header</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Multi-Language-Support-for-the-menu-items-displayed-on-the-click-of-column-header/</link><pubDate>Thu, 10 Jun 2010 22:46:30 GMT</pubDate><dc:creator>julia</dc:creator><category>WebGrid</category><category>Multi Language support</category><description>&lt;p&gt;Hi Anup,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;If you want to change the item text in WebGrid's header context menu, you can simply use &lt;strong&gt;SetText&lt;/strong&gt; in &lt;strong&gt;OnColumnContextMenu&lt;/strong&gt; event, as show in the sample code below:&lt;/p&gt;&lt;pre&gt;function WebGrid1_OnColumnContextMenu(controlId, col, menu, isGroup, location)
		{
		    var WebGrid1 = ISGetObject(controlId);
		    menu.Items.GetNamedItem("mnuSortAsc").SetText("もし もし");			
			return true;
		}&lt;/pre&gt;
&lt;p&gt;You will notice that "Sort A to Z" is change to "もし もし".&lt;/p&gt;
&lt;p&gt;Hope this could help.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Julia&lt;/p&gt;</description></item><item><title>Multi Language Support for the menu items displayed on the click of column header</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Multi-Language-Support-for-the-menu-items-displayed-on-the-click-of-column-header/</link><pubDate>Thu, 10 Jun 2010 13:19:51 GMT</pubDate><dc:creator>AnupVasudeva</dc:creator><category>WebGrid</category><category>Multi Language support</category><description>&lt;p&gt;I am just figuring it out whether the WebGrid control's Menu (dipslayed on click of the column header) provides Multi Language support. Or is there any workaround which should be considered for the Multi Language support.&lt;br /&gt;&lt;/p&gt;Any help would be really appreciated. Thanks in advance.
&lt;p&gt;Have a good day.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Anup Vasudeva&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>