Hi @GaglianiCaputoVincenzoIRQUA-1155,
Thank you for your feedback.
I have followed your description and tested on my side, but it worked well on my side. So I think this issue may be caused by the environment(IDE, cache…).
Please follow steps below to troubleshoot.
1). Go to your solution(project) folder and rename or delete the hidden .vs
, bin
and obj
folders, then test again.
2). Please close every VS instances and go to this path: C:\Users\Administrator\AppData\Local\Microsoft\VisualStudio\16.0_XXXX
and rename or delete every ComponentModelCache
folders, after that restart VS and try to add the click event.
3). Please try to disable any third-party extensions from VS > Extensions > Manage Extensions > Installed > Disable.
4). Please try to create a new website empty project and add(copy > paste) the necessary codes in the newly created project and try to create a ImageButton
with ID imgbtn
, then check if Intellisense works. If this issue still persists, please also try to reset VS settings and repair VS from VS Installer > VS 2019 > More > Repair.
Sincerely,
Tianyu
- If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.