ASP.NET skills summary

zhaozj2021-02-16  86

1. Pop up a dialog box when you click the button

Page_load

IF (! page.ispostback)

{

This.buttondelete.attribute.add ("onclick", "Return Confirm ('Do you confirm you want to delete?');

}

1. οncοntextMenu = "Window.Event.Return & # 118alue = false" will completely block the mouse button

NO Used for Table

2. Cancel to prevent copy

3. οNPASTE = "Return False" is not allowed to paste

4. οNCοPY = "Return False;" oncut = "Return False;" Prevent Copy

5. IE IE IE IE IS

6. You can display your icon in your favorites

7. Close input method

8. Always bring a framework