I have problem in ModalPopupExtender. Here is my code-
cancelcontrolid="LinkButton1" dropshadow="false" okcontrolid="btnSubmit" X="200" Y="100" popupcontrolid="Panel1" targetcontrolid="imgSchedul">
onclick="SubmitData" ValidationGroup="MainValidation"/>
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.
Thanks,
VIkram
gaurav kukreja3 reputationPosted Aug 18, 2010, 6:50 AM EDT
VikramRank #9,295 · 208 reputationPosted Aug 18, 2010, 8:58 PM EDT
Actually I have sorted out this issue by formatting my Page html code, It was not well formatted earlier hence I got this issue. I tried it with simple page its works fine. Just try it by single stepping means add one control at a time and test it. If you want to keep your popup after Click on submit then just call popup.show() in button click event.
Hope this will help you.
Regards,
VIkram
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts