by Mads Kristensen
17. February 2006 18:22
I just spend ½ hour trying to find out, why my client callbacks where executing code
inside the if (!Page.IsPostBack) region
of my Page_Load method. It turns out, the Page class in .NET 2.0 has now got a new
property called IsCallback. I then changed my if (!Page.IsPostBack) to if (!Page.IsPostBack
&& !Page.IsCallback). You learn something every day. The client
callback feature of .NET 2.0 is really well implemented. If you haven't tried it yet,
you should. It works like a charm and the things you can do with it, is absolutely
incredible. Thumbs up to the architects of that feature. The father of ASP.NET Scott
Guthrie is probably one of them.
* Only $4.95/month ASP.NET & Windows 2008 + IIS 7 Hosting! FREE SQL Included
e12a6d20-02bf-4395-a374-4acfa49349e2|1|3.0
Tags:
ASP.NET