<?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 : EditorController</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : EditorController</description>
  <pubDate>Mon, 13 Apr 2026 04:08:06 -700</pubDate>
  <lastBuildDate>Wed, 19 Sep 2007 12:08:22 -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=434</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>EditorController : You&amp;#039;ll need to walk through...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=434&amp;PID=1221#1221</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> 434<br /><strong>Posted:</strong> 19-Sep-2007 at 12:08pm<br /><br /><P>You'll need to walk through the code of MasterDetailTabViewController base, understand what it's doing, and do the same thing in your page or tab view controller.</P><P>Bill J.</P>]]>
   </description>
   <pubDate>Wed, 19 Sep 2007 12:08:22 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=434&amp;PID=1221#1221</guid>
  </item> 
  <item>
   <title>EditorController : How do I do it if I do not want...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=434&amp;PID=1216#1216</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 434<br /><strong>Posted:</strong> 19-Sep-2007 at 9:09am<br /><br /><P>How do I do it if I do not want to use the MasterDetailTab.</P>]]>
   </description>
   <pubDate>Wed, 19 Sep 2007 09:09:42 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=434&amp;PID=1216#1216</guid>
  </item> 
  <item>
   <title>EditorController : In the Orders Master tab you can...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=434&amp;PID=1209#1209</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> 434<br /><strong>Posted:</strong> 18-Sep-2007 at 4:41pm<br /><br />In the Orders Master tab you can add/delete/modify the current item by clicking the buttons in the NavBar.&nbsp; I can not see how this is implemented. Can you explain. Do I have to create a seperate module for the controls I wish to use this. <DIV>&nbsp;</DIV><DIV>This is buried pretty deep.&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>Since the customer orders display is part of a tab view, it is controlled by a TabViewController, the "CustomerOrdersTabViewController".&nbsp; This ultimately inherits from MasterDetailTabViewController which inherits from MasterDetailTabViewControllerBase.&nbsp; Here we find the method "ConfigureMasterViewContext":</DIV><DIV>&nbsp;</DIV><DIV>(Sorry about the double spacing)</DIV><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>Configure the Master Grid's ViewContext per the standard defaults.</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> This implementation configures the master grid to show</P></FONT><FONT size=2><P></FONT><FONT color=#808080 size=2>///</FONT><FONT color=#008000 size=2> its toolstrip, be readonly, and support add, delete, and edit of rows.</P></FONT><FONT size=2><P></FONT><FONT color=#808080 size=2>///</FONT><FONT color=#008000 size=2> Row double-click launches an editor for the current row.</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>protected</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>virtual</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> ConfigureMasterViewContext() {</P><P>mMasterViewContext.GridViewToolStripVisible = </FONT><FONT color=#0000ff size=2>true</FONT><FONT size=2>;</P><P>mMasterViewContext.ReadOnly = </FONT><FONT color=#0000ff size=2>true</FONT><FONT size=2>;</P><P>RegisterMasterCommandHandler(</FONT><FONT color=#008080 size=2>CommandNames</FONT><FONT size=2>.AddNew, AddNewCommandHandler&lt;TMaster&gt;);</P><P>RegisterMasterCommandHandler(</FONT><FONT color=#008080 size=2>CommandNames</FONT><FONT size=2>.Delete, DeleteCommandHandler&lt;TMaster&gt;);</P><P>RegisterMasterCommandHandler(</FONT><FONT color=#008080 size=2>CommandNames</FONT><FONT size=2>.Edit, EditCommandHandler&lt;TMaster&gt;);</P><P>mMasterViewContext.RowDoubleClickCommandName =</P><P>mMasterViewContext.MakeViewSpecificId(</FONT><FONT color=#008080 size=2>CommandNames</FONT><FONT size=2>.Edit);</P><P>}</P><DIV>Since this method is protected virtual, you could override it in your TabViewController to&nbsp;obtain different&nbsp;behavior.</DIV><DIV></FONT>&nbsp;</DIV></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>I see in Module.cs file that it's Service Dependency is not WorkItem but <FONT color=#2b91af size=2>IEntityEditorService.</FONT></DIV><DIV><FONT color=#2b91af size=2></FONT>&nbsp;</DIV><DIV><FONT color=#000000 size=2><DIV>I see this in SharedEditorModule.cs.&nbsp; It simply means that the SharedEditor module needs access to the EditorService in order to register itself for access by other modules.&nbsp; It doesn't need access to any workitem.</DIV><DIV>&nbsp;</DIV><DIV>Does this help?</DIV><DIV>&nbsp;</DIV><DIV>Bill J.</DIV></FONT></DIV>]]>
   </description>
   <pubDate>Tue, 18 Sep 2007 16:41:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=434&amp;PID=1209#1209</guid>
  </item> 
  <item>
   <title>EditorController : In the Orders Master tab you can...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=434&amp;PID=1206#1206</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 434<br /><strong>Posted:</strong> 18-Sep-2007 at 2:38pm<br /><br />In the Orders Master tab you can add/delete/modify the current item by clicking the buttons in the NavBar. <DIV>&nbsp;</DIV><DIV>I can not see how this is implemented. Can you explain. Do I have to create a seperate module for the controls I wish to use this. </DIV><DIV>&nbsp;</DIV><DIV>I see in Module.cs file that it's Service Dependency is not WorkItem but <FONT color=#2b91af size=2>IEntityEditorService.</FONT></DIV>]]>
   </description>
   <pubDate>Tue, 18 Sep 2007 14:38:17 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=434&amp;PID=1206#1206</guid>
  </item> 
 </channel>
</rss>