﻿<?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 - Integrated WebCombo - cache data</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Integrated-WebCombo---cache-data/</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>Integrated WebCombo - cache data</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Integrated-WebCombo---cache-data/</link><pubDate>Mon, 05 Oct 2009 05:20:02 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>cache</category><category>WebCombo Retrieve values server side</category><description>&lt;p&gt;Hi Michael,&lt;/p&gt;&lt;p&gt;After I discussed with our developer, they said that is is default behaviour. &lt;br /&gt;Event if it is not integrated into WebGrid, the WebGrid IntializeLayour event would be called (WebGrid IntializeDataSource and PrepareDataBinding would be called only when it needs new datasource). &lt;br /&gt;When clicked on WebCombo dropdown, it would initiate ajax callback just like in full Postback behaviour. All control life cycle should remain the same.&lt;br /&gt;Otherwise, it'll break a lot of architecture.&lt;br /&gt;Although the event would be called, but you can customize with your own validation to check if the codes inside those event needs to be called or not.&lt;/p&gt;
&lt;p&gt;e.g&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;i&gt;if (grid.IsFlyPostBack) or if(!ISPostBack)&lt;/i&gt;&lt;/b&gt; then do the code&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Integrated WebCombo - cache data</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Integrated-WebCombo---cache-data/</link><pubDate>Sun, 04 Oct 2009 11:03:36 GMT</pubDate><dc:creator>Michael</dc:creator><category>cache</category><category>WebCombo Retrieve values server side</category><description>&lt;p&gt;Hi Handy&lt;/p&gt;
&lt;p&gt;Following Events are fired if I dropdown WebCombo &lt;em&gt;wcProduct&lt;/em&gt;:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;Page_Load&lt;/li&gt;&lt;li&gt;grd_InitializeLayout&lt;/li&gt;&lt;li&gt;grd_InitializeDataSource&lt;/li&gt;&lt;li&gt;grd_PrepareDataBinding&lt;/li&gt;&lt;li&gt;wcProduct_InitializeDataSource&lt;/li&gt;&lt;li&gt;wcLine_InitializeDataSource&lt;/li&gt;&lt;/ol&gt;
&lt;div id="result_box" dir="ltr"&gt;I think, when a combo box is integrated into the grid, it is not necessary to initalisize the combo box each time. The data in the combo box does not change. It is not possible to load the data once and then cached, so that the dropdown of the combo box as quickly as possible.&lt;/div&gt;
&lt;div dir="ltr"&gt; &lt;/div&gt;
&lt;div dir="ltr"&gt;How can I keep the response time as short as possible?&lt;/div&gt;
&lt;div dir="ltr"&gt; &lt;/div&gt;
&lt;div dir="ltr"&gt;Best Regards&lt;/div&gt;
&lt;div dir="ltr"&gt;Michael&lt;/div&gt;</description></item><item><title>Integrated WebCombo - cache data</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Integrated-WebCombo---cache-data/</link><pubDate>Thu, 01 Oct 2009 05:17:40 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>cache</category><category>WebCombo Retrieve values server side</category><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;From your sample, which events are fired? I could not test it your issue since i don't have any your database. So, i tried to make the sample with similar settings in WebCombo,WebGrid and page load. If it is WebCombo InitializeDataSource, then it is the default behaviour. &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Integrated WebCombo - cache data</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Integrated-WebCombo---cache-data/</link><pubDate>Wed, 30 Sep 2009 01:53:33 GMT</pubDate><dc:creator>Michael</dc:creator><category>cache</category><category>WebCombo Retrieve values server side</category><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I have integrated WebCombo in WebGrid.&lt;/p&gt;
&lt;p&gt;On Page_Load Event I get a DataSet with webGrid and WebCombo Data.&lt;/p&gt;
&lt;p&gt;Every time, if I click on WebCombo all server events are fired.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;It's not possible to cache WebCombo Data, because these data do not change?&lt;/strong&gt;&lt;/p&gt;
&lt;div id="result_box" dir="ltr"&gt;I want the smallest possible response, because of that I set Latency=0.&lt;/div&gt;
&lt;div dir="ltr"&gt; &lt;/div&gt;
&lt;div dir="ltr"&gt;Best regards&lt;/div&gt;
&lt;div dir="ltr"&gt;Michael&lt;/div&gt;</description></item></channel></rss>