Cant call method of Button if Button is added to panel in the .net so wt can i do?
- my code
Add Category
</asp:Panel>
<asp:Label ID="LblMsg" runat="server"></asp:Label>
<cc1:ModalPopupExtender ID="LnkBtnAddCategory_ModalPopupExtender" runat="server"
TargetControlID="LnkBtnAddCategory"
PopupControlID ="ModelPanel1"
OkControlID="BtnOKModel"
OnOkScript="onOK()"
CancelControlID="BtnCancelModel"
DropShadow="true"
BackgroundCssClass="modalBackground"
>
</cc1:ModalPopupExtender>