Solved

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

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

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 250 total points
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
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 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…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

772 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

10 Experts available now in Live!

Get 1:1 Help Now