Click here to Skip to main content
15,908,673 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Javascript Pin
Ch.Gayatri Subudhi16-Mar-09 18:11
Ch.Gayatri Subudhi16-Mar-09 18:11 
QuestionRefresh parent Grid Pin
Member 322226415-Mar-09 22:34
Member 322226415-Mar-09 22:34 
AnswerRe: Refresh parent Grid Pin
Christian Graus15-Mar-09 23:17
protectorChristian Graus15-Mar-09 23:17 
QuestionMaster Page in VS 2005 Pin
Member 322226415-Mar-09 22:30
Member 322226415-Mar-09 22:30 
AnswerRe: Master Page in VS 2005 Pin
Christian Graus15-Mar-09 23:19
protectorChristian Graus15-Mar-09 23:19 
Question[Message Deleted] Pin
bikash pattanayak15-Mar-09 21:57
bikash pattanayak15-Mar-09 21:57 
AnswerRe: Refresh the parent window from chield Pin
rakeshs31215-Mar-09 22:02
rakeshs31215-Mar-09 22:02 
AnswerRe: Refresh the parent window from chield Pin
www.Developerof.NET15-Mar-09 22:35
www.Developerof.NET15-Mar-09 22:35 
Here u go...

When u click the save button call the foll func which shows an alert message:


Sub Show_Saved_Msg()
Dim scp As String = "alert('Data Saved Successfully');CloseAndReload();"
ClientScript.RegisterClientScriptBlock(Me.GetType(), "script1", scp)
End Sub

and include the following javascript in your js file:


function CloseAndReload()
{
window.close();
if (window.opener && !window.opener.closed)
{
window.opener.location.reload();
}
}


But the above code works very awkwardly in ie 7. So pls check it thoroughly.

When you fail to plan, you are planning to fail.

GeneralRe: Refresh the parent window from chield [modified] Pin
bikash pattanayak15-Mar-09 23:44
bikash pattanayak15-Mar-09 23:44 
Questioni want full path of the selected file..using FileUpload1 control Pin
ven32115-Mar-09 21:42
ven32115-Mar-09 21:42 
AnswerRe: i want full path of the selected file..using FileUpload1 control Pin
rakeshs31215-Mar-09 22:01
rakeshs31215-Mar-09 22:01 
GeneralRe: i want full path of the selected file..using FileUpload1 control Pin
ven32115-Mar-09 22:24
ven32115-Mar-09 22:24 
AnswerRe: i want full path of the selected file..using FileUpload1 control Pin
Christian Graus15-Mar-09 23:20
protectorChristian Graus15-Mar-09 23:20 
GeneralRe: i want full path of the selected file..using FileUpload1 control Pin
ven32116-Mar-09 0:15
ven32116-Mar-09 0:15 
Questionbinding xml file with dropdownlist Pin
sonyrehal15-Mar-09 21:25
sonyrehal15-Mar-09 21:25 
AnswerRe: binding xml file with dropdownlist Pin
rakeshs31215-Mar-09 21:52
rakeshs31215-Mar-09 21:52 
QuestionProblem Regarding JavaScript Pin
ais0715-Mar-09 20:51
ais0715-Mar-09 20:51 
AnswerRe: Problem Regarding JavaScript Pin
Christian Graus15-Mar-09 22:06
protectorChristian Graus15-Mar-09 22:06 
QuestionConnection string web.config file Pin
Subin Alex15-Mar-09 20:35
Subin Alex15-Mar-09 20:35 
AnswerRe: Connection string web.config file Pin
kumar_k50815-Mar-09 20:44
kumar_k50815-Mar-09 20:44 
GeneralRe: Connection string web.config file Pin
Subin Alex15-Mar-09 20:46
Subin Alex15-Mar-09 20:46 
AnswerRe: Connection string web.config file Pin
Reza Raad15-Mar-09 20:59
Reza Raad15-Mar-09 20:59 
GeneralRe: Connection string web.config file Pin
Subin Alex15-Mar-09 21:19
Subin Alex15-Mar-09 21:19 
AnswerRe: Connection string web.config file Pin
kumar_k50815-Mar-09 21:25
kumar_k50815-Mar-09 21:25 
QuestionProblem in fetching excel sheet Pin
bhii15-Mar-09 20:13
bhii15-Mar-09 20:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.