1
Reply

showmodaldialog issue

SIVAKUMAR LAKSHMANAN

SIVAKUMAR LAKSHMANAN

Aug 1 2013 9:37 AM
827
I am executing script from server side
ScriptManager.RegisterStartupScript(this, typeof(Page), UniqueID, "javascript:var ans = window.showModalDialog('TransactionHistoryDetail.aspx?' + '&rowID=" + rowID + "&Type=" + OrderType + "&OrderNo=" + OrderNo + "', 'dialogWidth=1000px;dialogHeight=700px;resizable: yes;dialogLeft=' + ((screen.width - 1000) / 2) + ';dialogTop=' + (screen.height - 700) / 2 + ''); ", true);
I am not able to change the dialogWidth and Height If I am changed the both value in the script
Plz help me to solve the issue

[email protected]

Answers (1)