﻿<?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 - Grid is not keeping format when setting value and text in javascript</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-is-not-keeping-format-when-setting-value-and-text-in-javascript/</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>Grid is not keeping format when setting value and text in javascript</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-is-not-keeping-format-when-setting-value-and-text-in-javascript/</link><pubDate>Thu, 25 Feb 2010 05:02:26 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;I enclosed one file system website that contains my test page that I made based on your sent sample. I also enclosed the video that shows how the test page runs on my end.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Within the attached website, I embed the dll file of WebGrid 7 and WebUI.NET Framework 3.0 that I use on my end in order to ensure that there is no dll file build number difference between my test site and your end.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please have the attached project tested on your end and let us know your response.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Grid is not keeping format when setting value and text in javascript</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-is-not-keeping-format-when-setting-value-and-text-in-javascript/</link><pubDate>Wed, 24 Feb 2010 12:26:22 GMT</pubDate><dc:creator>jcrendulic</dc:creator><description>&lt;p&gt;Here is the zip file containing my example.  What I can see is that you are using the &lt;span style="font-size: 13px"&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;asp&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;AccessDataSource&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;ID&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="AccessDataSource1"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &amp;gt; in your example and it works.  I am binding to a datasource, and it does not work.  &lt;/span&gt;</description></item><item><title>Grid is not keeping format when setting value and text in javascript</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-is-not-keeping-format-when-setting-value-and-text-in-javascript/</link><pubDate>Tue, 23 Feb 2010 21:46:30 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;blockquote&gt;&lt;p&gt;Here are my dlls.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Thank you for the information about the dll files.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I have checked the build number of the dll files that you use. All the dll files is confirmed as the latest dll files released by Intersoft. You are also using the same build number of dll files as my test project.&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;You have my example code attached in a previous reply.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;For your information, I was unable to find the example code in your previous reply.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt; mso-themecolor: text2; mso-fareast-font-family: simsun; mso-fareast-language: zh-cn; mso-ansi-language: en-us; mso-bidi-language: ar-sa"&gt;Look forward for your response.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Grid is not keeping format when setting value and text in javascript</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-is-not-keeping-format-when-setting-value-and-text-in-javascript/</link><pubDate>Tue, 23 Feb 2010 11:15:25 GMT</pubDate><dc:creator>jcrendulic</dc:creator><description>&lt;p&gt;Here are my dlls.  You have my example code attached in a previous reply.&lt;/p&gt;</description></item><item><title>Grid is not keeping format when setting value and text in javascript</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-is-not-keeping-format-when-setting-value-and-text-in-javascript/</link><pubDate>Mon, 22 Feb 2010 21:47:00 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;I need to check the codes in your project.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;If possible, could you please send us a complete test project that replicates the issue for further investigation?&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Grid is not keeping format when setting value and text in javascript</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-is-not-keeping-format-when-setting-value-and-text-in-javascript/</link><pubDate>Mon, 22 Feb 2010 11:45:18 GMT</pubDate><dc:creator>jcrendulic</dc:creator><description>&lt;p&gt;Thanks for your reply, but I still can not get the formatting to work on our grids.  I created a new test project and tested the WebGridAndDataFormatString.aspx, and still does not work. &lt;/p&gt;</description></item><item><title>Grid is not keeping format when setting value and text in javascript</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-is-not-keeping-format-when-setting-value-and-text-in-javascript/</link><pubDate>Tue, 16 Feb 2010 20:47:42 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;I enclosed the project (file system website) that I use to test your scenario on my end. The step-by-step and the result of the test can be seen on the attached video on my previous post. Please have the attached project tested on your end and let us know the result.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;If the problem persists, would you mind to create a new project and test WebGridAndDataFormatString.aspx file in the new project?&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 build version of WebGrid 7.0 and WebUI.NET Framework 3.0 that you use is the same build version that I use in my project. You can get the installer of Intersoft WebUI Studio 2009 R2 SP1 in your TDN account.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Grid is not keeping format when setting value and text in javascript</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-is-not-keeping-format-when-setting-value-and-text-in-javascript/</link><pubDate>Tue, 16 Feb 2010 12:39:10 GMT</pubDate><dc:creator>tlusby</dc:creator><description>&lt;p&gt;This is screenshots of what Jocelyn is referring to.  Thanks!&lt;/p&gt;</description></item><item><title>Grid is not keeping format when setting value and text in javascript</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-is-not-keeping-format-when-setting-value-and-text-in-javascript/</link><pubDate>Tue, 16 Feb 2010 10:21:49 GMT</pubDate><dc:creator>jcrendulic</dc:creator><description>&lt;p&gt;I have WebGrid 7.0 build 401 and WebUI.Net framework 3.0 build 751.  I downloaded these from the Update Manager.  Where would I go to get WebUI 2009 R2 SP1?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I still can not get my formatting to work like your example is showing.  I know that something must be missing from my project.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I also notice that the WebUI.NET Framework 3.0 does not reference the correct assembly vesion (3.0.5000.1), but the File version and Product version are (3.0.5000.751).  Is this correct?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>Grid is not keeping format when setting value and text in javascript</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-is-not-keeping-format-when-setting-value-and-text-in-javascript/</link><pubDate>Wed, 10 Feb 2010 21:37:22 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;I enclosed one simple sample of WebGrid that will modify other cell value on OnExitEditMode client side event and a video that shows how the sample runs on my end.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;For your information, I use WebGrid 7.0 build 401 and WebUI.NET Framework 3.0 build 751 that comes with Intersoft WebUI Studio 2009 R2 SP1.&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 help.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Grid is not keeping format when setting value and text in javascript</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-is-not-keeping-format-when-setting-value-and-text-in-javascript/</link><pubDate>Tue, 09 Feb 2010 14:49:34 GMT</pubDate><dc:creator>jcrendulic</dc:creator><description>&lt;p&gt;I have a grid column definied as &lt;/p&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;ISWebGrid&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;WebGridColumn&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;Caption&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="Money"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;EditType&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="TextBox"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;Name&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="Money" 
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;Width&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="70px"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;DataMember&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="Money"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;DataFormatString&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="$##,###.00"&amp;gt; 
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;ISWebGrid&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;WebGridColumn&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt; 

&lt;p&gt;&lt;span style="color: #0000ff"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="color: #000000"&gt;This field is based off a calculation.&amp;nbsp; So I need to set the text and value in javascript.&amp;nbsp; However, when I set the text and value the format is no longer in the correct format.&amp;nbsp; Shouldn't the grid see that the column has the DataFormatString property set and set it?&amp;nbsp; I should not have to format my data first.&amp;nbsp; Here my code snipit.&lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px"&gt;row.GetCells().GetNamedItem(&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"Money"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;).SetText("5", &lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;true&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;); row.GetCells().GetNamedItem(&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"Money"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;).SetValue("5"); &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</description></item></channel></rss>