views:

429

answers:

3

I have a listview that includes links to open an iframe with jQuery and thickbox. This new window allows the user to edit the field information with the iframe. Update button -

<input type="submit" name="bUpdateDate" value="Update" 
onclick="self.parent.location.reload(true);self.parent.tb_remove();"
id="bUpdateDate" />

This refresh works well in IE, but both Firefox and Chrome do not rebind the listview. I have tried meta tags for no cache, and HttpCacheability.NoCache and IIS header content expiration, but nothing seems to be able to force a Firefox refresh. How can I get my listview to rebind from the child iframe?

A: 

jQuery 1.3.3 when released will have better support for iFrame binding http://brandonaaron.net/blog/2009/05/14/jquery-edge-better-support-for-other-windows-and-documents

You may be able to get the latest bits and have more success.

RedWolves
A: 

As another option, does

top.location.reload(true)

work?

great_llama
Same result as described above.
moyibi
Any errors showing in Firefox's Error Console?
great_llama
http://www.zdima.net/blog/archives/398 - This solution worked.
moyibi
A: 

The solution that working for me is found here: http://www.zdima.net/blog/archives/398

moyibi