1
Reply

what is the autoeventwireup in page directives?why it is always true? when we set the false whats happend?

raja bhaskar

raja bhaskar

16y
4.8k
0
Reply

    When you set the value of the AutoEventWireup attribute to true, the ASP.NET runtime does not require events to specify event handlers like the Page_Load event or the Page_Init event. This means that in Visual C# .NET, you do not have to initialize and to create the delegate structures.

    When you use Microsoft Visual Studio .NET, the value of the AutoEventWireup attribute is set to false and the designer automatically generates event handlers. This article describes the default settings of the AutoEventWireup attribute and shows you some helpful code.

    Regards

    Vijaya Sekhar Kamarthi