Hi, having some problem...Plz help me out from this
I have problem in ModalPopupExtender. When I click on submit button of pop up it does not call the code behind code written for button click.. Here is my code-
<ajaxtoolkit:modalpopupextender id="ModalPopupExtender" runat="server"
cancelcontrolid="LinkButton1" dropshadow="false" okcontrolid="btnSubmit" X="200" Y="100" popupcontrolid="Panel1" targetcontrolid="imgSchedul">
<aspanel id=Panel1 runat="server" style="display:none;">
<asp:Button ID="btnSubmit" runat="server" Text="Submit"
onclick="SubmitData" ValidationGroup="MainValidation"/>
</aspanel>
protected void SubmitData(object sender, EventArgs e)
{
//code for submit data.
}
I have written onclick event for btnSubmit in code behind file. Now my problem is, this event is not firing when I click Submit Button on Panel.