<?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 : [SOLVED] Display a CAB UI modally</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : [SOLVED] Display a CAB UI modally</description>
  <pubDate>Thu, 11 Jun 2026 18:02:00 -700</pubDate>
  <lastBuildDate>Tue, 02 Oct 2007 19:59:21 -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=453</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>[SOLVED] Display a CAB UI modally : thanks for this, bill. Just got...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=453&amp;PID=1417#1417</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=156" rel="nofollow">mykel</a><br /><strong>Subject:</strong> 453<br /><strong>Posted:</strong> 02-Oct-2007 at 7:59pm<br /><br /><P>thanks for this, bill.</P><P>Just got some problems, but i was able to find a solution for it. THanks!</P>]]>
   </description>
   <pubDate>Tue, 02 Oct 2007 19:59:21 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=453&amp;PID=1417#1417</guid>
  </item> 
  <item>
   <title>[SOLVED] Display a CAB UI modally : I&amp;#039;d try this:  1. Create...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=453&amp;PID=1396#1396</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=97" rel="nofollow">Bill Jensen</a><br /><strong>Subject:</strong> 453<br /><strong>Posted:</strong> 02-Oct-2007 at 10:33am<br /><br /><DIV>I'd try this:</DIV><DIV>&nbsp;</DIV><DIV>1.&nbsp; Create a new <strong>CabWindowWorkspaceSmartPartInfo</strong>.</DIV><DIV>&nbsp;</DIV><DIV>2. Set <strong>Modal</strong> = true</DIV><DIV>&nbsp;</DIV><DIV>3.&nbsp; Show the view in the window workspace., passing the smart part info as the second parameter.</DIV><DIV>&nbsp;</DIV><DIV>Is this what you tried?</DIV><DIV>&nbsp;</DIV><DIV>I believe that Ward designed the WindowWorkspace to support both modal and non-modal windows, as well as a number of other parameters.</DIV><DIV>&nbsp;</DIV><DIV>If it doesn't work, post a snippet of your code and we'll look at it.</DIV><DIV>&nbsp;</DIV><DIV>Bill J.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 02 Oct 2007 10:33:06 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=453&amp;PID=1396#1396</guid>
  </item> 
  <item>
   <title>[SOLVED] Display a CAB UI modally : Yup i alsohave seenthat as an...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=453&amp;PID=1391#1391</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=156" rel="nofollow">mykel</a><br /><strong>Subject:</strong> 453<br /><strong>Posted:</strong> 02-Oct-2007 at 12:16am<br /><br />Yup i also&nbsp;have seen&nbsp;that as an alternative but I was not able to make it work. can you teach me how? :D <DIV>&nbsp;</DIV><DIV>I considered modifying the WindowWorkspace because all our dialog windows should be viewed as a modal dialog, wherein the user should not be able to click behind.</DIV><span style="font-size:10px"><br /><br />Edited by mykel - 02-Oct-2007 at 12:16am</span>]]>
   </description>
   <pubDate>Tue, 02 Oct 2007 00:16:13 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=453&amp;PID=1391#1391</guid>
  </item> 
  <item>
   <title>[SOLVED] Display a CAB UI modally : I&amp;#039;m curious why you needed...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=453&amp;PID=1388#1388</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=97" rel="nofollow">Bill Jensen</a><br /><strong>Subject:</strong> 453<br /><strong>Posted:</strong> 01-Oct-2007 at 4:45pm<br /><br />I'm curious why you needed to modify the WindowWorkspace class.&nbsp; <DIV>&nbsp;</DIV><DIV>Did you try setting the Modal flag in the CabWindowSmartPartInfo supplied to the WindowWorkspace before showing your view?</DIV><DIV>&nbsp;</DIV><DIV>Bill</DIV>]]>
   </description>
   <pubDate>Mon, 01 Oct 2007 16:45:49 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=453&amp;PID=1388#1388</guid>
  </item> 
  <item>
   <title>[SOLVED] Display a CAB UI modally : I already made it work at last....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=453&amp;PID=1385#1385</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=156" rel="nofollow">mykel</a><br /><strong>Subject:</strong> 453<br /><strong>Posted:</strong> 30-Sep-2007 at 11:42pm<br /><br />I already made it work at last. I need to modify the methods in the WindowWorkspace class in the library in order to view it as a modal dialog. thanks!]]>
   </description>
   <pubDate>Sun, 30 Sep 2007 23:42:28 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=453&amp;PID=1385#1385</guid>
  </item> 
  <item>
   <title>[SOLVED] Display a CAB UI modally : yup. Actually I have already implemented...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=453&amp;PID=1384#1384</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=156" rel="nofollow">mykel</a><br /><strong>Subject:</strong> 453<br /><strong>Posted:</strong> 30-Sep-2007 at 6:58pm<br /><br />yup. Actually I have already implemented that. But either those two, I can still click and type&nbsp;behind the dialog window, even if the said window is always on top of the shell.]]>
   </description>
   <pubDate>Sun, 30 Sep 2007 18:58:00 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=453&amp;PID=1384#1384</guid>
  </item> 
  <item>
   <title>[SOLVED] Display a CAB UI modally : Sure.    Out of the box, the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=453&amp;PID=1366#1366</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=97" rel="nofollow">Bill Jensen</a><br /><strong>Subject:</strong> 453<br /><strong>Posted:</strong> 28-Sep-2007 at 10:37am<br /><br />Sure.<DIV>&nbsp;</DIV><DIV><DIV></DIV><DIV></DIV>Out of the box, the Cabana Foundation module (in FoundationModule.cs)</DIV><DIV>creates two instances of WindowWorkspace:</DIV><DIV>&nbsp;</DIV><FONT size=2><P></FONT><FONT color=#808080 size=2>///</FONT><FONT color=#008000 size=2> </FONT><FONT color=#808080 size=2>&lt;summary&gt;</FONT><FONT color=#008000 size=2>Window workspace to be used for Editor windows under the aegis of the shell's form.</FONT><FONT color=#808080 size=2>&lt;/summary&gt;</P></FONT><FONT size=2><P></FONT><FONT color=#808080 size=2>///</FONT><FONT color=#008000 size=2> </FONT><FONT color=#808080 size=2>&lt;remarks&gt;</P></FONT><FONT size=2><P></FONT><FONT color=#808080 size=2>///</FONT><FONT color=#008000 size=2> Added by IdeaBlade</P></FONT><FONT size=2><P></FONT><FONT color=#808080 size=2>///</FONT><FONT color=#008000 size=2> </FONT><FONT color=#808080 size=2>&lt;/remarks&gt;</P></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2>private</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> AddWindowWorkspace() {</P><P></FONT><FONT color=#008000 size=2>// Add window workspace to be used for modal windows</P></FONT><FONT size=2><P></FONT><FONT color=#008080 size=2>WindowWorkspace</FONT><FONT size=2> wsp = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> </FONT><FONT color=#008080 size=2>WindowWorkspace</FONT><FONT size=2>(ShellForm);</P><P>RootWorkItem.Workspaces.Add(wsp, </FONT><FONT color=#008080 size=2>WorkspaceNames</FONT><FONT size=2>.ModalWindows);</P><P></FONT><FONT color=#008000 size=2>// Use the following if editor forms may hide behind the shell.</P></FONT><FONT size=2><P></FONT><FONT color=#008080 size=2>WindowWorkspace</FONT><FONT size=2> editorWorkspace = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> </FONT><FONT color=#008080 size=2>WindowWorkspace</FONT><FONT size=2>();</P><P></FONT><FONT color=#008000 size=2>// Use the following if editor forms should always be on top of the shell.</P></FONT><FONT size=2><P></FONT><FONT color=#008000 size=2>// WindowWorkspace editorWorkspace = new WindowWorkspace(ShellForm);</P></FONT><FONT size=2><P>RootWorkItem.Workspaces.Add(editorWorkspace, </FONT><FONT color=#008080 size=2>WorkspaceNames</FONT><FONT size=2>.EditorWorkspace);</P><P>}</P><DIV></DIV><P>Simply set one of these as the workspace for your view before showing it.</P><DIV></DIV><DIV></DIV>Bill J.</FONT>]]>
   </description>
   <pubDate>Fri, 28 Sep 2007 10:37:52 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=453&amp;PID=1366#1366</guid>
  </item> 
  <item>
   <title>[SOLVED] Display a CAB UI modally : Yep, it does but you are still...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=453&amp;PID=1365#1365</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=156" rel="nofollow">mykel</a><br /><strong>Subject:</strong> 453<br /><strong>Posted:</strong> 27-Sep-2007 at 6:10pm<br /><br />Yep, it does but you are still allowed to click and modify the parent shell form, even if i set the page as always on the top of the parent form. I am looking for a way that the CAB page will behave like the ordinary dialog window that the code ShowDialog() does in a form. Is it possible to implement it using Cabana or CAB workspaces?]]>
   </description>
   <pubDate>Thu, 27 Sep 2007 18:10:00 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=453&amp;PID=1365#1365</guid>
  </item> 
  <item>
   <title>[SOLVED] Display a CAB UI modally : Look at the SharedEditor module...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=453&amp;PID=1361#1361</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=97" rel="nofollow">Bill Jensen</a><br /><strong>Subject:</strong> 453<br /><strong>Posted:</strong> 27-Sep-2007 at 1:58pm<br /><br />Look at the SharedEditor module of the Cabana application.&nbsp; I think it does what you want to do.<DIV>&nbsp;</DIV><DIV>Bill J.</DIV>]]>
   </description>
   <pubDate>Thu, 27 Sep 2007 13:58:56 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=453&amp;PID=1361#1361</guid>
  </item> 
  <item>
   <title>[SOLVED] Display a CAB UI modally : Hello again,  I already implemented...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=453&amp;PID=1349#1349</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=156" rel="nofollow">mykel</a><br /><strong>Subject:</strong> 453<br /><strong>Posted:</strong> 27-Sep-2007 at 12:47am<br /><br />Hello again,<DIV>&nbsp;</DIV><DIV>I already implemented the way that the CAB UI page will be displayed with the use of the WindowWorkspace using the ff code: <FONT color=#2b91af size=2></DIV><P>WindowWorkspace</FONT><FONT size=2> wsp = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> </FONT><FONT color=#2b91af size=2>WindowWorkspace</FONT><FONT size=2>(ShellForm);</P><DIV></DIV><P>What happens is the CAB UI form displayed always on the top of the ShellForm, but can still manage to click and modify fields in the ShellForm. </P><DIV>Does this really the meaning of a "Modal" Window&nbsp;in CAB application? :) To what I expect is my CAB UI page should be displayed as dialog window and not be able to click behind it on other forms or on the main shell form. Help! hehe </DIV><DIV>&nbsp;</DIV><DIV>Thanks a lot!</DIV><DIV>&nbsp;</DIV><DIV></FONT>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 27 Sep 2007 00:47:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=453&amp;PID=1349#1349</guid>
  </item> 
  <item>
   <title>[SOLVED] Display a CAB UI modally : Hello,   Do you know how to...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=453&amp;PID=1347#1347</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=156" rel="nofollow">mykel</a><br /><strong>Subject:</strong> 453<br /><strong>Posted:</strong> 26-Sep-2007 at 11:16pm<br /><br />Hello, <DIV>&nbsp;</DIV><DIV>Do you know how to display a CAB UI page (which is normally displayed&nbsp;in the content&nbsp;workspace)&nbsp;modally with its Shell as its parent? </DIV><DIV>&nbsp;</DIV><DIV>Thanks!</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><span style="font-size:10px"><br /><br />Edited by mykel - 01-Oct-2007 at 12:31am</span>]]>
   </description>
   <pubDate>Wed, 26 Sep 2007 23:16:42 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=453&amp;PID=1347#1347</guid>
  </item> 
 </channel>
</rss>