Can we write all the control events in a seperate class file in different layer rather than in code-behind of web-page?
Domanda
Can we write all the control events in a seperate class file in different layer rather than in code-behind of web-page ? Kindly help.
Thanks in advance.
Soluzione
Yes you can. One way of doing that is to make a partial class with the same name as your codebehind file and use that to contain the events.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow