View Single Post
Old 28-01-09, 12:42 PM   #3 (permalink)
dashah_323
Junior Member
 
Join Date: Jan 2009
Age: 24
Posts: 7
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 2 dashah_323 is on a distinguished road
Re: Asp.net - refresh the crystal report data from ASP.Net

Try to use following code :
<meta http-equiv="refresh" content="1">
within ur <head>.
This would refresh the whole page.To avoid this ,you could embed your page with the report in an iframe and then embed that iframe in your "outer" page.That way, you can refresh the inner page with just the report, while the main page remains.
The problem here would be that when the embedded page refreshes the browser,it would show the progress bar in the status bar and the whole page shows a flicker which is same as if the whole page (outside page) is refreshed. For that ,use refresh code and this in iframe header.
<meta HTTP-EQUIV="Page-Enter" CONTENT="revealtrans(duration=0.0)">
<meta HTTP-EQUIV="Page-Exit" CONTENT="revealtrans(duration=0.0)">
That way , we can get a smoother effect.
dashah_323 is offline Offline   Reply With Quote