Solved

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

Posted on 2013-12-25
3
1,940 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 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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

911 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now