Solved

repopulate datagrid using web service

Posted on 2007-12-03
6
714 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
  • 3
  • 2
6 Comments
 
LVL 19

Accepted Solution

by:
Gary Benade earned 500 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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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…
Find out what the Office 365 disclaimer function is, why you would use it and its limited ability to create Office 365 signatures.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now