Hi there,
1) I have a problem with GridView data refresh. My code is like the GridView/DomainDataSource example. I have a GridView with CanUserInsertRows=True. When i insert a new record click on the Submit button:
myDomainDataSource.SubmitChanges()
changes are saved but the GridView does not refresh from database. How could i do this?
2) I also have a problem with GridView height. I'm using the GridView with DataPager. I have 10 items per page but last page it usually hasn't 10 items and GridView resizes. I don't want to resize in this case. How could i avoid that? (I mean without using Height property like the GridView/DomainDataSource example)
Thanks!
1) I have a problem with GridView data refresh. My code is like the GridView/DomainDataSource example. I have a GridView with CanUserInsertRows=True. When i insert a new record click on the Submit button:
myDomainDataSource.SubmitChanges()
changes are saved but the GridView does not refresh from database. How could i do this?
2) I also have a problem with GridView height. I'm using the GridView with DataPager. I have 10 items per page but last page it usually hasn't 10 items and GridView resizes. I don't want to resize in this case. How could i avoid that? (I mean without using Height property like the GridView/DomainDataSource example)
Thanks!