<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Cannot find view for Cocktail.DialogBase</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : Community Forum : Cannot find view for Cocktail.DialogBase</description>
  <pubDate>Sat, 27 Jun 2026 11:17:22 -700</pubDate>
  <lastBuildDate>Thu, 21 Feb 2013 17:24:13 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=3976</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Cannot find view for Cocktail.DialogBase :  This will be fixed in the upcoming...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3976&amp;PID=15893#15893</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3976<br /><strong>Posted:</strong> 21-Feb-2013 at 5:24pm<br /><br />This will be fixed in the upcoming 2.2.1 release. It will always ensure that Cocktail.dll is included in the catalog.<span style="font-size:10px"><br /><br />Edited by mgood - 21-Feb-2013 at 5:24pm</span>]]>
   </description>
   <pubDate>Thu, 21 Feb 2013 17:24:13 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3976&amp;PID=15893#15893</guid>
  </item> 
  <item>
   <title>Cannot find view for Cocktail.DialogBase : Thanks for letting me know. Cocktail...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3976&amp;PID=15877#15877</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3976<br /><strong>Posted:</strong> 19-Feb-2013 at 9:50pm<br /><br />Thanks for letting me know. Cocktail is supposed to always be included even if you change the SearchPatterns. Sounds like that isn't working anymore. Something to investigate I suppose.&nbsp;]]>
   </description>
   <pubDate>Tue, 19 Feb 2013 21:50:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3976&amp;PID=15877#15877</guid>
  </item> 
  <item>
   <title>Cannot find view for Cocktail.DialogBase :   Turns out I had excluded the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3976&amp;PID=15876#15876</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=131" rel="nofollow">-ook</a><br /><strong>Subject:</strong> 3976<br /><strong>Posted:</strong> 19-Feb-2013 at 8:19pm<br /><br />Turns out I had excluded the Cocktail.dll's using IdeaBlade.Core.Composition.CompositionHost.SearchPatterns.Add. Silly mistake.<div>Thanks for your help.</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Tue, 19 Feb 2013 20:19:39 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3976&amp;PID=15876#15876</guid>
  </item> 
  <item>
   <title>Cannot find view for Cocktail.DialogBase : Here&amp;#039;s the example in form...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3976&amp;PID=15797#15797</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3976<br /><strong>Posted:</strong> 05-Feb-2013 at 5:57am<br /><br />Here's the example in form of a WPF application. It works as expected. I'm not sure what's going wrong in your case. Maybe you can compare the sample to what you have. Something must be different. The solution should automatically download the necessary NuGet packages when you build. If you get an error, make sure you allow NuGet to download missing packages in the Package Manager Settings.<div><br></div><div>http://sdrv.ms/12pLbJU</div><div><br></div>]]>
   </description>
   <pubDate>Tue, 05 Feb 2013 05:57:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3976&amp;PID=15797#15797</guid>
  </item> 
  <item>
   <title>Cannot find view for Cocktail.DialogBase : I agree with it being confusing....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3976&amp;PID=15796#15796</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=131" rel="nofollow">-ook</a><br /><strong>Subject:</strong> 3976<br /><strong>Posted:</strong> 04-Feb-2013 at 11:09pm<br /><br />I agree with it being confusing. I have not sub classes the DialogHostBase or anything like that, the implementation is as per the example provided <a href="http://drc.ideablade.com/devforce-2012/bin/view/&#068;ocumentati&#111;n/cocktail-dialog-manager" target="_blank">here</a>. &nbsp;It appears the&nbsp;<span style=": rgb251, 251, 253;">Cocktail.DialogHostView cannot be found in the nuget cocktail packages, I downloaded the Cocktail source code and copied&nbsp;</span><span style=": rgb251, 251, 253;">Cocktail.DialogHostView.xaml to my project and now it works.</span><div><span style=": rgb251, 251, 253;"><br></span></div><div><span style=": rgb251, 251, 253;"><br></span></div>]]>
   </description>
   <pubDate>Mon, 04 Feb 2013 23:09:50 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3976&amp;PID=15796#15796</guid>
  </item> 
  <item>
   <title>Cannot find view for Cocktail.DialogBase :   I&amp;#039;m a bit confused. Did...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3976&amp;PID=15795#15795</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3976<br /><strong>Posted:</strong> 04-Feb-2013 at 10:29pm<br /><br />I'm a bit confused. Did you subclass Cocktail.DialogHostBase? You only need to do that if you plan on customizing the dialog host. This is not required for a simple dialog. All you have to do is create a ViewModel and View for the content you want to display in the dialog and call _dialogManager.ShowDialogAsync() with it. Cocktail will do the rest. If you look at TempHire you won't find a custom DialogHostView. ]]>
   </description>
   <pubDate>Mon, 04 Feb 2013 22:29:28 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3976&amp;PID=15795#15795</guid>
  </item> 
  <item>
   <title>Cannot find view for Cocktail.DialogBase :   Nevermind, found out one has...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3976&amp;PID=15794#15794</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=131" rel="nofollow">-ook</a><br /><strong>Subject:</strong> 3976<br /><strong>Posted:</strong> 04-Feb-2013 at 8:50pm<br /><br />Nevermind, found out one has to define a custom Cocktail.DialogHostView before it works.<div>&nbsp;</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Mon, 04 Feb 2013 20:50:05 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3976&amp;PID=15794#15794</guid>
  </item> 
  <item>
   <title>Cannot find view for Cocktail.DialogBase :   I have followed the advice...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3976&amp;PID=15793#15793</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=131" rel="nofollow">-ook</a><br /><strong>Subject:</strong> 3976<br /><strong>Posted:</strong> 04-Feb-2013 at 8:40pm<br /><br /><p>I have followed the advice in the Dialogs and Messageboxes topic on the Ideablade website in order to create a simple Dialog Box with its own viewmodel and view.</p><p><br>After I issue the command: "await _dialogManager.ShowDialogAsync(_namePrompt, DialogButtons.OkCancel);" I get back the error "Cannot find view for Cocktail.DialogHostBase", also in the VS 2012 output window is:</p><p>System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='&lt;null&gt;' BindingExpression:Path=DisplayName; DataItem='DialogHostBase' (HashCode=43089040); target element is 'Window' (Name=''); target property is 'Title' (type 'String')</p><p>The ViewModel and View correctly follow the naming conventions. As a test I can display the control in question embedded on a MainPage - this confirms that Caliburn Micro can fins the view from the viewmodel normally, it just does not work from the dialog manager.</p><div>&nbsp;</div><div>Any ideas?</div>]]>
   </description>
   <pubDate>Mon, 04 Feb 2013 20:40:42 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3976&amp;PID=15793#15793</guid>
  </item> 
 </channel>
</rss>