ASP.NET 1.0 and 1.1 BasicsASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
i have a datagrid web control and assigned its ondelete command property to Delete_Grid private void in code-behind page. i got the error that alert me this function cannot be called because it's protected. then i change it to public directive and everything is fine. my question is: all the functions implememented code-behind that acts as event handlers for webcontrols placed in a page must be declared as public?