Visual Studio 2010 events button has disappeared - visual-studio-2010

Hi I have been working with visual studio 2010 ultimate all day developing an asp.net webforms application.
I just realized that on the properties for controls window the button for events is missing , the one that looks like a thunderbolt.
An hour ago that button was there and now somehow it has disapeared and I can't figure out how to make it visible again.
I have tryed reseting the visual studio settings and reseting the computer but nothing worked
How can I get the button back?

I had the same problem. This helped me.
1.Restart visual studio 2010.
2.Click and select a control in markup page(.aspx)(like
3.After selecting , Click "View" in menu and select "Property window".
Check the property box, Thunderbolt ll be available. It just happened for me!
If the above solution not working go on with this!
1.Select design view in markup(.aspx)
2.Select any individual control like a button or label..
3.Now, you will be able to see a ">" button on the right side? Click it.
4.Remember to select only one control./.now check your property window! Whoohoo..

Actually while the solution above works, it puts you through more steps than you need. You can resolve this famous disappearing thunderbolt by simply clicking on Design view, and then clicking back on Source view, then clicking again to select the control in source view.
The Thunderbolt icon and events for the control will magically reappear.
You do not need to restart Visual Studio, and you do not need to select anything while in Design view.
And now, for my RANT about this annoying bug:
Even though this is easy to resolve, it is a MAJOR inconvenience to developers in my opinion, because we have to do this silly workaround all the freaking time.
This is in fact a BUG in Visual Studio. It has existed since at least Visual Studio 2010 (many users have reported it here and in MS forums across this and all later versions of VS). I have confirmed that this bug still exists in the latest build of Visual Studio 2022. So clearly MS has no plans to fix it.
[Rant Mode Off]
Cheers,-=Cameron

Related

Visual Studio 2019 - can't change profile settings, opens FolderProfile.pubxml instead

I have a problem with Visual Studio 2019.
From what I have seen in tutorials, during publishing an application, I should be able to change profile settings, by clicking a small pencil (I included a screenshot, it's a little pencil next to "false" and other settings.) However, every time i click it, it opens FolderProfile.pubxml file in Visual Studio instead! Is this indended behaviour, am I doing something completely wrong? How to change that? Screenshot
My problem fixed when I updated visual studio.
Also go to extensions and update all.
Now show UI options.

Add option for BarButtonItem not appearing in Visual Studio form Designer

Sometimes when I open my Visual Studio form designer, I see the [Add] text to create a new BarButtonItem, other times I don't. This has led me to search for a way to create a new button several times now. Any idea what might be causing this?
Try to right click your bar manager, and check the Show DesignTime Enhancements.
Here is a link that may help.

Prevent Visual Studio to scroll to the end of file when pressing Ctrl A (select all)

It's basically in the title.
Whenever you "select all" in the Visual Studio code editor, the editor will scroll down to the bottom of the file. Is there a way to prevent this?
I'm using Visual Studio 2008 at the moment, but this applies to all versions.
No, you cannot change this behavior.
Microsoft has been aware of this since at least VS 2010, but either doesn't think it's a bug or doesn't think it's important enough to fix.
From their response to a 2010 bug report filed on the issue:
We unfortunately do not plan to change Ctrl+A's scrolling at this
time, so we're unfortunately resolving this issue as Won't Fix for VS
2010. However, it will remain in our database to be revisited for a future release of Visual Studio.
Source: Microsoft Connect
A quick Ctrl-Z-Ctrl-Y will get you back to where you were. If you tend to do a Ctrl-S Ctrl-A Ctrl-C a lot then just get used to this whole chain instead: Ctrl-SACZY. Or, create a macro: https://msdn.microsoft.com/en-us/library/a0003t62%28v=vs.90%29.aspx
I was struggling with this myself, but the "undo" suggestion gave me an idea and I feel kinda dumb for not thinking of it earlier. Visual Studio includes "Navigate Backwards" and "Navigate Forwards" buttons (CTRL-, and CTRL+, respectively). So after you finish selecting and copying, simple click the navigate backwards button or type CTRL- and voilĂ ! you're back where you were.
I know it doesn't stop the scroll to begin with, but at least it puts your cursor back exactly where you left it!

visual studio 2010 toolbox standard controls missing

I have created an asp.net project in visual studio 2010 ultimate edition.
I can't see Standard, Data etc toolbox tabs, I can only see Telerik and HTML controls.
I tried to reset the toolbox, tried to delete C:\Users\mypcuser\AppData\Local\Microsoft\VisualStudio\10.0\*.tbd.
I also tried devenv /ResetSkipPkgs but nothing worked for me.
Please suggest a Solution thanks!
This may help you.
In the Toolbox, select the tab where you want to add the control.
Right-click the Toolbox and select Choose Items from the shortcut menu.
The Choose Toolbox Items dialog box opens. The following illustration shows the Choose Toolbox Items dialog box.
Try to right click on the Toolbox and select "Reset Toolbox"
The common controls should appear in the Dialog Editor list along with all the MFC ones that I seem to be limited to when the problem happens.
I have this happen frequently. I don't know what causes it, but this fix always works and is fine for me since I didn't customize anything.
This will help you...
In Visual studio, go to view-toolbar-check standard and layout..
Then restart the visual studio and be sure on design page and check for toolbox..
Now the standard toolbox items will appear.. Thanks.
Just for the Future Viewer of this page
VS 2010 standard ToolBox cannot be viewed.
Mostly this is happen on a first run.
It solved the problem with Ctrl + Alt + X in your keyboard.

Solution Configurations drop down list in WP7

I'm running Microsoft Visual Studio 2010 Express for Windows Phone. My problem is I'm not getting the solution configurations drop down list.I tried a lot but I'm not getting it.
Click the Tools menu, click Settings, and then click Expert Settings.
The Solution Configuration list box appears in the Standard toolbar. Click Debug or Release.
If still not visible, check this

Resources