Last post Mar 30, 2020 01:54 AM by Yang Shen
Mar 29, 2020 05:21 PM|khedir|LINK
Mar 30, 2020 01:54 AM|Yang Shen|LINK
This is little confusing that in your thread title, you said it causes other buttons to cause an error, while in your post you said the error is on the DeleteButton function code which seems contradictory.
System.NullReferenceException: 'Object reference not set to an instance of an object.'
I built a demo based on the code your provided, but the issue can not be reproduced. According to the error and the location you provided where the error occurs, it's most likely that your c# code can not find the control whose id is "DeleteButton".
Can you provide the complete code including both of the front end and back end? And please pay attention to the format of your post content, it's really hard to read if you post so many meaningless html elements. Maybe the "Paste as Text"