Events icon in Visual Studio 2008

Last post 01-15-2009 8:56 PM by Mikhail Arkhipov (MSFT). 6 replies.

Sort Posts:

  • Events icon in Visual Studio 2008

    01-10-2009, 11:01 AM
    • Member
      180 point Member
    • markymark1050
    • Member since 01-10-2009, 3:58 PM
    • Bristol, UK
    • Posts 141
    Hi there.

    When I open up the Properties window in Visual Studio, the Events (lightening bolt) icon is not showing for any control type that I click on in a project.

    Does anybody know if there is a setting for this please as I can't use the mouse to invoke a template method body in the code, such as when you double-click SelectedIndexChange?

    Yes I know it is okay to code this by hand in the aspx and cs pages but this shortcut does come in handy.

    Thank you.

    M :)
  • Re: Events icon in Visual Studio 2008

    01-10-2009, 5:14 PM

    Try to click on the controls in the Design part of the aspx page, not the HTML part.  I noticed that it ALWAYS works from the Designer but not always from the HTML.

  • Re: Events icon in Visual Studio 2008

    01-10-2009, 11:40 PM
    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Events icon in Visual Studio 2008

    01-11-2009, 11:39 AM
    • Member
      180 point Member
    • markymark1050
    • Member since 01-10-2009, 3:58 PM
    • Bristol, UK
    • Posts 141

    Thank you for the response.  The problem I have is that I am having to click on the control in the source view as I am using a master page with ajax tabs and accordion controls, so all I can see - in design mode - are the controls of the first tab page.  Maybe par5t of my answer is how to be able to see the controls within the second tab page..?

     Then I will be able to select the respective control in design mode.

    Thank you.

    Mark :)

  • Re: Events icon in Visual Studio 2008

    01-11-2009, 12:53 PM

    With some care, I've been able to change the tabs by clicking on the tab itself in design mode.  Alternatively, you can change the tab index property in source view and save; it might update the view in design.

  • Re: Events icon in Visual Studio 2008

    01-15-2009, 7:45 PM
    • Member
      403 point Member
    • djh
    • Member since 06-09-2006, 6:08 AM
    • Posts 68

    Aaaahhhhhhh!!! Thank Metal, this had been driving me nuts.  Turns out if once you put a control onto your page and then go into design view, the Events lightning bolt icon will then ALWAYS show up in design AND source view, but only for that control.  If you add a new control to you page, you must pop back into design view for a second to get the Events icon to show up for the new control.

  • Re: Events icon in Visual Studio 2008

    01-15-2009, 8:56 PM

    You don't have to flip views. As I said - you simply need to sync design view (while staying in Source). Try using View | Sync Design View command

    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
Page 1 of 1 (7 items)