how to call server side button event in jquery dialog

Hi All,

Generally we are using jquery modal dialog for modal popup window in our application.

Sometimes we need to call server side button event from modal popup window and it creates problem for us.

Today I am going to describe how can we call button event from jquery modal popup window.

lets take an simple example:

Asp.Net Button Code:

Jquery Modal Popup Script:


Code Behind Button Event:

protected void Button1_Click(object sender, EventArgs e)
    //your button click event code comes here
    //you can do anything here

Please note that you need to add jquery modal popup related script reference in your code.