Refreshing the page using C#

Posted by Vivekjj under C# on 11/9/2012 | Points: 10 | Views : 1397 | Status : [Member] | Replies : 4
Hi How To refresh the Data's without reloading the page or whole page in C#?




Responses

Posted by: Hariinakoti on: 11/9/2012 [Member] Starter | Points: 25

Up
0
Down
hi,
call that function in pageload automatically data will refresh

Thanks & Regards
Hari

Vivekjj, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vivekjj on: 11/10/2012 [Member] Starter | Points: 25

Up
0
Down
Hi,

its reloading whole page but i need without reloading the page i need to refresh the data . for example " facebook chat"

Vivekjj, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Saratvaddilli on: 11/10/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi vivekjj
just use asp.net ajax update panel

<form id="form1" runat="server">

<div>
<asp:ScriptManager runat="server" ID="ScriptManager1" />
<h4>Inside UpdatePanel</h4>
click on the Submit button and notice that on this time will update.
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Label ID="lblUpdatePanel" runat="server" EnableViewState="false" /> <br />
<asp:Button ID="btnSubmit" runat="server" Text="Submit" OnClick="RefreshTheTime" />
</ContentTemplate>
</asp:UpdatePanel>
<h4>Outside UpdatePanel</h4>
<asp:Label ID="lblOutSideUpdatePanel" runat="server" EnableViewState="false" />
</div>
</form>



Thanks and Regards
V.SaratChand
Show difficulties that how difficult you are

Vivekjj, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Maheshvishnu on: 11/21/2012 [Member] Starter | Points: 25

Up
0
Down
make use of ajax postback

mahesh

Vivekjj, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response