I have an aspx page on which there is a Loginview control. I put a Detailsview inside this Loginview control. Now I want to write a handler for a Detailsview event but this Detailsview object is not on the dropdown list from the code file(aspx.vb file)(because this object is in the Loginview container). How do I write the event handler then? Is it a common scenario to write a handler for an object inside a container during development?
Share
Select the server control either in design view or source view in Visual Studio-click the Event button in Property Window-select “OnEvent”-type the name of the event handle you want to name-finish. In the code page the event handle will be auto-generated. Complete it to finish.