<?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 : OOB and dialogmanager</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : Community Forum : OOB and dialogmanager</description>
  <pubDate>Fri, 10 Apr 2026 23:08:24 -700</pubDate>
  <lastBuildDate>Fri, 08 Jun 2012 06:15:38 -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=3489</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>OOB and dialogmanager :   I had some other issues with...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3489&amp;PID=13806#13806</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1421" rel="nofollow">siko</a><br /><strong>Subject:</strong> 3489<br /><strong>Posted:</strong> 08-Jun-2012 at 6:15am<br /><br />I had some other issues with this solution. Did some namespace changes and I had a clash between the theme and shell projects.<div>&nbsp;</div><div>That out of the way and clear on the DialogButton class, all seems to work fine again.</div><div>&nbsp;</div><div>Thanks for the great responses. I'm happy we went with DF for our project!</div>]]>
   </description>
   <pubDate>Fri, 08 Jun 2012 06:15:38 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3489&amp;PID=13806#13806</guid>
  </item> 
  <item>
   <title>OOB and dialogmanager : Also, is there a reason you are...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3489&amp;PID=13805#13805</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> 3489<br /><strong>Posted:</strong> 07-Jun-2012 at 11:06pm<br /><br />Also, is there a reason you are using DialogButton as the base class for your button type? DialogButton is a wrapper that the DialogManager puts around your object for binding purposes. Just noticed that I inadvertently made the constructor public. I will "fix" that for the next release, which will break your code.]]>
   </description>
   <pubDate>Thu, 07 Jun 2012 23:06:24 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3489&amp;PID=13805#13805</guid>
  </item> 
  <item>
   <title>OOB and dialogmanager :   Rather strange how it manifested...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3489&amp;PID=13804#13804</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> 3489<br /><strong>Posted:</strong> 07-Jun-2012 at 10:30pm<br /><br />Rather strange how it manifested itself, but yes, that would be a problem. It probably kinda worked, because the base type (DialogButton) is public. Sorry, I don't have a better answer at this point. If you want to make your TaggedButtons class internal, you need to make your internals visible to&nbsp;Cocktail.&nbsp;&nbsp;<div>&nbsp;</div><div><a href="http://msdn.microsoft.com/en-us/library/system.runtime.compilerservices.internalsvisibletoattribute.aspx" target="_blank"><u><font color="#0066cc">http://msdn.microsoft.com/en-us/library/system.runtime.compilerservices.internalsvisibletoattribute.aspx</font></u></a></div>]]>
   </description>
   <pubDate>Thu, 07 Jun 2012 22:30:44 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3489&amp;PID=13804#13804</guid>
  </item> 
  <item>
   <title>OOB and dialogmanager :   If you call using an internal...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3489&amp;PID=13803#13803</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1421" rel="nofollow">siko</a><br /><strong>Subject:</strong> 3489<br /><strong>Posted:</strong> 07-Jun-2012 at 10:10pm<br /><br />If you call using an internal class for defining dialogbuttons third party stuff, then yes:<div>&nbsp;</div><div><pre style=": white; color: black; font-family: C&#111;nsolas;"><span style="color: blue;">var</span>&nbsp;searchToAddApplicant&nbsp;=&nbsp;_findToAddFactory.CreatePart();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;searchToAddApplicant.Start();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: green;">//searchToAddApplicant.Parent&nbsp;=&nbsp;this;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: green;">//_windowManager.ShowDialog(searchApplicant,&nbsp;this);</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: green;">//prepare&nbsp;async&nbsp;dialog&nbsp;operation</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: rgb43, 145, 175;">DialogOperationResult</span>&lt;<span style="color: rgb43, 145, 175;">TaggedButtons</span>&gt;&nbsp;asyncOp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">var</span>&nbsp;findButton&nbsp;=&nbsp;<span style="color: blue;">new</span>&nbsp;<span style="color: rgb43, 145, 175;">TaggedButtons</span>(<span style="color: rgb163, 21, 21;">"Find"</span>&nbsp;<span style="color: green;">/*</span><span style="color: darkblue; font-weight: bold;">todo:&nbsp;replace&nbsp;with&nbsp;translation&nbsp;lookup</span><span style="color: green;">*/</span>)&nbsp;{&nbsp;IdTag&nbsp;=&nbsp;<span style="color: rgb163, 21, 21;">"FIND"</span>&nbsp;};&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">var</span>&nbsp;cancelButton&nbsp;=&nbsp;<span style="color: blue;">new</span>&nbsp;<span style="color: rgb43, 145, 175;">TaggedButtons</span>(<span style="color: rgb163, 21, 21;">"Cancel"</span>&nbsp;<span style="color: green;">/*</span><span style="color: darkblue; font-weight: bold;">todo:&nbsp;replace&nbsp;with&nbsp;translation&nbsp;lookup</span><span style="color: green;">*/</span>)&nbsp;{&nbsp;IdTag&nbsp;=&nbsp;<span style="color: rgb163, 21, 21;">""</span>&nbsp;};&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">yield</span>&nbsp;<span style="color: blue;">return</span>&nbsp;asyncOp&nbsp;=&nbsp;_dialogManager.ShowDialogAsync(&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;searchToAddApplicant,&nbsp;<span style="color: blue;">new</span>&nbsp;<span style="color: rgb43, 145, 175;">List</span>&lt;<span style="color: rgb43, 145, 175;">TaggedButtons</span>&gt;()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;findButton,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cancelButton&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},&nbsp;<span style="color: rgb163, 21, 21;">"Find&nbsp;or&nbsp;Add&nbsp;Applicant"</span>);</pre><pre style=": white; color: black; font-family: C&#111;nsolas;">//and ..</pre><pre style=": white; color: black; font-family: C&#111;nsolas;"><pre style=": white; color: black; font-family: C&#111;nsolas;"><span style="color: blue;">internal</span>&nbsp;<span style="color: blue;">class</span>&nbsp;<span style="color: rgb43, 145, 175;">TaggedButtons</span>&nbsp;:&nbsp;<span style="color: rgb43, 145, 175;">DialogButton</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">private</span>&nbsp;<span style="color: blue;">readonly</span>&nbsp;<span style="color: blue;">object</span>&nbsp;_value; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">public</span>&nbsp;TaggedButtons(<span style="color: blue;">object</span>&nbsp;value)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;<span style="color: blue;">base</span>(value)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_value&nbsp;=&nbsp;value;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">public</span>&nbsp;<span style="color: blue;">override</span>&nbsp;<span style="color: blue;">string</span>&nbsp;ToString()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">return</span>&nbsp;_value.ToString();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">public</span>&nbsp;<span style="color: blue;">string</span>&nbsp;IdTag&nbsp;{&nbsp;<span style="color: blue;">get</span>;&nbsp;<span style="color: blue;">set</span>;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</pre><pre style=": white; color: black; font-family: C&#111;nsolas;">&nbsp;</pre><pre style=": white; color: black; font-family: C&#111;nsolas;">&nbsp;</pre><pre style=": white; color: black; font-family: C&#111;nsolas;">Making the class public seems to solve the issue. But why didn't I run into this only until after I enabled/disabled OOB?</pre></pre></div>]]>
   </description>
   <pubDate>Thu, 07 Jun 2012 22:10:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3489&amp;PID=13803#13803</guid>
  </item> 
  <item>
   <title>OOB and dialogmanager : I don&amp;#039;t think the stackstrace...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3489&amp;PID=13796#13796</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> 3489<br /><strong>Posted:</strong> 07-Jun-2012 at 2:41pm<br /><br />I don't think the stackstrace will help. It makes no sense to me at the moment that you are getting this exception unless you modified the Cocktail source code. Here's why. MEF is failing for you to inject the WindowManager into ShowDialogResult. You are getting a MethodAccessException, right?<DIV>&nbsp;</DIV><DIV>Now, to the best of my knowledge this only ever happens if the property or class isn't public in Silverlight. Silverlight's security model does not permit private reflection. The following is the property copied/pasted directly from the source code. As you can see the property is public.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: gray">///</SPAN> <SPAN style="COLOR: gray">&lt;summary&gt;</SPAN><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: gray">///</SPAN><SPAN style="COLOR: green"> Internal use.</SPAN><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: gray">///</SPAN> <SPAN style="COLOR: gray">&lt;/summary&gt;</SPAN><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#091;Import&#093;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: blue">public</SPAN> IWindowManager WindowManager { <SPAN style="COLOR: blue">get</SPAN>; <SPAN style="COLOR: blue">set</SPAN>; }<BR><BR></DIV><DIV>Are you using any third-party stuff that might interfere with reflection?</DIV>]]>
   </description>
   <pubDate>Thu, 07 Jun 2012 14:41:24 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3489&amp;PID=13796#13796</guid>
  </item> 
  <item>
   <title>OOB and dialogmanager :   I cannot provide the exact...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3489&amp;PID=13795#13795</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1421" rel="nofollow">siko</a><br /><strong>Subject:</strong> 3489<br /><strong>Posted:</strong> 07-Jun-2012 at 2:26pm<br /><br />I cannot provide the exact steps. Other than that a fine working asp.net web application running the website does not run the sl app correct (ie. the dialogmanager), once you enabled OOB at least once.<div>&nbsp;</div><div>When the app (compiled for OOB) is requested via the web server, it runs as allways (inside the browser) until we want to display a dialog... it does not get displayed and the app does not report an error. We didnt handle the OOB feature in code, just flipped the switch to see things would still run.</div><div>&nbsp;</div><div>Now setting it back to disabled (oob), the app still does not display the dialog and breaks in vs debugger with the error i posted before.</div><div>&nbsp;</div><div>Would the stacktrace help?</div>]]>
   </description>
   <pubDate>Thu, 07 Jun 2012 14:26:14 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3489&amp;PID=13795#13795</guid>
  </item> 
  <item>
   <title>OOB and dialogmanager : I&amp;#039;m a bit confused. If you...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3489&amp;PID=13789#13789</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> 3489<br /><strong>Posted:</strong> 07-Jun-2012 at 10:51am<br /><br />I'm a bit confused. If you run the app OOB, the Silverlight app would be the start project not the web project. I haven't seen this issue. I've actually created a TempHire OOB demo for somebody a little while ago. Now, I probably didn't test all the paths, but so far I only found one issue with asynchronous bootstrapping that I haven't fixed yet. <DIV>&nbsp;</DIV><DIV>Can you provide me with the exact steps to repro this. Debugging OOB is a little flaky in Visual Studio in my experience. Does this happen if you run the application outside of Visual Studio as well?</DIV>]]>
   </description>
   <pubDate>Thu, 07 Jun 2012 10:51:28 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3489&amp;PID=13789#13789</guid>
  </item> 
  <item>
   <title>OOB and dialogmanager :   Hi,We might like to offer...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3489&amp;PID=13783#13783</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1421" rel="nofollow">siko</a><br /><strong>Subject:</strong> 3489<br /><strong>Posted:</strong> 07-Jun-2012 at 5:38am<br /><br />Hi,<div>&nbsp;</div><div>We might like to offer the OOB functionality for our application, so we checked the checkbox and the startup project changes to be the sl project we enabled oob for.</div><div>&nbsp;</div><div>Now all seems fine (and the sl client finds&nbsp;it server!)</div><div>&nbsp;</div><div>If however I set the web project to be the startup project, the method ShowDialogAsync results in this exception:</div><div>&nbsp;</div><div>Attempt by method 'Microsoft.Internal.ReflectionInvoke.SafeInvoke(System.Reflection.MethodInfo, System.Object, System.Object&#091;&#093;)' to access method 'Cocktail.ShowDialogResult`1&lt;System.__Canon&gt;.set_WindowManager(Caliburn.Micro.IWindowManager)' failed.</div><div>&nbsp;</div><div>Last time I tried to open a solution on another system I toggled the OOB checkbox and the error went away. This time it persists.</div><div>&nbsp;</div><div>What can I do to fix this?</div>]]>
   </description>
   <pubDate>Thu, 07 Jun 2012 05:38:13 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3489&amp;PID=13783#13783</guid>
  </item> 
 </channel>
</rss>