Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
7
Reply
how to refresh parent page on submit click of child window
Deepika Chaudhary
Jul 17 2013 3:45 AM
9.5k
Reply
Hi,
I have an mvc application.
Parent page index.cshtml
Child page create.cshtml
On parent page i have a grid with one column as input button where i use show modal dialog.
I have a requirement when closing the browser button of this show modal dialog parent page should not refresh.
Only parent page should refresh when i click submit button of child window.
Please give me some idea how can i do this.
Index.cshtml inside grid i have this button.
<input type="button" style="width:70px" value='@item.Issue_ID.ToString()' onclick="window.showModalDialog('/IssueTracker/
[email protected]
&
[email protected]
_ID&returnFromEdit=AllIssues' , 'wndPopUp', 'dialogWidth:1100px;dialogHeight:500px;dialogLeft:100px;dialogRight:100px;dialogTop:100px;dialogBottom:100px;center:yes;title:no;scroll:yes;status:no;toolbar=no');window.location.reload();" />
Using window.location.reload it is refreshing parent page also when i click on child window browser button.
Please help!!
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
7
)
Next Recommended Forum
on clicking print button in report pages not getting viewed
asp and vb script.