﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - CultureInfo not picked up by examples</title><link>http://www.intersoftsolutions.com/Community/WebGrid/CultureInfo-not-picked-up-by-examples/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>CultureInfo not picked up by examples</title><link>http://www.intersoftsolutions.com/Community/WebGrid/CultureInfo-not-picked-up-by-examples/</link><pubDate>Sun, 27 May 2012 20:55:18 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'calibri','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Sorry for the delay in sending this.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'calibri','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Thank you for the sent sample. I was able to reproduce the reported problem using the new sample.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'calibri','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I will have this forwarded to the development team and will inform you the result.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'calibri','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Thank you and have a nice day.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>CultureInfo not picked up by examples</title><link>http://www.intersoftsolutions.com/Community/WebGrid/CultureInfo-not-picked-up-by-examples/</link><pubDate>Fri, 25 May 2012 09:52:03 GMT</pubDate><dc:creator>qafrank1</dc:creator><description>&lt;p&gt;Yudi,&lt;/p&gt;
&lt;p&gt;Does the new sample work and are you able to see the problem?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item><item><title>CultureInfo not picked up by examples</title><link>http://www.intersoftsolutions.com/Community/WebGrid/CultureInfo-not-picked-up-by-examples/</link><pubDate>Wed, 23 May 2012 09:39:25 GMT</pubDate><dc:creator>qafrank1</dc:creator><description>&lt;p&gt;Try this one (I removed the old to avoid any confusion).&lt;/p&gt;
&lt;p&gt;You will need to add your own northwind.mdf file in the app_data folder.&lt;/p&gt;</description></item><item><title>CultureInfo not picked up by examples</title><link>http://www.intersoftsolutions.com/Community/WebGrid/CultureInfo-not-picked-up-by-examples/</link><pubDate>Tue, 22 May 2012 21:36:35 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'calibri','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Thank you for the sample.However, I was unable to open/download the sample. The attachment link returns http 404: not found. Please try to re-attach the sample so that we can assist you further.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>CultureInfo not picked up by examples</title><link>http://www.intersoftsolutions.com/Community/WebGrid/CultureInfo-not-picked-up-by-examples/</link><pubDate>Tue, 22 May 2012 15:08:14 GMT</pubDate><dc:creator>qafrank1</dc:creator><description>&lt;p&gt;When I use  a web service for the update, the value entered in the grid is sent to the service as "12,44" when I expect a value of "12.44". The behavior is not correct.&lt;/p&gt;
&lt;p&gt;Please see the attached example and solve these issues:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;Updating does not occur when a change is made to "UnitPrice". An error is returned from the IS javascript.&lt;/li&gt;&lt;li&gt;Using the cultureinfo does not work in edit mode.&lt;/li&gt;&lt;li&gt;Verify the value passed to the "SaveOrderDetails" method contains a string value, not a numeric value. &lt;/li&gt;&lt;li&gt;Verify the value passed to the "SaveOrderDetails" method contains an invalid value when cultureinfo is modified. (12,44 instead of 12.44)&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>CultureInfo not picked up by examples</title><link>http://www.intersoftsolutions.com/Community/WebGrid/CultureInfo-not-picked-up-by-examples/</link><pubDate>Tue, 22 May 2012 09:49:20 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'calibri','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;The sample attached in my previous post (posted on January 16, 2012 2:32 AM) contains workaround which handles the data saving operation in OnAddPendingChanges client side event.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'calibri','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;After re-test the scenario, it was found that the workaround is no longer needed. Please try to removes OnAddPendingChanges client side event and let us know if you have different result.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'calibri','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Before:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&amp;lt;ISWebGrid:WebGrid ID="WebGrid1" runat="server" ...&amp;gt;
    &amp;lt;LayoutSettings ...&amp;gt;
        &amp;lt;ClientSideEvents OnAddPendingChanges="WebGrid1_OnAddPendingChanges" OnAfterResponseProcess="WebGrid1_OnAfterResponseProcess" /&amp;gt;
    &amp;lt;/LayoutSettings&amp;gt;
    ...&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'calibri','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;After:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&amp;lt;ISWebGrid:WebGrid ID="WebGrid1" runat="server" ...&amp;gt;
    &amp;lt;LayoutSettings ...&amp;gt;
        &amp;lt;ClientSideEvents OnAfterResponseProcess="WebGrid1_OnAfterResponseProcess" /&amp;gt;
    &amp;lt;/LayoutSettings&amp;gt;
    ...&lt;/pre&gt;</description></item><item><title>CultureInfo not picked up by examples</title><link>http://www.intersoftsolutions.com/Community/WebGrid/CultureInfo-not-picked-up-by-examples/</link><pubDate>Wed, 16 May 2012 13:56:31 GMT</pubDate><dc:creator>qafrank1</dc:creator><description>&lt;p&gt;OK, so finally getting around to testing this fully.&lt;/p&gt;
