﻿<?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 - WebCombo - how do I limit the number of postbacks from webcombo</title><link>http://www.intersoftsolutions.com/Community/WebCombo/how-do-I-limit-the-number-of-postbacks-from-webcombo/</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>how do I limit the number of postbacks from webcombo</title><link>http://www.intersoftsolutions.com/Community/WebCombo/how-do-I-limit-the-number-of-postbacks-from-webcombo/</link><pubDate>Tue, 10 Nov 2009 20:08:50 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;WebCombo will do FlyPostback when you clicked on WebCombo dropdown and on Postback behaviour, onLoad event should be called. That's already the behaviour. May i know what exactly code, you need to load onLoad event?&lt;/p&gt;&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>how do I limit the number of postbacks from webcombo</title><link>http://www.intersoftsolutions.com/Community/WebCombo/how-do-I-limit-the-number-of-postbacks-from-webcombo/</link><pubDate>Mon, 09 Nov 2009 14:57:51 GMT</pubDate><dc:creator>ekwaters@opsolutions.com</dc:creator><description>&lt;p&gt;"You can also set a condition (!isPostBack) to avoid onLoad to be called.."&lt;/p&gt;
&lt;p&gt;Do you mean using !ispostback as part of IF condition in the onload event or is there another place you can use it?  &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;As I mentioned in my post, I already use !ispostback in the onload.  But there is certain code that I need to run on other (non) webcombo postbacks--so I can't put all my onload code into this condition statement.  &lt;/p&gt;
&lt;p&gt;Is there anyway to know that the webcombo is causing the post back once I get to onload event?&lt;/p&gt;</description></item><item><title>how do I limit the number of postbacks from webcombo</title><link>http://www.intersoftsolutions.com/Community/WebCombo/how-do-I-limit-the-number-of-postbacks-from-webcombo/</link><pubDate>Tue, 03 Nov 2009 21:06:22 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>Yes, when you click/show DropDown on WebCombo, it would trigger a postback, which we called it FlyPostback. The behaviour of FlyPosback lifecycle should be same as Full PostBack. That's why onLoad would be called again. In your scenario, InitializeDataSource was not called because the data cached. If you set '&lt;b&gt;&lt;i&gt;AllowAutoDataCaching&lt;/i&gt;&lt;span style="font-weight: normal; "&gt;' false, InitializeDataSource would be called. You can also set a condition (!ISPostBack) to avoid onLoad to be called.&lt;/span&gt;&lt;/b&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;Regards,&lt;br /&gt;Handy&lt;/div&gt;</description></item><item><title>how do I limit the number of postbacks from webcombo</title><link>http://www.intersoftsolutions.com/Community/WebCombo/how-do-I-limit-the-number-of-postbacks-from-webcombo/</link><pubDate>Tue, 03 Nov 2009 11:25:57 GMT</pubDate><dc:creator>ekwaters@opsolutions.com</dc:creator><description>&lt;p&gt;This question relates to .net 1.1 webocombo v2.  I am currently upgrading to v4 but I still have legacy clients.  In quick tests I see the same issue in v4.&lt;/p&gt;
&lt;p&gt;I have a data entry screen with about 10 web combos.  The initialize datasource gets hit on the initial load of page.  Then each time I click into one of the web combos it triggers a postback that hits my page onload, but &lt;strong&gt;not&lt;/strong&gt; the InitializeDataSource (everything works so I don't need it to hit initializedatasource).  I have no other webcombo code except for initialize datasource.  &lt;/p&gt;
&lt;p&gt;Why does the webcombo cause a postback when nothing is being done server-side?  Can I prevent this postback?  Or is there a way for me to tell that it is the webcombo that is causing the postback so that I don't run my other onload code numerous times (I already use the if ispostback in onload, but I need to have certain code outside that condition)?  &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks for any suggestions, Ethan&lt;/p&gt;</description></item></channel></rss>