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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
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?
hi, then, how can i call it so i don´t receive that message telling me the function cannot be used due to its private directive resctriction? thanks...