llblgendatasource2 - updating detailsview problem

Posts   
 
    
rracer99
User
Posts: 58
Joined: 11-Mar-2007
# Posted on: 04-Jan-2008 14:42:33   

Within the updating event of a gridsview, I am handling data and making an Update to the DB.

After hours of confusion I realized the llblgendatasource may be updating after the detailsview updating event and overwriting with its own values.

How can I update myself in the detailsview event while the datasource just performs selects? I tried disabling livepersistence but then could not get the detailsview to display. Then I tried setting the EntityCollection field of the datasource but the detailsview still did not display.

Thanks

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 04-Jan-2008 15:29:18   

How can I update myself in the detailsview event while the datasource just performs selects?

Set LivePersistence to false and handle the events yourself.

I tried disabling livepersistence but then could not get the detailsview to display.

What have you tried? Please post code snippets. And what was the outcome?

Please provide more details as in here: http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=7722