<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Taskpane width....</title><link>https://www.infopathdev.com:443/forums/thread/9185.aspx</link><pubDate>Tue, 28 Feb 2006 20:28:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9185</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9185.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9185</wfw:commentRss><description>When the form is still in the OnLoad event, view object is still not created so "XDocument.View.Window" will give null reference exception. &lt;br /&gt;Where as "On context change" event fires after the View object is created and context is on some node.</description></item><item><title>Re: Taskpane width....</title><link>https://www.infopathdev.com:443/forums/thread/9184.aspx</link><pubDate>Mon, 27 Feb 2006 08:11:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9184</guid><dc:creator>Karsten Brocksieper</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9184.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9184</wfw:commentRss><description>Hello,&lt;br /&gt;&lt;br /&gt;thank you very much for your quick response. That was exactly what I needed...&lt;br /&gt;In addition I want to say that you have to put this command in the "On context change" event but NOT in the "On Load" event...&lt;br /&gt;&lt;br /&gt;Cheers&lt;br /&gt;Karsten</description></item><item><title>Re: Taskpane width....</title><link>https://www.infopathdev.com:443/forums/thread/9183.aspx</link><pubDate>Sun, 26 Feb 2006 21:46:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9183</guid><dc:creator>AndersR</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9183.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9183</wfw:commentRss><description>Hi Karsten&lt;br /&gt;&lt;br /&gt;You can access this property through the CommandBars property (read: your form needs to be fully trusted)&lt;br /&gt;&lt;br /&gt;XDocument.View.Window.CommandBars("Task Pane").Width = sizeInPixels; &lt;br /&gt;&lt;br /&gt;hth</description></item><item><title>Taskpane width....</title><link>https://www.infopathdev.com:443/forums/thread/5400.aspx</link><pubDate>Sun, 26 Feb 2006 20:49:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5400</guid><dc:creator>Karsten Brocksieper</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5400.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5400</wfw:commentRss><description>Hello,&lt;br /&gt;&lt;br /&gt;...is it possible to set the taskpane width programmatically in the onload event?&lt;br /&gt;&lt;br /&gt;Thanks for any tips.&lt;br /&gt;&lt;br /&gt;Karsten</description></item></channel></rss>