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
2 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VikramPosted Aug 19, 2010, 12:58 AM
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
gaurav kukrejaPosted Aug 18, 2010, 10:50 AM