﻿<?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 - Automatic Footer Update not happening</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Automatic-Footer-Update-not-happening/</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>Automatic Footer Update not happening</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Automatic-Footer-Update-not-happening/</link><pubDate>Tue, 03 May 2011 02:23:38 GMT</pubDate><dc:creator>lili</dc:creator><category>WebGrid</category><description>&lt;p&gt;Hi Huzefa,&lt;/p&gt;
&lt;p&gt;1) I have attach the simple sample for you of how to manually update the footer using Javascript.&lt;/p&gt;
&lt;p&gt;2) It should has nothing to do with the WebInput. In the sample I use the WebInput as the CustomEditor and it works just fine.&lt;/p&gt;
&lt;p&gt;3) If you use the DataSource control, the DataType property will automatically follow the data type of the database if you don't assign it.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Hope it helps.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Lili Khiung&lt;/p&gt;</description></item><item><title>Automatic Footer Update not happening</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Automatic-Footer-Update-not-happening/</link><pubDate>Mon, 02 May 2011 12:27:39 GMT</pubDate><dc:creator>huzzy143</dc:creator><category>WebGrid</category><description>&lt;p&gt;Hi Lili,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;1) In my case i don't want user to click AcceptAllChanges button and wait till that time for the footer to get updated. Also in my form the user is not even allowed clicking the AcceptAllChanges button manually on the form. The AcceptAllChanges is taken care at server side at the submission of the form.&lt;/p&gt;
&lt;p&gt;In this case, please tell how can i manually update the footer using some javascript, when the user changes the value in textbox. Though this should be handled by intersoft but i want to proceed with my work instead of getting stuck. I feel intersoft has not thought properly before adding any functionality. i have faced this situation at so many places.&lt;/p&gt;
&lt;p&gt;2) What i mean here is that : I have enabled the footer for a grid and assigned the AggregationFunction to Sum. Now at the Page Load i have few records in the grid, but when the page is loaded i see 0 in the Footer while in the grid column there actually are values. Why it didn't calculate the Sum of existing record while loading?&lt;/p&gt;
&lt;p&gt;One problem i see is that i have used a CustomEditor for this column. I am not sure, but is this making any problem?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;3) Why i am asking for DataType is that i have not assigned DataType property on the Grid Columns, so is there any problem if i don't assgin this property?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Huzefa&lt;/p&gt;</description></item><item><title>Automatic Footer Update not happening</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Automatic-Footer-Update-not-happening/</link><pubDate>Mon, 02 May 2011 03:11:53 GMT</pubDate><dc:creator>lili</dc:creator><category>WebGrid</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1. If you're using Batch Update the Automatic Update won't work because it has to AcceptAllChanges to do the update on the footer, so the update will work after you're klik the AcceptAllChanges button.&lt;/p&gt;
&lt;p&gt;2. I don't really get your question here. Could you explain in more detail?&lt;/p&gt;
&lt;p&gt;3. The DataType property is used to get or set the data type of the column. &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Lili Khiung&lt;/p&gt;</description></item><item><title>Automatic Footer Update not happening</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Automatic-Footer-Update-not-happening/</link><pubDate>Fri, 29 Apr 2011 09:24:07 GMT</pubDate><dc:creator>huzzy143</dc:creator><category>WebGrid</category><description>&lt;p&gt;Thanx for reply.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;ol&gt;&lt;li&gt;In my case i am using Bacth Update, so i think the UpdateRow event is not being called. So Now how to update?&lt;/li&gt;&lt;li&gt;I am also using following setting for my column. This mean that i have set the formating in my WebInput control and i am binding&amp;nbsp;column to my&amp;nbsp;control. Now in the footer i am seeing only 0 as Sum no matter what value is there in the Grid. I don't know what could be the problem?&lt;pre&gt;column.EditType = EditType.Custom;
                column.CustomEditorName = "WebInputNET";
                column.CustomEditorServerId = gridColumn.GridColumn.Name;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Is it necessary to supply the DataType for each column? What is the main use of supplying the DataType property?&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Please help me with above mentioned issues.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Huzefa&lt;/p&gt;</description></item><item><title>Automatic Footer Update not happening</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Automatic-Footer-Update-not-happening/</link><pubDate>Fri, 29 Apr 2011 06:33:38 GMT</pubDate><dc:creator>lili</dc:creator><category>WebGrid</category><description>&lt;p&gt;Hi Huzefa,&lt;/p&gt;
&lt;p&gt;Have you set the UpdateCommand in the datasource? You need to add the UpdateCommand so that the Auto Footer Update can work. Here I attach a simple sample for you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Hope it helps.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Lili Khiung&lt;/p&gt;</description></item><item><title>Automatic Footer Update not happening</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Automatic-Footer-Update-not-happening/</link><pubDate>Thu, 28 Apr 2011 12:58:04 GMT</pubDate><dc:creator>huzzy143</dc:creator><category>WebGrid</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I have a grid on which i have set ColumnFooter=Yes&lt;/p&gt;
&lt;p&gt;I want that while i am editing a record the footer should automatically get update. At present its not happening.&lt;/p&gt;
&lt;p&gt;Can you please tell what special i have to do in order to make it work.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Huzefa&lt;/p&gt;</description></item></channel></rss>