Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AJAX and page_load

Status
Not open for further replies.

jshurst

Programmer
Oct 27, 2004
1,158
US
I followed an AJAX example using asp.net 2.0's ICallbackEventHandler. It appears to be working, however when I step through the code with the debugger I notice that the page_load event is firing everytime. This can't be correct can it?

Aren't the RaiseCallbackEvent and GetCallbackResult the only methods that need to be called here?

Thanks,

J
 
I think the Page processing happens as normal (so you can, say, retrieve control values and stuff), it's just the other stuff is tacked on.

That said, have you checked out Atlas yet?


It's cool stuff and the future of AJAX in ASP.NET!
 
Thanks BoulderBum. Just making sure. It just startled me a little when I saw the page_load event getting fired.

I have checked out Atlas, but I'm at work and we haven't got into that yet. I would much rather be using it if I could though ;-)
 
Yeah, it's hella cool. They need to do a few things to make it perfect IMHO (client-side events, some stuff with the ScriptManager), but it's amazing as is.

Oh, by the way: Atlas is free, it has a go-live license, and using it now will probably 1. save you some work and 2. train you for how AJAX will work in ASP.NET in the future.

The choice is yours, but it wouldn't hurt to ask the higher-ups if they'll let you use it! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top