Partial Views and Popups…After clicking on Close need to refresh the page….

Hi All,

http://forums.asp.net/p/1577242/4029804.aspx#4029804

I amusing the PopUp example as suggestedin the above forum link…..

But now i want to Refresh the page after clicking on Close(x) …

So please help me….

Please advice…

Thanks in advance…

 

 

Hi,

Try to extand a refresh function in your javascript function decalation part,

location.reload(true);

And try to find the client side onclick function on "X" which should be an image button.

Thanks.

Hi Nai-Dong jin

I have tried yur suggstion location.reload(true)

But when i close dialog (modal popup) the msg appears on other web page in mozilla only (not in i.e. 8)

The page gets refreshed in both but the msg appears in mozilla only.

I am raising an HttpPost action on click of submit button(Using Ajax.BeginForm())

That method returns a string msg like below

public string insertRecords()

{

         return msg;

}

and this msg is appearing on next page showing url like

http://localhost/Tag/Programs/insertRcords

Please help……

How can i overcome this…..

Thanks

Leave a Reply