I have worked in silverlight and in silverlight I can create control level events automatically on XAML, but I am unable to do that in .aspx page.
Following are the examples to give clear idea.
Silverlight:
If I want to create a new event on TextBlock called KeyDown, silverlight gives me an option called "<New Event Handler>" which will automatically generate respected event in .cs file .

Asp.NET:
If I want to create an OnClick event on button than I don't have any option.

If I go to design page where my button is located and do double click than event is populating on .cs page but I want to do that on source in .aspx page.
Am I missing something here? I think there shouldn't be any difference in this scenario but I am not sure why I am not getting auto event generate option.
I am using VS 2010 and .NET Framework 4