Solved

repopulate datagrid using web service

Posted on 2007-12-03
6
721 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 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Flash builder 101 tutorial 3 447
Video Playback in Flex Mobile App 4 1,527
how to create a customized menu in Flex ? 1 596
How width columns automaticaly 4 440
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…
Read our guide on how to survive being on-call.

735 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