I solved it by using __doPostBack(uniqueID, '');
on the jQuery "Continue" button and
On the Page_Load() Event I added
if (!Page.IsPostBack)
{
ClientScript.GetPostBackEventReference(gvEmployee, string.Empty);
}
And I called the jQuery Dialog on Gridview_RowDataBound event
e.Row.Cells[iDelete].Controls.Add
(new ImageButton
{
ImageUrl = "Images/database_delete.png",
CommandArgument = e.Row.RowIndex.ToString(),
CommandName = "Delete",
ID = "imgEmpDelete" + e.Row.Cells[iID].Text,
**OnClientClick = "javascript:return rowAction(this.name)",**
ClientIDMode = System.Web.UI.ClientIDMode.Static
});
Hope it helps anyone.