Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2013-12-25
3
Medium Priority
?
2,218 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
3 Comments
 
LVL 84

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 750 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 750 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
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…

885 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