I have a grid with parent record and detailstable records.Detail table record will be shown only if we have child record other wise single record with no child record is shown.
In parent record and detail table child record i have button.And i'm setting msg on these buttons.The parent record should show msg that deleting parent record will delete child record as well where as deleting child record will show msg do you want to delete this record msg.
Where should i put this validation.Should i use DetailTableDataBind event for this.If yes then how should i find the parent control button to change the msg if no records are found and keep the the same msg if i have the records for child detail table
In parent record and detail table child record i have button.And i'm setting msg on these buttons.The parent record should show msg that deleting parent record will delete child record as well where as deleting child record will show msg do you want to delete this record msg.
Where should i put this validation.Should i use DetailTableDataBind event for this.If yes then how should i find the parent control button to change the msg if no records are found and keep the the same msg if i have the records for child detail table