<?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 : [CANCELLED] Adding an Item to the PageNavigatorAdapter</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : [CANCELLED] Adding an Item to the PageNavigatorAdapter</description>
  <pubDate>Wed, 10 Jun 2026 04:20:46 -700</pubDate>
  <lastBuildDate>Sun, 16 Dec 2007 22:20:35 -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=571</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>[CANCELLED] Adding an Item to the PageNavigatorAdapter : Yes you are right. Thanks! </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2238#2238</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> 571<br /><strong>Posted:</strong> 16-Dec-2007 at 10:20pm<br /><br /><P>Yes you are right. Thanks!</P>]]>
   </description>
   <pubDate>Sun, 16 Dec 2007 22:20:35 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2238#2238</guid>
  </item> 
  <item>
   <title>[CANCELLED] Adding an Item to the PageNavigatorAdapter : Thanks, me too. For now, I have...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2215#2215</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 571<br /><strong>Posted:</strong> 14-Dec-2007 at 9:00am<br /><br />Thanks, me too.&nbsp; For now, I have given up on this particular item.&nbsp; Too many other things to concentrate on at the moment.<DIV>&nbsp;</DIV><DIV>The whole CAB/DF thing is lightly supported through IdeaBlade.&nbsp; Hopefully, as the days and months waddle by, more resources can be applied to this area.&nbsp; Thanks a lot for your input.&nbsp; That is another hope of mine...that more users will interact with these forums.&nbsp; Shared experiences are quite beneficial in the development process.</DIV>]]>
   </description>
   <pubDate>Fri, 14 Dec 2007 09:00:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2215#2215</guid>
  </item> 
  <item>
   <title>[CANCELLED] Adding an Item to the PageNavigatorAdapter : Ok. I hope you will make it work....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2210#2210</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> 571<br /><strong>Posted:</strong> 13-Dec-2007 at 10:56pm<br /><br />Ok. I hope you will make it work. :)<DIV>&nbsp;</DIV><DIV>By the way, Where are the Ideablade Support? :)</DIV>]]>
   </description>
   <pubDate>Thu, 13 Dec 2007 22:56:09 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2210#2210</guid>
  </item> 
  <item>
   <title>[CANCELLED] Adding an Item to the PageNavigatorAdapter : Somehow a UI extension site might...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2200#2200</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 571<br /><strong>Posted:</strong> 13-Dec-2007 at 8:44am<br /><br /><P>Somehow a UI extension site might fit in here...I just can't get my head around it, yet.</P>]]>
   </description>
   <pubDate>Thu, 13 Dec 2007 08:44:09 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2200#2200</guid>
  </item> 
  <item>
   <title>[CANCELLED] Adding an Item to the PageNavigatorAdapter : Oh ok. I get it. :) Nope. I think...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2194#2194</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> 571<br /><strong>Posted:</strong> 12-Dec-2007 at 9:03pm<br /><br /><P>Oh ok. I get it. :) Nope. I think its do-able but I must admit it's hard implementing it in CAB :) </P>]]>
   </description>
   <pubDate>Wed, 12 Dec 2007 21:03:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2194#2194</guid>
  </item> 
  <item>
   <title>[CANCELLED] Adding an Item to the PageNavigatorAdapter : mykel, thanks gobs for the response....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2193#2193</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 571<br /><strong>Posted:</strong> 12-Dec-2007 at 8:34pm<br /><br />mykel, thanks gobs for the response.&nbsp; Two thumbs up!&nbsp; <img src="http://www.ideablade.com/forum/smileys/smiley20.gif" height="17" width="23" border="0" align="absmiddle" alt="Thumbs%20Up" />&nbsp;<img src="http://www.ideablade.com/forum/smileys/smiley20.gif" height="17" width="23" border="0" align="absmiddle" alt="Thumbs%20Up" /><DIV>&nbsp;</DIV><DIV>My gut is telling me that fiddling with the interfaces on this Adapter is not the way to go, though.&nbsp; The toolbar's Button.Add functionality (for example)&nbsp;should be exposed so that the user control can add to its basic set of items (Print Report Button, Drop-Down List Control for filtering data, Simple label control for information, etc.).&nbsp; Adding the proper handler would be module specific.&nbsp; Your undo example is good and I understand the work involved in making it happen (for the most part); however, an ad hoc toolbar item is what I would like to achieve.&nbsp; Perhaps, I am dreaming a little too much, eh?</DIV>]]>
   </description>
   <pubDate>Wed, 12 Dec 2007 20:34:31 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2193#2193</guid>
  </item> 
  <item>
   <title>[CANCELLED] Adding an Item to the PageNavigatorAdapter : oh Im sorry, I forgot about the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2191#2191</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> 571<br /><strong>Posted:</strong> 12-Dec-2007 at 8:10pm<br /><br />oh Im sorry, I forgot about the PageController class. You need to add the ff in the PageController, before doing something in the SummaryDetailPageController:<DIV>&nbsp;</DIV><FONT color=#0000ff size=2><P>#region</FONT><FONT size=2> Undo Item</P><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>Handle request to undo an item.</FONT><FONT color=#808080 size=2>&lt;/summary&gt;</P></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2>protected</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> UndoItemHandler(</FONT><FONT color=#0000ff size=2>object</FONT><FONT size=2> sender, </FONT><FONT color=#2b91af size=2>EventArgs</FONT><FONT size=2>&lt;</FONT><FONT color=#2b91af size=2>Object</FONT><FONT size=2>&gt; e)</P><P>{</P><P></FONT><FONT color=#008000 size=2>// ToDo: Use Resources</P></FONT><FONT size=2><P></P><P></FONT><FONT color=#0000ff size=2>object</FONT><FONT size=2> item = e.Data;</P><P>UndoItem(item); </P><P>}</P><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>Delete the item.</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 can only delete </P></FONT><FONT size=2><P></FONT><FONT color=#808080 size=2>///</FONT><FONT color=#008000 size=2> an </FONT><FONT color=#808080 size=2>&lt;see cref="Entity"/&gt;</FONT><FONT color=#008000 size=2>.</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> UndoItem(</FONT><FONT color=#0000ff size=2>object</FONT><FONT size=2> pItem)</P><P>{ </P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (pItem </FONT><FONT color=#0000ff size=2>is</FONT><FONT size=2> </FONT><FONT color=#2b91af size=2>Entity</FONT><FONT size=2>)</P><P>{</P><P>((</FONT><FONT color=#2b91af size=2>Entity</FONT><FONT size=2>)pItem).Undo();</P><P>((</FONT><FONT color=#2b91af size=2>Entity</FONT><FONT size=2>)pItem).ClearErrors();</P><P>((</FONT><FONT color=#2b91af size=2>CommonEntity</FONT><FONT size=2>)pItem).VerifierResults.Clear();</P><P>}</P><P></FONT><FONT color=#0000ff size=2>else</P></FONT><FONT size=2><P>{</P><P></FONT><FONT color=#0000ff size=2>throw</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> </FONT><FONT color=#2b91af size=2>InvalidOperationException</FONT><FONT size=2>(</FONT><FONT color=#a31515 size=2>"Can't undo an item of type, "</FONT><FONT size=2> + pItem.GetType());</P><P>}</P><P>}</P></FONT><FONT color=#0000ff size=2><P>#endregion</P><DIV></DIV><P>&nbsp;</P><P><FONT color=#000000>Note that this is only my example for creating an undo functionality. You have to modify the code inside the methods and events in order to implement the functionality of your toolbar button event once you click it.</P><DIV></DIV><DIV>I think thats all. I am sorry if ever I missed out something. Let me know if you encounter problems with this. </DIV><DIV>&nbsp;</DIV><DIV>Hope this helps. :)</DIV></FONT></FONT>]]>
   </description>
   <pubDate>Wed, 12 Dec 2007 20:10:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2191#2191</guid>
  </item> 
  <item>
   <title>[CANCELLED] Adding an Item to the PageNavigatorAdapter : And then in the generic PageController...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2190#2190</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> 571<br /><strong>Posted:</strong> 12-Dec-2007 at 8:05pm<br /><br />And then in the generic PageController (ex. <FONT color=#2b91af size=2>SummaryDetailPageController</FONT><FONT size=2>&lt;TRootObject&gt;) you configure the events of your added toolbar.<DIV></DIV><DIV></DIV><FONT color=#808080 size=2><P>///</FONT><FONT color=#008000 size=2> </FONT><FONT color=#808080 size=2>&lt;summary&gt;</FONT><FONT color=#008000 size=2>Configure the UndoItem button.</FONT><FONT color=#808080 size=2>&lt;/summary&gt;</FONT><FONT color=#008000 size=2> </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> ConfigureUndoItemButton()</P><P>{</P><P>PageToolBar.UndoItemClick += UndoItemHandler;</P><P>}</P><DIV></DIV><DIV></DIV>then call this event in the <FONT size=2>AddCommandHandlers() method.</FONT></FONT></FONT>]]>
   </description>
   <pubDate>Wed, 12 Dec 2007 20:05:11 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2190#2190</guid>
  </item> 
  <item>
   <title>[CANCELLED] Adding an Item to the PageNavigatorAdapter : Once you added this, Now you have...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2189#2189</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> 571<br /><strong>Posted:</strong> 12-Dec-2007 at 8:01pm<br /><br />Once you added this, Now you have to place a setting code in the DevExPageView <FONT size=2>CreateNavigatorAdapter() method:<DIV></DIV><DIV></DIV><DIV></DIV><FONT size=2><P>navAdapter.UndoItemButton = undoCurrentToolStripMenuItem;</P><DIV></DIV><DIV></DIV>given that the undoCurrentToolStripMenuItem is the ToolStripItem button you added in your UI.</FONT></FONT>]]>
   </description>
   <pubDate>Wed, 12 Dec 2007 20:01:33 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2189#2189</guid>
  </item> 
  <item>
   <title>[CANCELLED] Adding an Item to the PageNavigatorAdapter : Then in the PageNavigatorAdapter,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2188#2188</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> 571<br /><strong>Posted:</strong> 12-Dec-2007 at 7:58pm<br /><br />Then in the PageNavigatorAdapter, You have to add the ff methods and variables:<DIV><FONT color=#0000ff size=2></FONT>&nbsp;</DIV><DIV><FONT color=#0000ff size=2>private</FONT><FONT size=2> </FONT><FONT color=#2b91af size=2>ToolStripItem</FONT><FONT size=2> mUndoItemButton;</DIV><DIV></DIV><FONT color=#808080 size=2><P>//</FONT><FONT color=#008000 size=2> </FONT><FONT color=#808080 size=2>&lt;summary&gt;</FONT><FONT color=#008000 size=2>Raised on UndoItem click.</FONT><FONT color=#808080 size=2>&lt;/summary&gt;</P><DIV></FONT><FONT color=#0000ff size=2>public</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>event</FONT><FONT size=2> </FONT><FONT color=#2b91af size=2>EventHandler</FONT><FONT size=2>&lt;</FONT><FONT color=#2b91af size=2>EventArgs</FONT><FONT size=2>&lt;</FONT><FONT color=#2b91af size=2>Object</FONT><FONT size=2>&gt;&gt; UndoItemClick;</DIV></FONT><FONT color=#808080 size=2><P>///</FONT><FONT color=#008000 size=2> </FONT><FONT color=#808080 size=2>&lt;summary&gt;</FONT><FONT color=#008000 size=2>Set the ToolStripItem that represents the UndoItem Button.</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> Derived classes can "get" this ToolStripItem.</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>public</FONT><FONT size=2> </FONT><FONT color=#2b91af size=2>ToolStripItem</FONT><FONT size=2> UndoItemButton</P><P>{</P><P></FONT><FONT color=#0000ff size=2>protected</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>get</FONT><FONT size=2> { </FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> mUndoItemButton; }</P><P></FONT><FONT color=#0000ff size=2>set</P></FONT><FONT size=2><P>{</P><P>SetButton(</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> mUndoItemButton, </FONT><FONT color=#0000ff size=2>value</FONT><FONT size=2>, UndoItemButtonClick);</P><P>}</P><P>}</P><P></FONT><FONT color=#0000ff size=2>private</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> UndoItemButtonClick(</FONT><FONT color=#0000ff size=2>object</FONT><FONT size=2> sender, </FONT><FONT color=#2b91af size=2>EventArgs</FONT><FONT size=2> e)</P><P>{</P><P>InvokeClickHandlerWithCurrentObject(UndoItemClick, </FONT><FONT color=#0000ff size=2>true</FONT><FONT size=2>);</P><P>}</P><DIV></DIV><DIV></DIV><FONT color=#808080 size=2><P>///</FONT><FONT color=#008000 size=2> </FONT><FONT color=#808080 size=2>&lt;summary&gt;</FONT><FONT color=#008000 size=2>Get or set the visible state of the Undo button.</FONT><FONT color=#808080 size=2>&lt;/summary&gt;</P></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2>public</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>bool</FONT><FONT size=2> UndoItemVisible</P><P>{</P><P></FONT><FONT color=#0000ff size=2>get</FONT><FONT size=2> { </FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> GetToolStripItemVisible(UndoAllButton); }</P><P></FONT><FONT color=#0000ff size=2>set</FONT><FONT size=2> { SetToolStripItemVisible(UndoAllButton, </FONT><FONT color=#0000ff size=2>value</FONT><FONT size=2>); }</P><P>}</P><DIV></DIV><DIV></DIV><FONT color=#808080 size=2><P>///</FONT><FONT color=#008000 size=2> </FONT><FONT color=#808080 size=2>&lt;summary&gt;</FONT><FONT color=#008000 size=2>Get or set the enabled state of the Undo button.</FONT><FONT color=#808080 size=2>&lt;/summary&gt;</P></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2>public</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>bool</FONT><FONT size=2> UndoItemEnabled</P><P>{</P><P></FONT><FONT color=#0000ff size=2>get</FONT><FONT size=2> { </FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> GetToolStripItemEnabled(UndoItemButton); }</P><P></FONT><FONT color=#0000ff size=2>set</FONT><FONT size=2> { SetToolStripItemEnabled(UndoItemButton, </FONT><FONT color=#0000ff size=2>value</FONT><FONT size=2>); }</P><P>}</P></FONT></FONT></FONT></FONT>]]>
   </description>
   <pubDate>Wed, 12 Dec 2007 19:58:11 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2188#2188</guid>
  </item> 
  <item>
   <title>[CANCELLED] Adding an Item to the PageNavigatorAdapter : In the IPageViewToolBar interface,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2187#2187</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> 571<br /><strong>Posted:</strong> 12-Dec-2007 at 7:55pm<br /><br />In the <FONT color=#2b91af size=2>IPageViewToolBar interface<FONT color=#000000>, you need to add the following getter and setter of the function you want to add. In my application, I added an Undo functionality and add the following codes: <DIV></DIV><DIV></DIV><FONT color=#808080 size=2><FONT color=#808080 size=2><P>///</FONT><FONT color=#008000 size=2> </FONT><FONT color=#808080 size=2>&lt;summary&gt;</FONT><FONT color=#008000 size=2>Get or set the enabled state of the UndoItem button.</FONT><FONT color=#808080 size=2>&lt;/summary&gt;</P></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2>bool</FONT><FONT size=2> UndoItemEnabled { </FONT><FONT color=#0000ff size=2>get</FONT><FONT size=2>; </FONT><FONT color=#0000ff size=2>set</FONT><FONT size=2>;}</P><DIV></DIV><DIV></DIV><FONT color=#808080 size=2><P>///</FONT><FONT color=#008000 size=2> </FONT><FONT color=#808080 size=2>&lt;summary&gt;</FONT><FONT color=#008000 size=2>Get or set the visible state of the UndoItem button.</FONT><FONT color=#808080 size=2>&lt;/summary&gt;</P></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2>bool</FONT><FONT size=2> UndoItemVisible { </FONT><FONT color=#0000ff size=2>get</FONT><FONT size=2>; </FONT><FONT color=#0000ff size=2>set</FONT><FONT size=2>;}</P><DIV></DIV><DIV></DIV><FONT color=#808080 size=2><P>///</FONT><FONT color=#008000 size=2> </FONT><FONT color=#808080 size=2>&lt;summary&gt;</FONT><FONT color=#008000 size=2>Raised on UndoItem click.</FONT><FONT color=#808080 size=2>&lt;/summary&gt;</P></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2>event</FONT><FONT size=2> </FONT><FONT color=#2b91af size=2>EventHandler</FONT><FONT size=2>&lt;</FONT><FONT color=#2b91af size=2>EventArgs</FONT><FONT size=2>&lt;</FONT><FONT color=#2b91af size=2>Object</FONT><FONT size=2>&gt;&gt; UndoItemClick;</P><DIV></DIV><DIV></DIV></FONT></FONT></FONT></FONT></FONT><FONT color=#000000 size=2>Take note that you will only add the Enabled and Visible codes, if you will need to manipulate the behavior of your control. But the event handler is an important thing here.</FONT></FONT>]]>
   </description>
   <pubDate>Wed, 12 Dec 2007 19:55:21 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2187#2187</guid>
  </item> 
  <item>
   <title>[CANCELLED] Adding an Item to the PageNavigatorAdapter : You first add the toolStripItem...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2186#2186</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> 571<br /><strong>Posted:</strong> 12-Dec-2007 at 7:52pm<br /><br /><P>You first add the toolStripItem in the Toolbar of the DevExPageView Form. then take note of the <FONT size=2>CreateNavigatorAdapter() method inside the code of the form, because you will be setting your newly added button from the PageNavigatorAdapter into the ToolStripItem control. </P></FONT>]]>
   </description>
   <pubDate>Wed, 12 Dec 2007 19:52:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2186#2186</guid>
  </item> 
  <item>
   <title>[CANCELLED] Adding an Item to the PageNavigatorAdapter : I think I can help you with this,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2185#2185</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> 571<br /><strong>Posted:</strong> 12-Dec-2007 at 7:46pm<br /><br />I think I can help you with this, linguinut (i hope) :) do you still want to hear?]]>
   </description>
   <pubDate>Wed, 12 Dec 2007 19:46:28 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2185#2185</guid>
  </item> 
  <item>
   <title>[CANCELLED] Adding an Item to the PageNavigatorAdapter :  </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2111#2111</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 571<br /><strong>Posted:</strong> 06-Dec-2007 at 2:24pm<br /><br /><img src="http://www.ideablade.com/forum/smileys/smiley11.gif" height="17" width="17" border="0" align="absmiddle" alt="Dead" />]]>
   </description>
   <pubDate>Thu, 06 Dec 2007 14:24:44 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2111#2111</guid>
  </item> 
  <item>
   <title>[CANCELLED] Adding an Item to the PageNavigatorAdapter :  </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2095#2095</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 571<br /><strong>Posted:</strong> 05-Dec-2007 at 11:04am<br /><br /><img src="http://www.ideablade.com/forum/smileys/smiley7.gif" height="17" width="17" border="0" align="absmiddle" alt="Angry" />]]>
   </description>
   <pubDate>Wed, 05 Dec 2007 11:04:55 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2095#2095</guid>
  </item> 
  <item>
   <title>[CANCELLED] Adding an Item to the PageNavigatorAdapter :  </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2089#2089</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 571<br /><strong>Posted:</strong> 04-Dec-2007 at 6:07pm<br /><br /><img src="http://www.ideablade.com/forum/smileys/smiley13.gif" height="17" width="17" border="0" align="absmiddle" alt="Disapprove" />]]>
   </description>
   <pubDate>Tue, 04 Dec 2007 18:07:21 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2089#2089</guid>
  </item> 
  <item>
   <title>[CANCELLED] Adding an Item to the PageNavigatorAdapter : How do I add an item? Can it even...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2080#2080</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 571<br /><strong>Posted:</strong> 04-Dec-2007 at 9:41am<br /><br />How do I add an item?&nbsp; Can it even be done?<DIV></DIV><DIV></DIV><img src="http://www.ideablade.com/forum/smileys/smiley19.gif" height="17" width="17" border="0" align="absmiddle" alt="Cry" />&nbsp;<img src="http://www.ideablade.com/forum/smileys/smiley19.gif" height="17" width="17" border="0" align="absmiddle" alt="Cry" />]]>
   </description>
   <pubDate>Tue, 04 Dec 2007 09:41:41 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2080#2080</guid>
  </item> 
  <item>
   <title>[CANCELLED] Adding an Item to the PageNavigatorAdapter :  </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2064#2064</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 571<br /><strong>Posted:</strong> 03-Dec-2007 at 10:03am<br /><br /><img src="http://www.ideablade.com/forum/smileys/smiley19.gif" height="17" width="17" border="0" align="absmiddle" alt="Cry" />]]>
   </description>
   <pubDate>Mon, 03 Dec 2007 10:03:41 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2064#2064</guid>
  </item> 
  <item>
   <title>[CANCELLED] Adding an Item to the PageNavigatorAdapter : Criminey!! Nothing is simple....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2052#2052</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 571<br /><strong>Posted:</strong> 30-Nov-2007 at 6:34pm<br /><br />Criminey!!&nbsp; Nothing is simple.&nbsp; The approach of changing the method to public introduces a whole gob of complications.&nbsp; The interface must be changed, for one.&nbsp; I tried.&nbsp; What a headache!<DIV>&nbsp;</DIV><DIV>I am now thinking that&nbsp;I should just hide the default PageNavigatorAdapter and create my own DevExpress DataNavigator.&nbsp; I could just wire the two together, then add my own buttons however I desire.&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>Well, if I am going to do that, I might as well go the whole way and create a whole new DataNavigatorAdapter class.&nbsp; But, then, I would have to replace the PageNavigatorAdapter on the ControlViews...I am sure that will carry with it a tremendously lethal plague of exceptions that I will have to deal with.</DIV><DIV>&nbsp;</DIV><DIV>Where does this end?</DIV><DIV>&nbsp;</DIV><DIV>I am giving up for the day.&nbsp; Perhaps someone can chime in here and let me know how to add a toolstripitem to the page navigator.&nbsp; I will be back at this tomorrow.</DIV>]]>
   </description>
   <pubDate>Fri, 30 Nov 2007 18:34:48 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2052#2052</guid>
  </item> 
  <item>
   <title>[CANCELLED] Adding an Item to the PageNavigatorAdapter : In the PageNavigatorAdapter class,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2051#2051</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 571<br /><strong>Posted:</strong> 30-Nov-2007 at 5:23pm<br /><br />In the PageNavigatorAdapter class, could I make this function <EM><strong>public</strong></EM><FONT size=2>?<DIV></FONT><FONT color=#808080 size=2></FONT>&nbsp;</DIV><DIV><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>Set the Adapter's ToolStripItem that represents a Button in the navigator.</FONT><FONT color=#808080 size=2>&lt;/summary&gt;</FONT></DIV><DIV><FONT color=#808080 size=2>///</FONT><FONT color=#008000 size=2> </FONT><FONT color=#808080 size=2>&lt;param name="pAdapterButton"&gt;</FONT><FONT color=#008000 size=2>The adapter's reference to the ToolStripItem.</FONT><FONT color=#808080 size=2>&lt;/param&gt;</FONT></DIV><DIV><FONT color=#808080 size=2>///</FONT><FONT color=#008000 size=2> </FONT><FONT color=#808080 size=2>&lt;param name="pNewButton"&gt;</FONT><FONT color=#008000 size=2>The new reference to the ToolStripItem in the Navigator.</FONT><FONT color=#808080 size=2>&lt;/param&gt;</FONT></DIV><DIV><FONT color=#808080 size=2>///</FONT><FONT color=#008000 size=2> </FONT><FONT color=#808080 size=2>&lt;param name="pClickHandler"&gt;</FONT><FONT color=#008000 size=2>The button's click handler.</FONT><FONT color=#808080 size=2>&lt;/param&gt;</FONT></DIV><DIV><FONT color=#0000ff size=2>private</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> SetButton(</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> </FONT><FONT color=#2b91af size=2>ToolStripItem</FONT><FONT size=2> pAdapterButton, </FONT><FONT color=#2b91af size=2>ToolStripItem</FONT><FONT size=2> pNewButton, </FONT><FONT color=#2b91af size=2>EventHandler</FONT><FONT size=2> pClickHandler)</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Of course, I am editing the IdeaBlade.CAB.UI class, but I do not see another way to do this.&nbsp; Is there?</FONT><FONT size=2></DIV></FONT>]]>
   </description>
   <pubDate>Fri, 30 Nov 2007 17:23:57 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2051#2051</guid>
  </item> 
  <item>
   <title>[CANCELLED] Adding an Item to the PageNavigatorAdapter : I am not sure if this item has...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2050#2050</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 571<br /><strong>Posted:</strong> 30-Nov-2007 at 4:58pm<br /><br /><P>I am not sure if this item has been addressed.&nbsp; If it has, I apologize for the overlapping post. <img src="http://www.ideablade.com/forum/smileys/smiley24.gif" height="17" width="17" border="0" align="absmiddle" alt="Ermm" /></P><P><strong>How do I add a button to the PageNavigatorAdapter?</strong>&nbsp; The public class does not appear to allow me to do this:</P><DIV><FONT color=#0000ff size=2>public</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>class</FONT><FONT size=2> </FONT><FONT color=#2b91af size=2>PageNavigatorAdapter</FONT><FONT size=2> : </FONT><FONT color=#2b91af size=2>IPageViewToolBar</FONT></DIV><DIV><FONT size=2>{</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>public</FONT> PageNavigatorAdapter(<FONT color=#2b91af>BindingNavigator</FONT> pNavigator);</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>public</FONT> PageNavigatorAdapter(<FONT color=#2b91af>BindingNavigator</FONT> pNavigator, <FONT color=#0000ff>bool</FONT> pIsVisible);</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; </FONT><FONT size=2><FONT color=#0000ff>public</FONT> <FONT color=#2b91af>ToolStripItem</FONT> AddNewItemButton { <FONT color=#0000ff>protected</FONT> <FONT color=#0000ff>get</FONT>; <FONT color=#0000ff>set</FONT>; }</FONT><FONT size=2><FONT color=#0000ff></FONT></FONT></DIV><DIV><FONT size=2><FONT color=#0000ff>&nbsp;&nbsp;&nbsp; public</FONT> <FONT color=#0000ff>bool</FONT> AddNewItemEnabled { <FONT color=#0000ff>get</FONT>; <FONT color=#0000ff>set</FONT>; }</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>public</FONT> <FONT color=#0000ff>bool</FONT> AddNewItemVisible { <FONT color=#0000ff>get</FONT>; <FONT color=#0000ff>set</FONT>; }</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>public</FONT> <FONT color=#2b91af>BindingSource</FONT> BindingSource { <FONT color=#0000ff>get</FONT>; <FONT color=#0000ff>set</FONT>; }</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>public</FONT> <FONT color=#2b91af>ToolStripItem</FONT> DeleteItemButton { <FONT color=#0000ff>protected</FONT> <FONT color=#0000ff>get</FONT>; <FONT color=#0000ff>set</FONT>; }</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>public</FONT> <FONT color=#0000ff>bool</FONT> DeleteItemEnabled { <FONT color=#0000ff>get</FONT>; <FONT color=#0000ff>set</FONT>; }</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>public</FONT> <FONT color=#0000ff>bool</FONT> DeleteItemVisible { <FONT color=#0000ff>get</FONT>; <FONT color=#0000ff>set</FONT>; }</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>public</FONT> <FONT color=#2b91af>ToolStripItem</FONT> EditItemButton { <FONT color=#0000ff>protected</FONT> <FONT color=#0000ff>get</FONT>; <FONT color=#0000ff>set</FONT>; }</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>public</FONT> <FONT color=#0000ff>bool</FONT> EditItemEnabled { <FONT color=#0000ff>get</FONT>; <FONT color=#0000ff>set</FONT>; }</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>public</FONT> <FONT color=#0000ff>bool</FONT> EditItemVisible { <FONT color=#0000ff>get</FONT>; <FONT color=#0000ff>set</FONT>; }</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>public</FONT> <FONT color=#2b91af>ToolStripItem</FONT> SaveButton { <FONT color=#0000ff>protected</FONT> <FONT color=#0000ff>get</FONT>; <FONT color=#0000ff>set</FONT>; }</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>public</FONT> <FONT color=#0000ff>bool</FONT> SaveEnabled { <FONT color=#0000ff>get</FONT>; <FONT color=#0000ff>set</FONT>; }</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>public</FONT> <FONT color=#0000ff>bool</FONT> SaveVisible { <FONT color=#0000ff>get</FONT>; <FONT color=#0000ff>set</FONT>; }</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>public</FONT> <FONT color=#0000ff>bool</FONT> Visible { <FONT color=#0000ff>get</FONT>; <FONT color=#0000ff>set</FONT>; }</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>public</FONT> <FONT color=#2b91af>WorkItem</FONT> WorkItem { <FONT color=#0000ff>get</FONT>; <FONT color=#0000ff>set</FONT>; }</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>public</FONT> <FONT color=#0000ff>event</FONT> <FONT color=#2b91af>EventHandler</FONT>&lt;<FONT color=#2b91af>EventArgs</FONT>&lt;<FONT color=#0000ff>object</FONT>&gt;&gt; AddNewItemClick;</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>public</FONT> <FONT color=#0000ff>event</FONT> <FONT color=#2b91af>EventHandler</FONT>&lt;<FONT color=#2b91af>EventArgs</FONT>&lt;<FONT color=#0000ff>object</FONT>&gt;&gt; DeleteItemClick;</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>public</FONT> <FONT color=#0000ff>event</FONT> <FONT color=#2b91af>EventHandler</FONT>&lt;<FONT color=#2b91af>EventArgs</FONT>&lt;<FONT color=#0000ff>object</FONT>&gt;&gt; EditItemClick;</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>public</FONT> <FONT color=#0000ff>event</FONT> <FONT color=#2b91af>EventHandler</FONT> SaveClick;</FONT></DIV><DIV><FONT size=2>}</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>There are plenty of things to utilize for the existing buttons, but no room to add a new button.&nbsp; I really need this quite badly and I do not want to recreate a navigation toolbar wheel unless I have to.&nbsp; On second thought, if I did that then I could implement the DevExpress control in its place...hhmmm...</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Thanks,</FONT></DIV><DIV><FONT size=2>Bill</FONT></DIV><span style="font-size:10px"><br /><br />Edited by Linguinut - 06-Dec-2007 at 4:38pm</span>]]>
   </description>
   <pubDate>Fri, 30 Nov 2007 16:58:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=571&amp;PID=2050#2050</guid>
  </item> 
 </channel>
</rss>