<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: is there an unsign event?</title><link>https://www.infopathdev.com:443/forums/thread/14692.aspx</link><pubDate>Fri, 30 Jun 2006 20:16:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14692</guid><dc:creator>mshukla</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14692.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14692</wfw:commentRss><description>I did and that's the interesting thing. When the OnAfterChangeEvent id generated (on the user doing a remove sign action), the form is still signed.</description></item><item><title>Re: is there an unsign event?</title><link>https://www.infopathdev.com:443/forums/thread/14691.aspx</link><pubDate>Fri, 30 Jun 2006 19:21:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14691</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14691.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14691</wfw:commentRss><description>Hi Shukla,&lt;br /&gt;Here is how you can find out&lt;br /&gt;In the OnAfterChangeEvent, get the signeddatablock and look for the count of signatutes on the block. This will tell you if the form is signed or unsigned.&lt;br /&gt;&lt;br /&gt;SignedDataBlock signedDataBlock = thisXDocument.SignedDataBlocks[0];&lt;br /&gt;signedDataBlock.Signatures.Count; &lt;br /&gt;this will give you the number of signatures on the given block.&lt;br /&gt;&lt;br /&gt;I hope this helps!</description></item><item><title>Re: is there an unsign event?</title><link>https://www.infopathdev.com:443/forums/thread/14690.aspx</link><pubDate>Fri, 30 Jun 2006 17:27:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14690</guid><dc:creator>mshukla</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14690.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14690</wfw:commentRss><description>Entire form</description></item><item><title>Re: is there an unsign event?</title><link>https://www.infopathdev.com:443/forums/thread/14689.aspx</link><pubDate>Fri, 30 Jun 2006 17:04:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14689</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14689.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14689</wfw:commentRss><description>So are you signing the entire form or sections within the form?</description></item><item><title>Re: is there an unsign event?</title><link>https://www.infopathdev.com:443/forums/thread/14688.aspx</link><pubDate>Sun, 25 Jun 2006 08:13:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14688</guid><dc:creator>mshukla</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14688.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14688</wfw:commentRss><description>i tried out your suggestion Greg. But for some reason, the OnAfterChange is triggered before the signed state of the form is altered.&lt;br /&gt;I put in a &lt;br /&gt;thisXDocument.UI.Alert(thisXDocument.IsSigned.ToString()); &lt;br /&gt;statement at the end of the eventhandler for OnAfterChange and the value in the messagebox is not the final value. &lt;br /&gt;e.g. when signing the form, the box pops up with a 'false' vaue and when removing the signature, it pops up a 'true' value.</description></item><item><title>Re: is there an unsign event?</title><link>https://www.infopathdev.com:443/forums/thread/14687.aspx</link><pubDate>Fri, 23 Jun 2006 23:24:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14687</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14687.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14687</wfw:commentRss><description>You can place an OnAfterChange event handler on the signature node to have your code notified when a change (add / delete / etc) occurs. You'll have to keep track, in code, of the current signature count so that you can compare it against the change in order to know whether an add or delete occurred.&lt;br /&gt;&lt;br /&gt;Good luck.</description></item><item><title>is there an unsign event?</title><link>https://www.infopathdev.com:443/forums/thread/12906.aspx</link><pubDate>Thu, 22 Jun 2006 02:11:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12906</guid><dc:creator>mshukla</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12906.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12906</wfw:commentRss><description>I am trapping the onsign event and performing some actions on the form. I ned to reverse the actions when (if) the form signature is revoked or removed? Is there an event corresponding to that?</description></item></channel></rss>