Thanks, Tracy that is the kind of response I was looking for... Craig
--- In flexcoders@yahoogroups.com, "Tracy Spratt" <tr...@...> wrote: > > I have used polling with WebService and HTTPService and there is no > significant difference. Be aware of BlazeDS, which provide push technology. > > > > I don't understand #3. > > > > Use a function to invoke send() and use result handler to handle the result. > Do not bind directly to lastResult. > > > > Tracy Spratt, > > Lariat Services, development services available > > _____ > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of cjsteury2 > Sent: Wednesday, October 07, 2009 10:49 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] .Net Web Services & Polling Question > > > > > > Let me re-phrase my prior inquiry... > > If Using .net with SQL db and web services to communicate with FLEX front > end components Charting and Datagrid... my questions is this... > > What is best way to get the components to 'auto-update'... with no page > refresh... the pages are in a .Net framework. > > Right now the Webservices .send() the request to .Net WebService which > updates an ArrayCollection to the Components. > > I would like the components to auto-refresh() every 15 minutes with no page > refresh.. So specifically... > > 1. It's easy enough to setup a Timer for the Static components (static > meaning those which do not require user intervention or a 'click' to specify > the correct data to display). Would that be the best way to do it ? > > 2. Also, I have a static page of DataGrid's that are updated via Webservices > on the creation Complete() event using ArrayCollections... if I were using > some other type of Data Commm like say AMF or other HTTP type service would > it be easier to setup a Polling capability or is the same just to set up > TIMER to Send() the Web Services Request? > > 3. Because I need a user to click a Datagrid to select the correct > SelectedItem to display from a DataGrid in a Chart Component... how would I > use a Timer() event to update this request?? > > Ohhh, I think I know... The 'selectedItem' is a Public Variable so the > Update Event would always know which item to request... > > Otherwise, what other architecture issues should I be aware or? > > Any? or is there a better way? >