Use the Ajax extensions tool to delete objects without refreshing
Visual sudio provides us with a set of Ajax tools,
The two most common components are scriptmanager and updatepanle.
Next we will use these two components to implement the refreshing operation of the page! There is a picture and a truth!
Yes, it's that simple!
We just need to package the data domains for data presentation with updatepanel and add a scriptmanager.
Isn't it challenging? That's right. Microsoft has done too many things for us, and we don't even know what happened internally, but I just want to figure out the internal implementation method. In this case, we need to be familiar with hand-written ajax to achieve no refreshing of pages.
It's like when your parents have done everything for you, you will feel very uncomfortable!
Learn to think for yourself!
Leave me alone, let me make mistakes.