Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1735
DeleteSelectedRows
posted

Grid.DeleteSelectedRows(true) clear all textbox values in the form?may i know why? i want to avoid this.Please suggest alternative

Scenarion : i have textboxes and grid in the form and adding blank rows in the grid when i click on add button but when i click delete button it delete rows from grid but it aslo clear textbox values.

Parents
No Data
Reply
  • 2165
    posted

    Hello Chitra,


    I am not exactly sure how your TextBoxes were  populated with data and what I assume is that your grid and TextBoxes are bound to a same data source. So I’ve implemented this in a simple sample, please see attached zip,  and  I am not sure that I see  your issue.  Could you please review my sample and let me know if it reproduces your issue. If it isn’t please modify my sample, so I will be able to investigate this on my side.
    I am waiting for your feedback.

    WinGridDeleteRowsCase.zip
Children