Solved

How can I refresh page without reloading in asp.net c#

Posted on 2013-12-25
3
2,024 Views
Last Modified: 2013-12-26
Hi.. Experts

How can I refresh my page without reloading and I also want to get value of application variable which is in web service and from that web service I am storing the value in that application variable. So, can I reload my default page without reloading a page I mean through javascript or jquery. Please reply as early as possible. Thanks in advance....
0
Comment
Question by:SAMIR BHOGAYTA
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 250 total points
ID: 39739725
Technically refreshing the page means reloading it.  Getting a value from a web service can be done with a combination of AJAX and a server side routine that makes the web service call.  AJAX may not be able to do all of the web service call by itself in part because of security restrictions that prevent AJAX from contacting a third party like a web service on a different web site.
0
 
LVL 27

Accepted Solution

by:
Chinmay Patel earned 250 total points
ID: 39739771
I am assuming your main task is to get the data from server(not actually refreshing it), please do correct me if I am wrong.

If you just want to retrieve data from your web server you can use this trick of calling a Pagemethod to achieve it.

To get you started I will recommend that you use:
http://brian.dobberteen.com/code/calling-a-pagemethod-with-jquery/
0
 
LVL 11

Author Closing Comment

by:SAMIR BHOGAYTA
ID: 39739780
Thanks
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question