<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: how to Get the Current language of a Sharepoint Site</title><link>https://www.infopathdev.com:443/forums/thread/72300.aspx</link><pubDate>Wed, 23 Nov 2011 07:14:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72300</guid><dc:creator>bvallambhotla</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72300.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=72300</wfw:commentRss><description>&lt;p&gt;Dear Karsten,&lt;/p&gt;&lt;p&gt;ThanQ again for your&amp;nbsp; quick reply. That again worked fine.Now I&amp;#39;m able to post back the change in the dropdown.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Im very new to Infopath, so if I have any question I will post ask u (if u dont mind). Please bare with me !&amp;nbsp; &lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Balakiran Vallambhotla &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: how to Get the Current language of a Sharepoint Site</title><link>https://www.infopathdev.com:443/forums/thread/72202.aspx</link><pubDate>Fri, 18 Nov 2011 20:34:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72202</guid><dc:creator>Karsten Brocksieper</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72202.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=72202</wfw:commentRss><description>&lt;p&gt;Hello Balakiran,&lt;/p&gt;&lt;p&gt;this behaviour is often caused by the so-called &lt;strong&gt;&amp;#39;Postback settings&amp;#39;&lt;/strong&gt;. By default this is set to &amp;#39;Only when necessary for correct rendering of the form&amp;#39;. But in many times&amp;nbsp;you have to set it&amp;nbsp;to &amp;#39;Always&amp;#39;.&lt;/p&gt;&lt;p&gt;You can change the default postback behavior for the drop down control control using the Postback settings options on the Browser forms tab in the Properties window for the control. There are three options available: Never, Always, and Only when necessary for correct rendering of the form (recommended). You can reduce the number of postbacks by changing the setting to Never. If you select Never, then the control will not send data to the server on change; the data will only go to the server and formatting, calculations, etc. will only run when the form user saves or submits the form, or another control in the form causes a postback to the server. For controls you want to change, you must change the postback setting option on each control individually --- and I personally recommand &amp;#39;Always&amp;#39; in this case.&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;</description></item><item><title>Re: how to Get the Current language of a Sharepoint Site</title><link>https://www.infopathdev.com:443/forums/thread/72185.aspx</link><pubDate>Fri, 18 Nov 2011 11:26:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72185</guid><dc:creator>bvallambhotla</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72185.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=72185</wfw:commentRss><description>&lt;p&gt;Dear Karsten,&lt;/p&gt;&lt;p&gt;I have some problem with dropdown list changed event. Its working fine in Infopath preview, but when it is published to Sharepoint server().&lt;/p&gt;&lt;p&gt;When I opened the form in browser , the same event is not firing.&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Balakiran V &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: how to Get the Current language of a Sharepoint Site</title><link>https://www.infopathdev.com:443/forums/thread/72141.aspx</link><pubDate>Thu, 17 Nov 2011 11:23:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72141</guid><dc:creator>Karsten Brocksieper</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72141.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=72141</wfw:commentRss><description>&lt;p&gt;Hello Balakiran,&lt;/p&gt;&lt;p&gt;no --- as far as I know there´s no way to change the direction of a view programmatically.&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;</description></item><item><title>Re: how to Get the Current language of a Sharepoint Site</title><link>https://www.infopathdev.com:443/forums/thread/72136.aspx</link><pubDate>Thu, 17 Nov 2011 04:14:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72136</guid><dc:creator>bvallambhotla</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72136.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=72136</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks a lot Karsten !&amp;nbsp; That really worked !&lt;/p&gt;&lt;p&gt;By the way can we change the direction of the View programatically ?&amp;nbsp; because Im using arabic language, everything has to be from Right to Left.&lt;/p&gt;&lt;p&gt;That will help to maintain a single view instead of multiple views ! &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Balakiran V &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: how to Get the Current language of a Sharepoint Site</title><link>https://www.infopathdev.com:443/forums/thread/72113.aspx</link><pubDate>Wed, 16 Nov 2011 16:01:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72113</guid><dc:creator>Karsten Brocksieper</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72113.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=72113</wfw:commentRss><description>&lt;p&gt;&lt;font face="arial,helvetica,sans-serif"&gt;Hi,&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="arial,helvetica,sans-serif"&gt;you can use the .NET generic way of getting current culture:&lt;/font&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;font face="courier new,courier"&gt;CultureInfo currentCulture = Thread.CurrentThread.CurrentUICulture;&amp;nbsp; &lt;br /&gt;string languageCode = currentCulture.TwoLetterISOLanguageName.ToLowerInvariant();&lt;br /&gt;if (languageCode == &amp;quot;en&amp;quot;) ...&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;font face="arial,helvetica,sans-serif"&gt;Hope that helps.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="arial,helvetica,sans-serif"&gt;Regards,&lt;/font&gt;&lt;/p&gt;</description></item><item><title>how to Get the Current language of a Sharepoint Site</title><link>https://www.infopathdev.com:443/forums/thread/72110.aspx</link><pubDate>Wed, 16 Nov 2011 13:08:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72110</guid><dc:creator>bvallambhotla</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72110.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=72110</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;I need to get the Current language of a Sharepoint Site. The requirement is as follows :&lt;/p&gt;&lt;p&gt;I had a sharepoint site with language packs installed, Iam able to switch the language for any user. But I need the current language that has been selected into an Infopath form.&lt;/p&gt;&lt;p&gt;I tried using SPContext.Current.Web.Locale.TwoLetterISOLanguageName, which is always returning &amp;quot;en&amp;quot;, even though I selected arabic language.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Please help me out !&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Balakiran V &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>