Solved

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

Posted on 2013-12-25
3
2,074 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

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 most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

728 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