Hi,
I have a RadGrid with templated forms within it. I have the functionality to add, edit or delete a record in this grid.
If i select the edit on a record, i get a form listing under the record which lists the lists the UniqueData Key field in a label so you can identify the record you are editting. If i was to select the "add new record" button then i would get a blank form in the last record where the label would read "New Record". Also, if i had a record open for editting and then clicked on Add record, the editting would stop & only the add record form would be open.
However, if i select "add record" first & then click on "edit for a different record, the edit record's edit form will display but the add record form will still be open. Also, both labels on the 2 open forms reads "new record" and you can't save the Edit record form (no error comes up but nothing happens when you click on save).
Why does the grid allow the user to edit a record without closing the add record form? Why does it confuse the edit form for a new record form? Is this a bug in the RadGrid control & is there a way of stopping this? (i.e. if i click Add New Record then only the add record form should be visible & if i then click edit a record the add record form should be cancelled and only the edit form should be visible).
Please let me know if you have a solution to this.
Regards,
Shuja
I have a RadGrid with templated forms within it. I have the functionality to add, edit or delete a record in this grid.
If i select the edit on a record, i get a form listing under the record which lists the lists the UniqueData Key field in a label so you can identify the record you are editting. If i was to select the "add new record" button then i would get a blank form in the last record where the label would read "New Record". Also, if i had a record open for editting and then clicked on Add record, the editting would stop & only the add record form would be open.
However, if i select "add record" first & then click on "edit for a different record, the edit record's edit form will display but the add record form will still be open. Also, both labels on the 2 open forms reads "new record" and you can't save the Edit record form (no error comes up but nothing happens when you click on save).
Why does the grid allow the user to edit a record without closing the add record form? Why does it confuse the edit form for a new record form? Is this a bug in the RadGrid control & is there a way of stopping this? (i.e. if i click Add New Record then only the add record form should be visible & if i then click edit a record the add record form should be cancelled and only the edit form should be visible).
Please let me know if you have a solution to this.
Regards,
Shuja