<?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: Task Panes and Managed code</title><link>https://www.infopathdev.com:443/forums/thread/14766.aspx</link><pubDate>Wed, 30 Aug 2006 01:31:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14766</guid><dc:creator>vt_asparagus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14766.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14766</wfw:commentRss><description>Matt - Thanks for confirming what we thought was going on.  Congrats on the MVP status Mr. InfoPath Wiz Kid...  J</description></item><item><title>Re: Task Panes and Managed code</title><link>https://www.infopathdev.com:443/forums/thread/14765.aspx</link><pubDate>Wed, 30 Aug 2006 01:27:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14765</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14765.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14765</wfw:commentRss><description>Hey Jason,&lt;br /&gt;&lt;br /&gt;It's not surprising that calling between managed and unmanaged code causes a performance hit - I would agree with the recommendation to call between them as little as possible.&lt;br /&gt;&lt;br /&gt;I doubt there is a way to run managed code in a task pane since it is basically just using IE to render it.  There might be some crazy trickery that might allow it but I think it would require installing ASP.NET compiler on each machine that wishes to run the code and this is very far from desirable.&lt;br /&gt;&lt;br /&gt;Thanks for the link to the article!</description></item><item><title>Task Panes and Managed code</title><link>https://www.infopathdev.com:443/forums/thread/12937.aspx</link><pubDate>Sat, 26 Aug 2006 13:58:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12937</guid><dc:creator>vt_asparagus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12937.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12937</wfw:commentRss><description>I got pulled in to look at someone InfoPath problems and wanted to get some insight.&lt;br /&gt;&lt;br /&gt;First, the guy is having some performance issues with the loading of his taskpane when it is first opened.  We think we narrowed it down to the numerous calls he is making between the taskpane and the infopath form when the form is first loaded.  He has a form that is in C# and making many jscript calls back and forth.  Is it possible to experience a performance hit if you are making many calls from managed to un-managed code calls?&lt;br /&gt;&lt;br /&gt;I did mention that if that is the case, he should probably refactor is loading logic to only call between the form and the taskpane once on load.&lt;br /&gt;&lt;br /&gt;Second, I found this article a while back which supposedly showed how to embed a asp.net page in the taskpane, but it is really not doing that &lt;a target="_blank" href=http://www.developer.com/net/article.php/10916_3082431_2&gt;http://www.developer.com/net/article.php/10916_3082431_2&lt;/a&gt;).  It is just referencing an ASP.net page - nothing more. Is it possible to place managed code in a task pane and then be able to make calls from the infopath form to the taskpane and vice versa?  The goal is to get rid of jscripting in the taskpane all together.</description></item></channel></rss>