New Posts New Posts RSS Feed: refresh entity
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

refresh entity

 Post Reply Post Reply
Author
erturkcevik View Drop Down
Groupie
Groupie


Joined: 14-Jun-2007
Location: Turkey
Posts: 40
Post Options Post Options   Quote erturkcevik Quote  Post ReplyReply Direct Link To This Post Topic: refresh entity
    Posted: 18-Apr-2008 at 9:53am
Hi;
 
I think when changed or adding record , view based entity cannot automatic refresh.  
 
How to refresh view based entitiy after changed or adding new record at another edit form and how to releated record (added, changed) position in the view based entity form after saving?
 
view based entity form : Only listing record to gridview
edit form : edit releated record at view based entity form
 
after saving in edit form
can I using following steps?
pm.refetch<viewbasedentity, DatasourceOnly)
viewbasedentityBS.position = added or changed record
 
 
Best Regards
 
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 18-Apr-2008 at 1:09pm
If I am in the currently active form in an application, other forms will not update when changes are made to this form.  I would argue that this is a good thing because it would be very dustracting if forms in the backgroud started mgically repainting their contectents.  The correct technique is  to have each form examine its environment when it becomes the currently active form.  If it sees that data has changed, it should force a redisplay.
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down