473,322 Members | 1,538 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

urgent server side question

Hi,
I have a problem confuses me for awhile that i have a web application
(asp.net) which requires without postback will still get the information
from the server. For instance, i want to update the time from the server. I
heard like server side javascript, but i don't know how to do it. And even
on some web site they have stock information refreshed every few minutes
without even post back the whole page, how do they do it?

Any ideas?
~thx.
Nov 18 '05 #1
2 871
"Green" <so*****@yahoo.com> wrote in
news:ub**************@TK2MSFTNGP15.phx.gbl:
Hi,
I have a problem confuses me for awhile that i have a web
application
(asp.net) which requires without postback will still get the
information from the server. For instance, i want to update the time
from the server. I heard like server side javascript, but i don't know
how to do it. And even on some web site they have stock information
refreshed every few minutes without even post back the whole page, how
do they do it?

You can do it a couple ways:

1. Client side applet (i.e. Java or UserControls hosted in IE)
2. Using Client side Javascript + MSXML HTTP
3. Using ASP.NET 2.0 and client side callbacks
--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 18 '05 #2
Hi Green,

As for your problem, I think Lucas's suggestions are reasonable.
1. Using a rich .net winform control in IE will need the clientside also
have .net framework installed and provide the proper security policy to
allow your control to run.

2. JAVASCRIPT+msxml, this is widely used since we don't require the
clientside to install any particular component. Also, microsoft has
provided a IE WebService HTC components based on (script and MSXML) which
can help calling webservice via client script without post back page to
serverside.
Here is the reference on it in MSDN:

#Using the WebService Behavior
http://msdn.microsoft.com/library/de...thor/webservic
e/using.asp

3. In addtion, we can also use a embeded hidden frame (or iframe) which
contains a page which constantly postback to serverside to get the latest
datas so as to refresh its parent page's UI.

Hope also helps. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: | last post by:
Hi all, I have a website running on beta 2.0 on server 2003 web sp1 and I keep getting the following error:- Error In:...
4
by: Nasir | last post by:
I've a database in 2000 which needs to be accessed from 2005 via linked server. I've tried the GUI options and it is failing. One thins is that our both servers have hyphen('-' not underscore,...
3
by: Mike | last post by:
Hi, I'm wondering if I can do this with ASP.NET?
1
vitmca
by: vitmca | last post by:
How to configure jndi name in Jboss. I am using sql server 2005.
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.