Question Locked
0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a datagrid that diplays information through a query, when the user edits the row, and changes the data in the field that was searched on,theat row still appears after the update link is clicked. Is there anyway to update the datagrid so that when the field searched on has a data change it refreshes and eliminates that row from that search?? Please help me!!!!
3 replies
by bytesmin Accepted solution
Clarifications
by master_techie Accepted solution
Hi Bytesmin, Do you refresh the grid regardless of the postback? Do you not write the changes back to the database? If you refresh the grid after the data edit, it should display the latest changes. Unless I am missing something... Please post the code you have for us to review, or email me directly at bhimanmanja@hotmail.com
by abhijeet.gawde Accepted solution
I would suggest that the fastest approach would be if you save the search Criteria and after editing a particular record call the RowFilter method of the DataView Object and Bind the DataView Object to the datagrid
This approach will reduced the 50% of your work of Request to the DataServer as only the Update Query will be called and the Data Retrival query can be bypassed.
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending
Discussion Locked
What Makes a Business Website Effective in 2026
2 helpful
10 replies
1 helpful
3 replies
Question
Windows and macOS computers becoming slow or unstable after updates - what should I check first
0 helpful
1 reply
Question Unanswered
Best Way to Make Long WordPress Location Guides Mobile Friendly
0 helpful
0 replies
Discussion
Optimizing WordPress widgets and DOM size
0 helpful
3 replies