.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

In ASP.NET need to refresh..

Posted By: Savi3     Posted Date: December 05, 2008    Points:2   Category :ASP.Net
Hi need help in asp.net application.

I have two forms Form1 having data as (Name,Address). here i click one button it links to Form2 as Educational types.. here i give data when i close the form 2. In need to show in Form one itslef with already entered data

How is it possible. Plz tell me..

Give me a sample code

Responses
Author: Rahul             
Posted Date: December 05, 2008     Points: 5   

Hi,
I hope you are using Modal Dialog for Child window to refresh Parent window on closing of Child window you can use this javascript function.


<script language="JavaScript">
function RefreshParentWindow() {
window.opener.location.href = window.opener.location.href;

if (window.opener.progressWindow)

{
window.opener.progressWindow.close()
}
window.close();
}

</script>




Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend