<?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>missing an xd:CtrlID Error</title><link>https://www.infopathdev.com:443/forums/thread/12740.aspx</link><pubDate>Thu, 12 Jan 2006 16:25:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12740</guid><dc:creator>daniel_e_brown</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12740.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12740</wfw:commentRss><description>I am creating a View XSL from an external source. I am able to generate get my XSL to load and display properly with no trouble. I also include a JS resource file which contains onclick events for some buttons I have on the View XSL. However, when I click the button, I get the following error message:&lt;br /&gt;&lt;br /&gt;"InfoPath cannot complete because of an error in the form's code"&lt;br /&gt;&lt;br /&gt;When I expand the details, it reads:&lt;br /&gt;&lt;br /&gt;"A button in the form template is missing an xd:CtrlId attribute."&lt;br /&gt;&lt;br /&gt;However, all the xd:CtrlId attributes are set. If I remove all the buttons except 1 I get the same error. What am I doing wrong? the namespaces are all the ones from SP2.&lt;br /&gt;&lt;br /&gt;Thank you,&lt;br /&gt;Daniel</description></item></channel></rss>