&lt;p&gt;It seems to work for display and edit, but when I enter "12", then click "Accept All Changes", the grid is refreshed with "&amp;pound;1.200,00" in the cell I just updated.&lt;/p&gt;
&lt;p&gt;When I enter "1,4", then click "Accept All Changes", the grid is refreshed with "&amp;pound;140,00" in the cell I just updated.&lt;/p&gt;
&lt;p&gt;When I enter "12.999,45", then click "Accept All Changes", the grid is refreshed with "&amp;pound;1.299.945,00" in the cell I just updated.&lt;/p&gt;
&lt;p&gt;This is not the expected behaviour in any example.&lt;/p&gt;
&lt;p&gt;When I review the properties for WebGrid1 after assignment in "&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;WebGrid1_OnAfterResponseProcess"&lt;/span&gt;&lt;/span&gt;, the properties for  WebGrid1.CultureInfo.NumberFormatInfo.Decimal do not appear to be set correctly (see attached). &lt;/p&gt;</description></item><item><title>CultureInfo not picked up by examples</title><link>http://www.intersoftsolutions.com/Community/WebGrid/CultureInfo-not-picked-up-by-examples/</link><pubDate>Wed, 04 Apr 2012 02:32:30 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;To find list of available client side events of WebGrid, please do the following.&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;&lt;li&gt;Open WebGrid 7 Documentation (start &amp;gt; All Programs &amp;gt; Intersoft WebUI Studio 2011 R2 SP1 &amp;gt; WebUI Studio for ASP.NET &amp;gt; WebGrid 7 &amp;gt; WebGrid 7 Documentation).&lt;/li&gt;&lt;li&gt;Using the left side of Content Navigation, browse through Help Viewer Home &amp;gt; WebGrid &amp;gt; Server-side References &amp;gt; ISNet.WebUI.WebGrid assembly &amp;gt; ISNet.WebUI.WebGrid Namespace &amp;gt; ClientEvents Class &amp;gt; ClientEvents Class Members.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;To find list of available client side events of WebInput, please do the following.&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;&lt;li&gt;Open WebGrid 7 Documentation (start &amp;gt; All Programs &amp;gt; Intersoft WebUI Studio 2011 R2 SP1 &amp;gt; WebUI Studio for ASP.NET &amp;gt; WebInput 4 &amp;gt; WebInput 4 Documentation).&lt;/li&gt;&lt;li&gt;Using the left side of Content Navigation, browse through Help Viewer Home &amp;gt; WebInput &amp;gt; Server-side References &amp;gt; ISNet.WebUI.WebInput assembly &amp;gt; ISNet.WebUI.WebControls Namespace &amp;gt; WebInput ClientSideEvents Class Members.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>CultureInfo not picked up by examples</title><link>http://www.intersoftsolutions.com/Community/WebGrid/CultureInfo-not-picked-up-by-examples/</link><pubDate>Tue, 03 Apr 2012 11:59:15 GMT</pubDate><dc:creator>qafrank1</dc:creator><description>&lt;p&gt;Do you have a list of available client side events available for the WebGrid and WebInput controls?&lt;/p&gt;</description></item><item><title>CultureInfo not picked up by examples</title><link>http://www.intersoftsolutions.com/Community/WebGrid/CultureInfo-not-picked-up-by-examples/</link><pubDate>Mon, 06 Feb 2012 14:33:04 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;The AddPendingChanges mark changes to WebGrid’s row and add it into pending changes collection. It is one of WebGridRow method which is related to BatchUpdate feature of WebGrid. There is no such functionality in WebInput since WebInput doesn’t has the batch update feature.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;The rowChange is one of the parameters contained in OnAddPendingChanges and OnRemovePendingChanges. These client side events are fired when a pending changes is about to be added or removed. This one also related to BatchUpdate feature of WebGrid, so there will be no same functionality over WebInput control.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;The AfterResponseProcess, specifically OnAfterResponseProcess, specifies the client side (JavaScript) function that will be invoked after the response action of a request has been performed. The client event that has the same functionality in WebInput control is probably the OnAfterValueChanged. It is specifies the client side (JavaScript) function name that will be invoked when control state is changed. Parameters: controlId, newValue, newText.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>CultureInfo not picked up by examples</title><link>http://www.intersoftsolutions.com/Community/WebGrid/CultureInfo-not-picked-up-by-examples/</link><pubDate>Mon, 24 Oct 2011 12:50:54 GMT</pubDate><dc:creator>qafrank1</dc:creator><description>&lt;p&gt;A few questions regarding numeric data and entry:&lt;/p&gt;
&lt;p&gt;1 - If a machine has a customized format for displaying currency or numbers, how is that picked up by webgrid?&lt;/p&gt;
&lt;p&gt;I have Currency Symbol = "^", number and currency decimal symbol = ",", numbers and currency digit grouping symbol = "." set on my machine, but your examples to not use these settings.&lt;/p&gt;
&lt;p&gt;2 - How can I make the grid use these settings and how can I make a cell editable with these settings?&lt;/p&gt;
&lt;p&gt;I have overridden the cultureinfo for numbers and currency to display correctly, but when I attempt data entry, the values are all wrong. (If I enter "3,4" the value is manipulated by webgrid to "34").&lt;/p&gt;
&lt;p&gt;3 - How do I allow for custom culture info, but still maintain proper data in my database? (In the above example, if I allow entry of "3,4", it should be stored in the database as "3.4").&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>