| Dart Home | PowerWEB LiveControls for ASP.NET | Custom Development | Reply | PowerWEB LiveControls for ASP.NET Topics | Forums |
| Author | Forum: PowerWEB LiveControls for ASP.NET Topic: deleted records stay in datagrid |
| dexterm dmccloud@becton-schantz.com From: Duluth, GA USA Posts: 1 Member Since: 07/18/06 |
posted July 18, 2006 12:25 PM I have a web page that has a datagrid and a LiveCallBack control. I have code that allows user to push a button and delete a record. Once the record is deleted, I bind the database again so that the datagrid accurately reflects the records that remain in the database. This works with the exception that if there is only ONE remaining record in the datagrid. Even though I bind the database after the delete (the record count returned is 0), the data is still displayed in the grid. I even went so far as to move null to the DataSource if the record count returned in the Dataset was 0 with no succes. Can anyone point me in the right direction. I'm fairly certain this is a LiveCallBack issue since, it works without the CallBack control. |
| groovyghoul richard.oneil@garvin-allen.com From: Halifax, NS Canada Posts: 13 Member Since: 07/11/05 |
posted July 24, 2006 10:23 AM Hi I am experiencing the same type of issue. If I bind the grid to a dataset with data, everything is fine. If I try to rebind to a dataset with no records, I continue to see the data from the previous bind. Using version 1.5.1.0 Thanks. - Richard O'Neil - Garvin-Allen Solutions |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted July 24, 2006 12:13 PM Hi. We are trying to reproduce this behavior, but are unsuccessful so far. Can you post the minimum code required to reproduce the issue? Also, are you using VS.NET 2005, or a previous version? |
| groovyghoul richard.oneil@garvin-allen.com From: Halifax, NS Canada Posts: 13 Member Since: 07/11/05 |
posted July 24, 2006 3:10 PM Hi Jeff We are using VS2003 right now. I will try to put together a small app tonight or tomorrow and ship that off to you. Thanks. - Richard |
| Reply | PowerWEB LiveControls for ASP.NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|