Re: Event handlers

From: Scott Allen (bitmask_at_[nospam)
Date: 04/27/04


Date: Tue, 27 Apr 2004 10:58:40 -0400

Hi Allan:

Do you mean for just one page?

When in design mode, select View -> Properties, then select your page
in the drop down list of the properties window. Next, click on the
lightning bolt (event handlers for the page), and double click on
Error to have the IDE put all the setup code in place for you.

--
Scott
http://www.OdeToCode.com
On Tue, 27 Apr 2004 10:06:36 -0400, "A.M" <IHateSpam@sapm123.com>
wrote:
>Hi,
>
>Using C#, ASP.NET 1.1 and VS.NET 2003, I am trying to add Page_Error event
>handler to my page. I know that I can Manually type the handler, but is
>there any way to have IDE add the Page_Error event handler to the page?
>
>Thanks,
>Allan
>


Relevant Pages

  • Re: Complaint about Visual Basic IDE with ASP.net: Removal of Event Handlers
    ... > I want to make a complaint about the Visual Basic.Net ... > I want to make a complaint about the Visual Basic.Net IDE with ASP.net ... The target of this complaint is the removal of event handlers from ... During the course drag/dropping the user control, ...
    (microsoft.public.vsnet.ide)
  • Re: Sorry, but not happy with D2007
    ... So it seems that the first solution is to make sure the IDE is very ... It's probably the most stable Delphi I've ever ... put stubs in the event handlers that I believe I'll need so that I ... Because you 'automatically' remove all empty events, ...
    (borland.public.delphi.non-technical)
  • Re: Upgrade Anxiety
    ... Like Tom, I've taken to adding variables by directly writing DDX_Control calls, because I ... don't have the patience to wait for the IDE to do it. ... reason I would want to start typing code until I've added all the event handlers! ...
    (microsoft.public.vc.mfc)
  • System.Web.UI.Page?
    ... The event handlers for the different events are not shown here. ... time pointing to the line ... Secondly, why is the VWD ... IDE & the .NET compiler pointing to 2 different code lines though both ...
    (microsoft.public.dotnet.framework.aspnet)
  • event handler disappears (VS.Net and ASP.NET)
    ... can someone please tell me why when I click on a webform in design mode ... to view the the code behind Visual Studio clears my event handlers? ...
    (microsoft.public.dotnet.languages.csharp)