Click here to Skip to main content
15,904,828 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: ASP.NET Application Deployment Pin
Jon Sagara17-Apr-06 6:27
Jon Sagara17-Apr-06 6:27 
GeneralRe: ASP.NET Application Deployment Pin
pgoutia17-Apr-06 6:35
pgoutia17-Apr-06 6:35 
GeneralRe: ASP.NET Application Deployment Pin
Braulio Dez17-Apr-06 7:22
Braulio Dez17-Apr-06 7:22 
Questionlearning Crystal Report Pin
ptvce17-Apr-06 5:51
ptvce17-Apr-06 5:51 
AnswerRe: learning Crystal Report Pin
Mike Ellison17-Apr-06 6:22
Mike Ellison17-Apr-06 6:22 
Questionvs2005 page events for c# Pin
the pink jedi17-Apr-06 5:43
the pink jedi17-Apr-06 5:43 
AnswerRe: vs2005 page events for c# Pin
ToddHileHoffer17-Apr-06 5:57
ToddHileHoffer17-Apr-06 5:57 
AnswerRe: vs2005 page events for c# Pin
minhpc_bk17-Apr-06 16:39
minhpc_bk17-Apr-06 16:39 
Hi there,
Because the changes in ASP.NET 2.0 and the web pages now support auto event wire-up, so you can add the handler for an event of the Page instance by declaring the method in the naming format Page_event[^], for example Page_Load, Page_LoadComplete ...In Vs 2005, you can still add the event handlers using the Properties Window, however i don't think this is the official way to do this, but it's worth a try:

+ Open the web page .aspx in the design view, right click and choose View Component Designer. You can also choose this from the menu View|Component Designer.

+ Select the Properties Window in the left pane, select the code-behind class in the dropdownlist, then choose the event icon.

+ You now can add the event handler for a specific event of the class, VS 2005 will automatically add the code to wire up the event handler in the InitializeComponent method. And you need to manage to add the call to the InitializeComponent method since the VS 2005 does not do that for you, you can add to the overriden OnInit or OnPreInit .... method:
override protected void OnInit(EventArgs e)
{
    InitializeComponent();
            
    base.OnInit(e);
}

QuestionProblem with Response.Write and Theme Pin
MightyJoe17-Apr-06 5:32
MightyJoe17-Apr-06 5:32 
AnswerRe: Problem with Response.Write and Theme Pin
Guffa17-Apr-06 6:10
Guffa17-Apr-06 6:10 
GeneralRe: Problem with Response.Write and Theme Pin
MightyJoe17-Apr-06 8:47
MightyJoe17-Apr-06 8:47 
QuestionGetResponse problem (very weird) Pin
ZiggY8117-Apr-06 5:17
ZiggY8117-Apr-06 5:17 
GeneralRe: GetResponse problem (very weird) Pin
Guffa17-Apr-06 6:15
Guffa17-Apr-06 6:15 
GeneralRe: GetResponse problem (very weird) Pin
ZiggY8117-Apr-06 19:25
ZiggY8117-Apr-06 19:25 
AnswerRe: GetResponse problem (very weird) Pin
Guffa17-Apr-06 21:13
Guffa17-Apr-06 21:13 
AnswerRe: GetResponse problem (very weird) Pin
Mike Ellison17-Apr-06 6:20
Mike Ellison17-Apr-06 6:20 
GeneralRe: GetResponse problem (very weird) Pin
ZiggY8117-Apr-06 19:27
ZiggY8117-Apr-06 19:27 
GeneralRe: GetResponse problem (very weird) Pin
Mike Ellison18-Apr-06 2:28
Mike Ellison18-Apr-06 2:28 
Questionvalidators problem Pin
Jmshastri17-Apr-06 3:55
Jmshastri17-Apr-06 3:55 
AnswerRe: validators problem Pin
Mike Ellison17-Apr-06 5:53
Mike Ellison17-Apr-06 5:53 
AnswerRe: validators problem Pin
Kapil Thakur17-Apr-06 19:23
Kapil Thakur17-Apr-06 19:23 
QuestionLight weight postback for refreshing page Pin
sandeep kumar pundhir17-Apr-06 3:40
sandeep kumar pundhir17-Apr-06 3:40 
AnswerRe: Light weight postback for refreshing page Pin
Kapil Thakur17-Apr-06 19:27
Kapil Thakur17-Apr-06 19:27 
QuestionDynamic Tab through Database in the Tabstrip Pin
nitin88117-Apr-06 3:37
nitin88117-Apr-06 3:37 
AnswerRe: Dynamic Tab through Database in the Tabstrip Pin
minhpc_bk17-Apr-06 20:25
minhpc_bk17-Apr-06 20:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.