<?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 : [Resolved]Accessing current DetailGrid object???????</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : [Resolved]Accessing current DetailGrid object???????</description>
  <pubDate>Wed, 10 Jun 2026 04:15:25 -700</pubDate>
  <lastBuildDate>Tue, 15 Jan 2008 10:07:01 -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=614</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>[Resolved]Accessing current DetailGrid object??????? :  Originally posted by DeLightthanks...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2435#2435</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=21" rel="nofollow">IdeaBlade</a><br /><strong>Subject:</strong> 614<br /><strong>Posted:</strong> 15-Jan-2008 at 10:07am<br /><br /><table width="99%"><tr><td class="BBquote"><strong><em>Originally posted by DeLight</strong></em><br /><br />thanks for explanation. <BR>but could you please do textbox wider to (fnd maybe in quick reply form too). the main reason for this is posting sourcecodes.</td></tr></table> <DIV>&nbsp;</DIV><DIV>Ok, wider is better !</DIV><DIV>&nbsp;</DIV><DIV>Also, I am removing the posts regarding the forum format from this topic since it has nothing to do with Cabana.</DIV><DIV>&nbsp;</DIV><DIV>Thank you for the feedback :)</DIV>]]>
   </description>
   <pubDate>Tue, 15 Jan 2008 10:07:01 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2435#2435</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : DeLight has made some good improvements....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2423#2423</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> 614<br /><strong>Posted:</strong> 11-Jan-2008 at 1:16pm<br /><br />DeLight has made some good improvements. The only thing that needs to be done is add more events to the grid. Click, Drag and Drop and Context Menu's.<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 11 Jan 2008 13:16:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2423#2423</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : Could you post it? </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2420#2420</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> 614<br /><strong>Posted:</strong> 11-Jan-2008 at 1:05pm<br /><br />Could you post it?]]>
   </description>
   <pubDate>Fri, 11 Jan 2008 13:05:05 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2420#2420</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? :  uploads/20080111_160433_GridViewAdapter.rar  yes....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2419#2419</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=126" rel="nofollow">DeLight</a><br /><strong>Subject:</strong> 614<br /><strong>Posted:</strong> 11-Jan-2008 at 1:03pm<br /><br /><a href="http://www.ideablade.com/forum/uploads/20080111_160433_GridViewAdapter.rar" target="_blank"><DIV>uploads/20080111_160433_GridViewAdapter.rar</A></DIV><DIV>&nbsp;</DIV><DIV>yes. you are right.</DIV><span style="font-size:10px"><br /><br />Edited by DeLight - 11-Jan-2008 at 1:05pm</span>]]>
   </description>
   <pubDate>Fri, 11 Jan 2008 13:03:40 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2419#2419</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : Looks as if you made changes to...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2418#2418</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> 614<br /><strong>Posted:</strong> 11-Jan-2008 at 12:54pm<br /><br />Looks as if you made changes to the GridViewAdapter as well.]]>
   </description>
   <pubDate>Fri, 11 Jan 2008 12:54:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2418#2418</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : Not b a bother but I have one...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2417#2417</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> 614<br /><strong>Posted:</strong> 11-Jan-2008 at 12:51pm<br /><br />Not b a bother but I have one more issue. I get the following error &nbsp;(Error&nbsp;1&nbsp;'IdeaBlade.Cab.DevEx.DevExGridViewAdapter.AllowOnlyOneMasterRowExpanded': no suitable method found to override&nbsp;C:\Development\CabanaDevExCS\LibSource\IdeaBlade\IdeaBlade.Cab.DevEx\Miscellaneous\DevExGridViewAdapter.cs&nbsp;369&nbsp;33&nbsp;IdeaBlade.Cab.DevEx<BR>)on:<DIV>&nbsp;</DIV><FONT size=2><P>AllowOnlyOneMasterRowExpanded</P></FONT><FONT size=2><P>AutoExpandAllMasterRows</P></FONT><FONT size=2><P>GridViewContextMenuVisible</P></FONT><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 11 Jan 2008 12:51:05 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2417#2417</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : Missing that file in the rar....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2416#2416</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> 614<br /><strong>Posted:</strong> 11-Jan-2008 at 12:36pm<br /><br />Missing that file in the rar. Tx]]>
   </description>
   <pubDate>Fri, 11 Jan 2008 12:36:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2416#2416</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : posting it again. but look at...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2415#2415</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=126" rel="nofollow">DeLight</a><br /><strong>Subject:</strong> 614<br /><strong>Posted:</strong> 11-Jan-2008 at 12:34pm<br /><br />posting it again. but look at file named DevExGridViewMenuItem.cs in second rar i've posted. I think you just have the first one.<DIV></DIV><DIV><table width="99%"><tr><td><pre class="BBcode"></DIV><DIV>using IdeaBlade.Cab.Interface;<BR>using IdeaBlade.Cab.Interface.Constants;<BR>using IdeaBlade.Cab.UI.Services;<BR>using Microsoft.Practices.CompositeUI;<BR>using DevExpress.Utils.Menu;<BR>using System;<BR>using System.Drawing;</DIV><DIV>namespace IdeaBlade.Cab.DevEx<BR>{<BR>&nbsp;&nbsp;&nbsp; public class DevExGridViewMenuItem : DXMenuItem<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public DevExGridViewMenuItem(string pCaption, EventHandler pClick, Image pImage, bool pBeginGroup)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : base(pCaption, pClick, pImage)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.BeginGroup = pBeginGroup;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public ContextMenuItem SourceContextMenuItem<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; get<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return mSourceContextMenuItem;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mSourceContextMenuItem = value;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public object RowObject<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; get<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return mRowObject;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mRowObject = value;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private ContextMenuItem mSourceContextMenuItem;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private object mRowObject;<BR>&nbsp;&nbsp;&nbsp; }<BR>}<BR></pre></td></tr></table></DIV>]]>
   </description>
   <pubDate>Fri, 11 Jan 2008 12:34:23 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2415#2415</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : It is actually not defined in...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2413#2413</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> 614<br /><strong>Posted:</strong> 11-Jan-2008 at 12:15pm<br /><br />It is actually not defined in any of those files. I have tried searching all the documents.]]>
   </description>
   <pubDate>Fri, 11 Jan 2008 12:15:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2413#2413</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? :  Originally posted by orcitiesWhere...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2412#2412</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=126" rel="nofollow">DeLight</a><br /><strong>Subject:</strong> 614<br /><strong>Posted:</strong> 11-Jan-2008 at 12:09pm<br /><br /><table width="99%"><tr><td class="BBquote"><strong><em>Originally posted by orcities</strong></em><br /><br />Where do you have DevExGridViewMenuItem ?</td></tr></table><DIV></DIV><DIV></DIV><DIV></DIV>DevExGridViewMenuItem is DXMenuItem with some additional properties (current RowObject to refer to it in MenuItem click handler and SourceContextMenuItem to fire the handler in controller).&nbsp;It is used only in IdeaBlade.Cab.DevEx project. It is included in DetailGrid2.rar which I've uploaded recently.]]>
   </description>
   <pubDate>Fri, 11 Jan 2008 12:09:18 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2412#2412</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : Where do you have DevExGridViewMenuItem...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2411#2411</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> 614<br /><strong>Posted:</strong> 11-Jan-2008 at 11:30am<br /><br /><P>Where do you have DevExGridViewMenuItem ?</P>]]>
   </description>
   <pubDate>Fri, 11 Jan 2008 11:30:41 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2411#2411</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : example of using context menus...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2409#2409</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=126" rel="nofollow">DeLight</a><br /><strong>Subject:</strong> 614<br /><strong>Posted:</strong> 11-Jan-2008 at 11:08am<br /><br /><P>example of using context menus (almost the same way as using RowClick events):</P><DIV><P><FONT size=2>context.GridViewContextMenuVisible = </FONT><FONT color=#0000ff size=2>true</FONT><FONT size=2>;</P><P>context.AddContextMenuItem(</FONT><FONT color=#a31515 size=2>"Add item"</FONT><FONT size=2>, MakeWorkItemSpecificId(</FONT><FONT color=#2b91af size=2>CommandNames</FONT><FONT size=2>.AddNew));</P><P>context.AddContextMenuItem(</FONT><FONT color=#a31515 size=2>"Edit item"</FONT><FONT size=2>, EditReservationHandler);</P><P>context.AddContextMenuItem(</FONT><FONT color=#a31515 size=2>"Delete parent item (no action)"</FONT><FONT size=2>, </FONT><FONT color=#0000ff size=2>true</FONT><FONT size=2>);</P><P>context.AddChildContextMenuItem(</FONT><FONT color=#a31515 size=2>"Delete option 1"</FONT><FONT size=2>, DeleteReservationHandler);</P><P>context.AddChildContextMenuItem(</FONT><FONT color=#a31515 size=2>"Delete option 2"</FONT><FONT size=2>, AnnulReservationHandler);</P></FONT></DIV><DIV>...</DIV><DIV>&nbsp;</DIV><DIV><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> EditReservationHandler(</FONT><FONT color=#2b91af size=2>GridRowEventArgs</FONT><FONT size=2> e)</P><P>{</P><P>EditorService.Edit(</FONT><FONT color=#2b91af size=2>EditorNames</FONT><FONT size=2>.Reservation, (</FONT><FONT color=#2b91af size=2>Reservation</FONT><FONT size=2>) e.RowObject);</P><P>}</P><DIV>...</DIV><DIV>&nbsp;</DIV><DIV></FONT><FONT color=#2b91af size=2>CabFns</FONT><FONT size=2>.RegisterLocalCommandHandler(WorkItem, </FONT><FONT color=#0000ff size=2>this</FONT><FONT size=2>.MakeWorkItemSpecificId(<FONT color=#2b91af>CommandNames</FONT><FONT size=2>.AddNew</FONT>), AddReservation);</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2><FONT size=2><P></FONT><FONT color=#0000ff size=2>protected</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>override</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> AddReservation(<FONT color=#0000ff size=2>object</FONT><FONT size=2> sender, </FONT><FONT color=#2b91af size=2>EventArgs</FONT><FONT size=2> e</FONT>)</P><P>{</P><P>EditorService.AddNew(</FONT><FONT color=#2b91af size=2>EditorNames</FONT><FONT size=2>.Reservation,&nbsp;</FONT><FONT color=#0000ff size=2>null</FONT><FONT size=2>);</P><P>} </P></FONT></FONT></DIV><DIV>notice that menu items for adding objects&nbsp;are added via command names, so this menuitems are shown even when no data is present in&nbsp;grid.</DIV><DIV>&nbsp;</DIV><DIV>ps. compiling all my changes to original Cabana in one solution (in one framework) is my big plan for nearest future after my main project big release (last days of January). and I wonder if IdeaBlade is going to release new version of Cabana - maybe we have to cooperate some way.</DIV></DIV>]]>
   </description>
   <pubDate>Fri, 11 Jan 2008 11:08:20 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2409#2409</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : An example of the Context Menu...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2404#2404</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> 614<br /><strong>Posted:</strong> 11-Jan-2008 at 8:03am<br /><br /><P>An example of the Context Menu use would be great to. I am tempted to ask for you whole cabana changes. I really like what you have done.</P>]]>
   </description>
   <pubDate>Fri, 11 Jan 2008 08:03:50 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2404#2404</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : I really like everything you have...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2402#2402</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> 614<br /><strong>Posted:</strong> 11-Jan-2008 at 7:20am<br /><br />I really like everything you have done. I will probably end up adding Drag-n-Drop to the features eventually. <DIV>&nbsp;</DIV><DIV>Could I also get the code for the DevExGridViewMenuItem </DIV>]]>
   </description>
   <pubDate>Fri, 11 Jan 2008 07:20:02 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2402#2402</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : some other files you need:  u...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2397#2397</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=126" rel="nofollow">DeLight</a><br /><strong>Subject:</strong> 614<br /><strong>Posted:</strong> 10-Jan-2008 at 4:02pm<br /><br />some other files you need: <DIV><a href="http://www.ideablade.com/forum/uploads/20080110_190444_DetailGrid2.rar" target="_blank">uploads/20080110_190444_DetailGrid2.rar</A></DIV><DIV>&nbsp;</DIV><DIV><table width="99%"><tr><td class="BBquote"><strong><em>Originally posted by orcities</strong></em><br /><br />Where are you tying the GRidView.RowClick to the Context.RowClick Event?</td></tr></table></DIV><DIV>&nbsp;</DIV><DIV><strong>DeExGridViewAdapter</strong>:</DIV><DIV><table width="99%"><tr><td><pre class="BBcode"><FONT color=#0000ff size=2>public</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>override</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> InitializeGridViewEvents()</DIV><DIV><DIV>{</DIV><DIV>...</DIV><DIV></FONT><FONT size=2><strong>GridView.MouseDown += MouseDownHandler;</strong></FONT></DIV><DIV><FONT size=2>...</FONT></DIV><DIV><FONT size=2>}</FONT></DIV><DIV>&nbsp;</DIV><DIV><FONT size=2><FONT color=#0000ff size=2>void</FONT><FONT size=2> MouseDownHandler(</FONT><FONT color=#0000ff size=2>object</FONT><FONT size=2> sender, </FONT><FONT color=#2b91af size=2>MouseEventArgs</FONT><FONT size=2> e)</DIV><DIV><DIV>{</DIV><DIV></FONT><FONT color=#2b91af size=2>GridView</FONT><FONT size=2> gv = (</FONT><FONT color=#2b91af size=2>GridView</FONT><FONT size=2>) sender;</FONT></DIV><DIV><FONT color=#2b91af size=2>GridHitInfo</FONT><FONT size=2> hitInfo = gv.CalcHitInfo(e.X, e.Y);</FONT></DIV><DIV><FONT color=#0000ff size=2>if</FONT><FONT size=2> (hitInfo.IsValid &amp;&amp; hitInfo.InRow &amp;&amp; gv.IsDataRow(hitInfo.RowHandle))</FONT></DIV><DIV><FONT size=2>{</FONT></DIV><DIV><FONT color=#0000ff size=2>object</FONT><FONT size=2> rowObject = gv.GetRow(hitInfo.RowHandle);</FONT></DIV><DIV><FONT color=#0000ff size=2>if</FONT><FONT size=2> (rowObject == </FONT><FONT color=#0000ff size=2>null</FONT><FONT size=2>)</FONT></DIV><DIV>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff size=2>return</FONT><FONT size=2>;</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>GridRowEventArgs info = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> GridRowEventArgs(rowObject);</FONT></DIV><DIV><FONT size=2><strong>ViewContext.OnRowClick(info);</strong></FONT></DIV><DIV><FONT size=2>}</FONT></DIV><DIV>&nbsp;</DIV><DIV><FONT size=2>mLastHitInfo = hitInfo;</FONT></DIV><DIV><FONT size=2>}</FONT></FONT><FONT size=2></pre></td></tr></table></FONT></DIV></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>&nbsp;</DIV></FONT></DIV><span style="font-size:10px"><br /><br />Edited by DeLight - 10-Jan-2008 at 4:11pm</span>]]>
   </description>
   <pubDate>Thu, 10 Jan 2008 16:02:16 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2397#2397</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : Where are you tying the GRidView.RowClick...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2396#2396</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> 614<br /><strong>Posted:</strong> 10-Jan-2008 at 2:13pm<br /><br />Where are you tying the GRidView.RowClick to the Context.RowClick Event?]]>
   </description>
   <pubDate>Thu, 10 Jan 2008 14:13:52 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2396#2396</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : Delight, Great example. It is...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2395#2395</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> 614<br /><strong>Posted:</strong> 10-Jan-2008 at 1:17pm<br /><br />Delight,<DIV>Great example.&nbsp; It is going to take me some time to go through it but I will probably have questions.</DIV>]]>
   </description>
   <pubDate>Thu, 10 Jan 2008 13:17:44 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2395#2395</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : well.. sorry, have no time to...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2393#2393</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=126" rel="nofollow">DeLight</a><br /><strong>Subject:</strong> 614<br /><strong>Posted:</strong> 10-Jan-2008 at 1:53am<br /><br />well.. sorry, have no time to write much. worked on&nbsp;detail grid&nbsp;problem long time ago. solved it with custom DevExGridViewAdapter and GridViewContext. <DIV>&nbsp;</DIV><DIV>files:</DIV><DIV><a href="http://www.ideablade.com/forum/uploads/20080110_050528_DetailGrid.rar" target="_blank">uploads/20080110_050528_DetailGrid.rar</A></DIV><DIV>&nbsp;</DIV><DIV>hope you find the way to use the sources. any questions are welcome.</DIV><DIV>&nbsp;</DIV><DIV>example:</DIV><DIV><table width="99%"><tr><td><pre class="BBcode"><FONT color=#0000ff size=2>private</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> AddBedGridView()</FONT></DIV><DIV><FONT size=2>{</FONT></DIV><DIV><FONT color=#2b91af size=2>EntityBindingSource</FONT><FONT size=2> ebs = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> </FONT><FONT color=#2b91af size=2>EntityBindingSource</FONT><FONT size=2>(</FONT><FONT color=#0000ff size=2>typeof</FONT><FONT size=2>(</FONT><FONT color=#2b91af size=2>Room</FONT><FONT size=2>), EntityManager, ParentRootEntity, </FONT><FONT color=#2b91af size=2>ClientGroup</FONT><FONT size=2>.Descriptors.RoomList.PropertyPath);</DIV><P></FONT><FONT color=#2b91af size=2>GridViewContext</FONT><FONT size=2> gvc = </FONT><FONT color=#2b91af size=2>GridViewContext</FONT><FONT size=2>.AddNew(WorkItem, </FONT><FONT color=#2b91af size=2>PlaceholderNames</FONT><FONT size=2>.SettleFreeBeds, ebs);</P><P>gvc.DefaultGridBuilderPrototypeName = </FONT><FONT color=#2b91af size=2>GridBuilderNames</FONT><FONT size=2>.SettleRooms;</P><P>gvc.RowClickHandler = PlaceChosen;</P><P>gvc.AutoExpandAllMasterRows = </FONT><FONT color=#0000ff size=2>true</FONT><FONT size=2>;</P><P></FONT><FONT color=#2b91af size=2>DetailGridViewContext</FONT><FONT size=2> dgvc = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> </FONT><FONT color=#2b91af size=2>DetailGridViewContext</FONT><FONT size=2>(gvc, </FONT><FONT color=#a31515 size=2>"Beds"</FONT><FONT size=2>, </FONT><FONT color=#0000ff size=2>typeof</FONT><FONT size=2>(</FONT><FONT color=#2b91af size=2>Bed</FONT><FONT size=2>), </FONT><FONT color=#2b91af size=2>Room</FONT><FONT size=2>.Descriptors.FreeBeds);</P><P>dgvc.RowClickHandler = PlaceChosen;</P><P>dgvc.DefaultGridBuilderPrototypeName = </FONT><FONT color=#2b91af size=2>GridBuilderNames</FONT><FONT size=2>.SmallSettleRoomsBedsDetail;</P><P>AddNewSubGridView&lt;</FONT><FONT color=#2b91af size=2>Room</FONT><FONT size=2>&gt;(</FONT><FONT color=#2b91af size=2>PlaceholderNames</FONT><FONT size=2>.SettleFreeBeds);</P><P>}</P><DIV></FONT>...</DIV><DIV><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> PlaceChosen(</FONT><FONT color=#2b91af size=2>GridRowEventArgs</FONT><FONT size=2> e)</P><P>{</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (e.RowObject </FONT><FONT color=#0000ff size=2>is</FONT><FONT size=2> </FONT><FONT color=#2b91af size=2>Room</FONT><FONT size=2>)</P><P></FONT><FONT size=2>{ ... </FONT><FONT size=2>}</P><P></FONT><FONT color=#0000ff size=2>else</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (e.RowObject </FONT><FONT color=#0000ff size=2>is</FONT><FONT size=2> </FONT><FONT color=#2b91af size=2>Bed</FONT><FONT size=2>)</P><P>{ ... }</P></FONT><P><FONT size=2>}</P></FONT></DIV><DIV>&nbsp;</DIV><DIV></pre></td></tr></table></DIV><span style="font-size:10px"><br /><br />Edited by DeLight - 10-Jan-2008 at 2:17am</span>]]>
   </description>
   <pubDate>Thu, 10 Jan 2008 01:53:52 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2393#2393</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : I agree it is not the right way...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2381#2381</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> 614<br /><strong>Posted:</strong> 08-Jan-2008 at 11:28am<br /><br />I agree it is not the right way to do it. But, this problem put me almost a month behind. I will refactor later if I get more information.]]>
   </description>
   <pubDate>Tue, 08 Jan 2008 11:28:53 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2381#2381</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : Well, it pretty much blows view...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2380#2380</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> 614<br /><strong>Posted:</strong> 08-Jan-2008 at 11:25am<br /><br /><P>Well, it pretty much blows view encapsulation and isolation out of the water, but I'm glad you're moving again.</P><DIV></DIV>I too am bewildered by the fact that your CurrencyManager was null, but I've gotten busy again and don't have time to look at it.&nbsp; When things calm down, I'll try it on my test project.<DIV>&nbsp;</DIV><DIV>Bill J.</DIV>]]>
   </description>
   <pubDate>Tue, 08 Jan 2008 11:25:36 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2380#2380</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : I have made the DetailGridView...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2377#2377</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> 614<br /><strong>Posted:</strong> 08-Jan-2008 at 7:06am<br /><br />I have made the DetailGridView visible from my Context. This allows me to create any event that I want. Using the grid events I can get the data row information.<DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 08 Jan 2008 07:06:29 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2377#2377</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : This is proving to be very difficult....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2375#2375</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> 614<br /><strong>Posted:</strong> 07-Jan-2008 at 9:57am<br /><br />This is proving to be very difficult. I can access the new DetailGridViewContext and the DetailGridBindingManager. <DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>But, the problem is that the DetailGridBindingManager.CurrencyManager is alway empty.</DIV><DIV>&nbsp;</DIV><DIV>I have set my DetailGridBindingManager in my DetailGridViewBuilder.CreateDetailGrid(). In the page controller I add the MyDetailGridViewContext to the GridViewContext. Then when the position for the GridViewContext.BindingSource.PositionChanged is fired I create an event that catches when the DetailGridViewContext position has changed. </DIV><DIV>&nbsp;</DIV><DIV>This works but then the DetailGridBindingManager.CurrencyManager is empty.</DIV><DIV>&nbsp;</DIV><DIV>Puzzling</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 07 Jan 2008 09:57:01 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2375#2375</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : Actually, I&amp;#039;ve been waiting...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2372#2372</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> 614<br /><strong>Posted:</strong> 04-Jan-2008 at 5:00pm<br /><br />Actually, I've been waiting to see what you'd do with this once we got it working.<DIV>&nbsp;</DIV><DIV>You must create the DetailGridViewContext and add it to the main GridViewContext in your PageController.&nbsp; You'll need to keep a reference to&nbsp;it around in a member variable somewhere.</DIV><DIV>&nbsp;</DIV><DIV>Then, whenever a detail grid view is open, its BindingManager will be available in the DetailGridViewContext.</DIV><DIV>&nbsp;</DIV><DIV>I'm not sure how you plan to make use of this information.</DIV><DIV>&nbsp;</DIV><DIV>Bill J.</DIV>]]>
   </description>
   <pubDate>Fri, 04 Jan 2008 17:00:38 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2372#2372</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : Ok, now that I have it running...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2371#2371</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> 614<br /><strong>Posted:</strong> 04-Jan-2008 at 3:08pm<br /><br />Ok, now that I have it running my grid builder and saving my detailgridviewcontext with the gridbindingmanager visible I need to figure out how to get to it and find the current item.<DIV>&nbsp;</DIV><DIV>I am not sure how that would be done.&nbsp; I can't do it in the PageController.Add...DetailGrid because it hasn't called&nbsp;CreateDetailGrid()&nbsp;to set the Context.DetailGridBindingManager.</DIV><DIV>&nbsp;</DIV><DIV>Do you have a suggestion, theory,&nbsp;etc.&nbsp;on way to proceed?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 04 Jan 2008 15:08:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2371#2371</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : I had the Generic inheriting the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2370#2370</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> 614<br /><strong>Posted:</strong> 04-Jan-2008 at 2:14pm<br /><br />I had the Generic inheriting the wrong class. My bad.]]>
   </description>
   <pubDate>Fri, 04 Jan 2008 14:14:11 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2370#2370</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : Next problem. It is not using...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2369#2369</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> 614<br /><strong>Posted:</strong> 04-Jan-2008 at 2:05pm<br /><br />Next problem. It is not using anything that I have set. Meaning it is not using the presenter. I have set a break point in the LOCGridViewPresenter.AddDetalGrid and is never hit.<DIV>&nbsp;</DIV><DIV><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><DIV>Presenter:<BR><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">public</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"> <SPAN style="COLOR: blue">class</SPAN> <SPAN style="COLOR: #2b91af">LOCGridViewPresenter</SPAN>&lt;TView&gt; : <SPAN style="COLOR: #2b91af">DevExGridViewPresenter</SPAN>&lt;TView&gt; <SPAN style="COLOR: blue">where</SPAN> TView : <SPAN style="COLOR: #2b91af">IBindingView<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">{<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: blue">protected</SPAN> <SPAN style="COLOR: blue">override</SPAN> <SPAN style="COLOR: blue">void</SPAN> AddDetailGrid(<SPAN style="COLOR: #2b91af">DetailGridViewContextBase</SPAN> DetailViewContext)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>{<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: #2b91af">DetailGridViewBuilderBase</SPAN> detailGridBuilder = <SPAN style="COLOR: blue">new</SPAN> <SPAN style="COLOR: #2b91af">LOCDetailGridViewBuilder</SPAN>(DetailViewContext, BindingManager);<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>detailGridBuilder.Build();<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>}<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 10pt"><SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">}</SPAN></P></DIV><DIV>&nbsp;</DIV><DIV>GreyGridView:<o:p></o:p></SPAN></DIV><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">&#091;<SPAN style="COLOR: #2b91af">InjectionMethod</SPAN>&#093;<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">public</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"> <SPAN style="COLOR: blue">void</SPAN> InjectPresenter(&#091;<SPAN style="COLOR: #2b91af">CreateNew</SPAN>&#093;<SPAN style="COLOR: #2b91af">LOCGridViewPresenter</SPAN>&lt;<SPAN style="COLOR: #2b91af">IBindingView</SPAN>&gt; pPresenter) {<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>SetPresenter(pPresenter);<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 10pt"><SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">}<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 10pt"><SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">PageController: <o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">CreateChildGridContext();<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 10pt"><SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">pContext.ChildViewId = ChildViewId;<BR>ViewFactory.AddNew(Constants.<SPAN style="COLOR: #2b91af">ViewNames</SPAN>.GreyGridView, WorkItem, ChildViewId, <SPAN style="COLOR: blue">typeof</SPAN>(<SPAN style="COLOR: #2b91af">QuestionGroup</SPAN>));<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 10pt"><SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">private</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"> <SPAN style="COLOR: blue">void</SPAN> CreateOrganizationGridContext()<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">{<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>AssignmentBindingSource = <SPAN style="COLOR: blue">new</SPAN> <SPAN style="COLOR: #2b91af">EntityBindingSource</SPAN>(<SPAN style="COLOR: blue">typeof</SPAN>(<SPAN style="COLOR: #2b91af">Organization</SPAN>), EntityManager, mEmptyOrgList, <SPAN style="COLOR: #2b91af">String</SPAN>.Empty);<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: #2b91af">GridViewContext</SPAN> context = <SPAN style="COLOR: #2b91af">GridViewContext</SPAN>.AddNew(WorkItem, Constants.<SPAN style="COLOR: #2b91af">WorkspaceNames</SPAN>.SearchResultsViewSmartPartPlaceholder, AssignmentBindingSource);<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: #2b91af">IGridBuilderService</SPAN> gridBuilderService = <SPAN style="COLOR: blue">this</SPAN>.WorkItem.Services.Get&lt;<SPAN style="COLOR: #2b91af">IGridBuilderService</SPAN>&gt;();<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>context.GridBuilderPrototype = gridBuilderService.Get&lt;<SPAN style="COLOR: #2b91af">Organization</SPAN>&gt;();<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>AddAssignmentDetailGrid(context);<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">}<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">private</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"> <SPAN style="COLOR: blue">void</SPAN> AddAssignmentDetailGrid(<SPAN style="COLOR: #2b91af">GridViewContext</SPAN> pParentViewContext)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">{<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN><SPAN style="COLOR: green">// Create the view context for the detail view<o:p></o:p></SPAN></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN><SPAN style="COLOR: #2b91af">DetailGridViewContextBase</SPAN> mDetailViewContext = <SPAN style="COLOR: blue">new</SPAN> <SPAN style="COLOR: #2b91af">LOCDetailGridViewContext</SPAN>(pParentViewContext, <SPAN style="COLOR: #a31515">"Contact"</SPAN>, <SPAN style="COLOR: blue">typeof</SPAN>(<SPAN style="COLOR: #2b91af">OrganizationContact</SPAN>),<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><SPAN style="COLOR: #2b91af">EntityRelations</SPAN>.Organization_OrganizationContact.ChildRelationPropertyName);<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 10pt"><SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">}<o:p></o:p></SPAN></P></DIV>]]>
   </description>
   <pubDate>Fri, 04 Jan 2008 14:05:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2369#2369</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : My fault again. I was still doing...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2368#2368</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> 614<br /><strong>Posted:</strong> 04-Jan-2008 at 12:45pm<br /><br />My fault again. I was still doing RegisterViewType&lt;&gt;(). Got it to work.<DIV>Tx</DIV>]]>
   </description>
   <pubDate>Fri, 04 Jan 2008 12:45:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2368#2368</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : It is strange I see it the correct...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2367#2367</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> 614<br /><strong>Posted:</strong> 04-Jan-2008 at 12:41pm<br /><br />It is strange I see it the correct RegisterViewType(string, type) but I it doesn't show in the compiled version.]]>
   </description>
   <pubDate>Fri, 04 Jan 2008 12:41:25 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2367#2367</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : Once again version differences...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2366#2366</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> 614<br /><strong>Posted:</strong> 04-Jan-2008 at 12:32pm<br /><br />Once again version differences cause a problem.]]>
   </description>
   <pubDate>Fri, 04 Jan 2008 12:32:17 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2366#2366</guid>
  </item> 
  <item>
   <title>[Resolved]Accessing current DetailGrid object??????? : Error43The non-generic method...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2365#2365</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> 614<br /><strong>Posted:</strong> 04-Jan-2008 at 12:30pm<br /><br />Error&nbsp;43&nbsp;The non-generic method 'IdeaBlade.Cab.UI.Services.ViewFactoryServiceBase.RegisterViewType(string, System.Type)' cannot be used with type arguments&nbsp;C:\Development\CEMS\Source\Foundation\Services\ViewFactoryService.cs&nbsp;25&nbsp;7&nbsp;LOC.CEMS.Foundation<BR>]]>
   </description>
   <pubDate>Fri, 04 Jan 2008 12:30:33 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=614&amp;PID=2365#2365</guid>
  </item> 
 </channel>
</rss>