<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Help: Image Button</title><link>https://www.infopathdev.com:443/forums/thread/12002.aspx</link><pubDate>Wed, 10 Jan 2007 09:51:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12002</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12002.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=12002</wfw:commentRss><description>Hi Machi-nk and welcome to our forum!&lt;br /&gt;I'm terrible sorry that noone responded to you. Anyway, I'm guessing that you are viewing the forms in SharePoint Form Server (i.e. the browser). If so, there may be a limitation in the browser to display the images on buttons. The Form Server functionality is a subset of the rich client. You may also look at the browser compatibility settings in the InfoPath designer. Not sure if that has anything though. Sorry I couldn't be of more help.</description></item><item><title>Help: Image Button</title><link>https://www.infopathdev.com:443/forums/thread/11750.aspx</link><pubDate>Wed, 13 Dec 2006 22:00:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11750</guid><dc:creator>machi-nk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11750.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=11750</wfw:commentRss><description>Hi Guys,&lt;br /&gt;&lt;br /&gt;This is my first post here. And I need a little help with getting image buttons to work.&lt;br /&gt;&lt;br /&gt;Designed my first InfoPath form template in Visual Studio 2005 with the VSTO add-on. Followed the link below to create a few image buttons that basically change views, and they worked great in the preview and within InfoPath 2007.&lt;br /&gt;&lt;br /&lt;a target="_blank" href=http://www.infopathdev.com/howto/tutorials/default.aspx?i=34568d691f5d4b72890add72c2903e2e&gt;http://www.infopathdev.com/howto/tutorials/default.aspx?i=34568d691f5d4b72890add72c2903e2e&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But when the template is published to a SharePoint Server, everything looks identical and works, except for the image buttons. Instead of images, the area is replaced by a grey area. The button functionalities still work, views still can be changed, but there are no pretty images, which makes the form pretty boring. &lt;br /&gt;&lt;br /&gt;There is also a logo image, which still displays properly on the form in the browser when the template is published to SharePoint. So I have no clue why the button images are not.&lt;br /&gt;&lt;br /&gt;I'm using:&lt;br /&gt;- VS2005 with VSTO final&lt;br /&gt;- InfoPath 2007&lt;br /&gt;- SharePoint Server 2007&lt;br /&gt;- IE7 &lt;br /&gt;&lt;br /&gt;Below is the code in View1.xsl:&lt;br /&gt;&lt;br /&gt;&amp;lt;input class="langFont" title="" style="BORDER-RIGHT: medium none; BACKGROUND-POSITION: center 50%; BORDER-TOP: medium none; FONT-SIZE: x-small; BACKGROUND-IMAGE: url(basics_selected.gif); BORDER-LEFT: medium none; WIDTH: 167px; BORDER-BOTTOM: medium none; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px" type="button" xd:xctname="Button" xd:CtrlId="CTRL1_5" tabIndex="0"/&amp;gt;&lt;br /&gt;&lt;br /&gt;Thanks in Advance!&lt;br /&gt;p.s. Great site!</description></item></channel></rss>