 |
| ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

July 1st, 2004, 03:37 AM
|
|
Authorized User
|
|
Join Date: Jan 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Display Live Data in Web Form
Hi All,
I am designing a Web Form in which I have put the Crystal Report Viewer and the Report displays the graph, which has to be updated or refreshed every 10 seconds, so that the graph should look moving. Event though I am able to display the Report with Graph, I am not able to refresh it automatically.
Can anybody help me for that?
Thanks in Advance!
Regards,
SANJAY KABRA
__________________
Sanjay Kabra
|
|

July 1st, 2004, 07:04 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
Hello,
I don't know, being in the web environment, that you can do that. If you need to do that, you could try doing it in VB.NET and hosting it in ASP.NET as an <object>.
Brian
|
|

July 1st, 2004, 09:27 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
you would have to create/use a java or other control in the browser that maintained connectivity with the server for data updates. This can't be done with standard asp controls that come out of the box.
Hal Levy
Web Developer, PDI Inc.
NOT a Wiley/Wrox Employee
|
|

July 2nd, 2004, 11:28 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
try to use following code
<%
Response.ExpiresAbsolute = #1/1/1980#
Response.AddHeader "pragma", "no-cache"
Response.AddHeader "cache-control", "private, no-cache, must-revalidate"
%>
OR
<meta http-equiv="refresh" content="1">
within ur <head>.
or use
window.location.reload();
within ur JavaScript codes.
HTH.
|
|

July 3rd, 2004, 03:51 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
|
|
|
|

July 5th, 2004, 01:54 AM
|
|
Authorized User
|
|
Join Date: Jan 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi,
Thanks. The code
<meta http-equiv="refresh" content="1">
is working fine but it refreshes the whole page. I would like to
refresh the crystal reports viewer only and not the whole page. Can u tell me how to do that?
Regards,
SANJAY KABRA
[quote]Originally posted by mateenmohd
try to use following code
<%
Response.ExpiresAbsolute = #1/1/1980#
Response.AddHeader "pragma", "no-cache"
Response.AddHeader "cache-control", "private, no-cache, must-revalidate"
%>
OR
within ur <head>.
or use
window.location.reload();
within ur JavaScript codes.
HTH.
|
|

July 9th, 2004, 03:53 AM
|
|
Authorized User
|
|
Join Date: Jan 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi All,
I am designing a Web Form in which I have put the Crystal Report Viewer and the Report displays the graph, which has to be updated or refreshed every 10 seconds, so that the graph should look moving. Event though I am able to display the Report with Graph, I am not able to refresh it automatically.
As mateenmohd suggested
I tried
<meta http-equiv="refresh" content="1">
is working fine but it refreshes the whole page. I would like to
refresh the crystal reports viewer (indirectly the part of a web form) only and not the whole page.
Can nebody tell me how to do that?
Thanks in Advance!
Regards,
SANJAY KABRA
|
|

July 9th, 2004, 03:58 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Choose by Stone Sour (Track 5 from the album: Stone Sour) What's This?
|
|

July 15th, 2004, 04:22 AM
|
|
Authorized User
|
|
Join Date: Jan 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi guys,
I used the IFrames but my client says that there is lot of flickering when the page containing Crystal Reports embedded in the IFrame refreshes every second.
Can ne body tell me how I can avoid this "Flicker " to occur.
I saw one Java Applet which scrolls the news messages in the Web Page which goes very smoothly without ne flickering.Can the similar thing happen in ASP.Net
Is there ne other way than crystal reports by which I can perform the same task of displaying the realtime data along with chart on the Web Form
Thanks in advance
Regards,
SANJAY KABRA
Sanjay Kabra
|
|

July 15th, 2004, 09:19 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
|
|
Sorry but I didnt get u clearly. u mean ur report is not clear?! & not sidplaying properly?! or u wanna scroll the ur paeg in IFrame?!
Always:),
Hovik Melkomian.
|
|
 |