Hi Everyone,
Is it possible to add an event to a control which is inside another control, like say a PlaceHolder control using the designer?
When the control is alone on the form this works perfectly... you simply add it from the properties window by clicking the thunder icon and clicking on the event needed.
I know I can do by adding it manually but it would just be faster if it were generated for me. To test this, add the following to a form and try adding the OnClick event of the btnTest through the designer or properties window:
<asp:PlaceHolder ID="phTest" runat="server">
<asp:Button runat="server" Text="Button" ID="btnTest" />
</asp:PlaceHolder>
Any help is appreciated
Regards