I am very new to asp.net and creating my first project but I am having issue with dealing with Modal Popup. I want to use Modal up to add new record in to database but on the same web form I have another save button which also fire post back event to save all forms data. So the issue is that main save button is not firing postback until I click button to show modal and click on add button on modal then Main save button fire postback but not before that. I hope you understand my issue. I don't know what is the issue. Also, I kept Modal Popup html in element? I think its required otherwise I won't be able to use add button event from modal popup. Is this right? Thanks for your help.
2.1m questions
2.1m answers
60 comments
57.0k users