Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

repopulate datagrid using web service

Posted on 2007-12-03
6
Medium Priority
?
724 Views
Last Modified: 2008-02-01
I have a state and on that state I call a web service that inserts a db record when the user clicks on Ok in the Alert dialog box.  I then redirect the user to a flex datagrid component that pulls in data from a db call.  However, the latest record never appears.  It does appear however when I click on a button to go to another state, then go back to that state on a button click and it then appears.  How can I get the datagrid to re-populdate off of that Alert dialog box (by clicking OK)?
0
Comment
Question by:COwebmaster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 19

Accepted Solution

by:
Gary Benade earned 2000 total points
ID: 20401170
have you tried calling yourdbgrid.validateNow() after the button click?
0
 

Author Comment

by:COwebmaster
ID: 20403785
what does that do?
0
 

Author Comment

by:COwebmaster
ID: 20403881
that didn't work.
0
A new era in Cloud training has arrived.

A day that will go down in Cloud history.. But are you ready for it? Will you accept this Cloud challenge?

 
LVL 19

Expert Comment

by:Gary Benade
ID: 20409582
It forces the component to repaint itself. Paste the relevent code and I'll have you up and going in no time
0
 
LVL 14

Expert Comment

by:chinu1310
ID: 20415158
Looks like you need to call the web service again when users presses OK button in the alert box. Can you post some code so that I can have more idea.

Thanks
0
 

Author Comment

by:COwebmaster
ID: 20436022
i got it to work.  thanks!
0

Featured Post

Introducing the WatchGuard 420 Access Point

WatchGuard's newest access point includes an 802.11ac Wave 2 chipset, providing the fastest speeds for VoIP, video and music streaming, and large data file transfers. Additionally, enjoy the benefits of strong security as the 3rd radio delivers dedicated WIPS protection!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question