partial class in asp.net 2
Hi all,
Anyone please tell me whether the whole page is posted back after an event in .net 2005 web pages ( eg: after dropdownlist selected index changed or button click) or is it like an ajax enabled component since code-behind file is now a partial class rather than a full class that inherits from the ASPX page. Please explain.
Thanks in advance.
Ali
Anil TripathiPosted Nov 7, 2006, 2:06 PM
For just some compnent to be posted you have to use Client Callbacks.
Partial class enables the CLR to compile the page and code behind together, that is why we do not have to declare the controls in codebehind file unlike in version 2003.
Thanks,