tag:blogger.com,1999:blog-5251195438749660493.post5053570793654827073..comments2024-03-27T18:06:31.934-07:00Comments on Sitecore Gadgets: Language filtered Multilist fieldIvanhttp://www.blogger.com/profile/09998430037866709466noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-5251195438749660493.post-63818720347731610242015-04-01T05:37:13.199-07:002015-04-01T05:37:13.199-07:00Just tried this in Sitecore 7.2 it no longer works...Just tried this in Sitecore 7.2 it no longer works because the source for MultilistEx uses calls Lookup sources directly instead of calling GetItems to build its view.<br /><br />protected override void DoRender(HtmlTextWriter output)<br />{<br />Assert.ArgumentNotNull((object) output, "output");<br />Item current = Context.ContentDatabase.GetItem(this.ItemID, Language.Parse(this.ItemLanguage));<br />Item[] sources = (Item[]) null;<br /><br />using (new LanguageSwitcher(this.ItemLanguage))<br /><b>sources = LookupSources.GetItems(current, this.Source);</b><br /><br />ArrayList selected;<br />IDictionary unselected;<br />this.GetSelectedItems(sources, out selected, out unselected);<br />this.ServerProperties["ID"] = (object) this.ID;<br />string str1 = string.Empty;<br />if (this.ReadOnly)<br /><br />I am going to try a different solution but it looks like it should be just a case of overriding the ItemLanguage as it uses a ViewState not the one set externally.JonSmarthttps://www.blogger.com/profile/15100936101516925980noreply@blogger.comtag:blogger.com,1999:blog-5251195438749660493.post-81705958556551676682015-04-01T05:34:03.109-07:002015-04-01T05:34:03.109-07:00This comment has been removed by the author.JonSmarthttps://www.blogger.com/profile/15100936101516925980noreply@blogger.comtag:blogger.com,1999:blog-5251195438749660493.post-62416369113297800432014-02-04T06:55:01.543-08:002014-02-04T06:55:01.543-08:00Hi,
This post/Article is wonderfull,
I looking sa...Hi, <br />This post/Article is wonderfull,<br />I looking same solution for Checklist and droptree, is it possible, if so, can please send me on my email address sukanthmsc@gmail.com.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5251195438749660493.post-63441797995324817032014-02-04T06:54:09.585-08:002014-02-04T06:54:09.585-08:00Hi,
This post/Article is wonderfull,
I looking sa...Hi, <br />This post/Article is wonderfull,<br />I looking same solution for Checklist and droptree, is it possible, if so, can please send me on my email address sukanthmsc@gmail.com.<br /><br />Thanks in advance,<br />rakeshhttps://www.blogger.com/profile/16840915061275401736noreply@blogger.com