problem with modal dialog
-
hi i have opened a modal dialog box using following script retSearch = window.showModalDialog('SearchCompany.aspx',oArg,'status:no;dialogHide:false;help:no;scroll:yes'); problem is when i submit SearchCompany.aspx form i get result in a new browser window , how may get the result to be in same browser window i have used target option of frame = "_self" , which is suppose to open page in same window !! any helps the dialog window works with html file ! problem occurs only when i use asp/aspx page i.e. when i submit window ! any idea whats wrong !! ? P.S. PATWAL
-
hi i have opened a modal dialog box using following script retSearch = window.showModalDialog('SearchCompany.aspx',oArg,'status:no;dialogHide:false;help:no;scroll:yes'); problem is when i submit SearchCompany.aspx form i get result in a new browser window , how may get the result to be in same browser window i have used target option of frame = "_self" , which is suppose to open page in same window !! any helps the dialog window works with html file ! problem occurs only when i use asp/aspx page i.e. when i submit window ! any idea whats wrong !! ? P.S. PATWAL
Make a sort of modal page container which has an iframe on it. In this iframe you will load your page. Then the submit option will work correct.