Click here to Skip to main content
15,896,453 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: updated grid from sql server Pin
stassaf29-Apr-10 0:56
stassaf29-Apr-10 0:56 
GeneralRe: updated grid from sql server Pin
Not Active29-Apr-10 1:52
mentorNot Active29-Apr-10 1:52 
AnswerRe: updated grid from sql server Pin
daveyerwin28-Apr-10 8:34
daveyerwin28-Apr-10 8:34 
GeneralRe: updated grid from sql server Pin
PunkIsNotDead28-Apr-10 19:55
PunkIsNotDead28-Apr-10 19:55 
GeneralRe: updated grid from sql server Pin
stassaf29-Apr-10 1:02
stassaf29-Apr-10 1:02 
GeneralRe: updated grid from sql server Pin
stassaf29-Apr-10 1:01
stassaf29-Apr-10 1:01 
GeneralRe: updated grid from sql server Pin
daveyerwin29-Apr-10 2:22
daveyerwin29-Apr-10 2:22 
GeneralRe: updated grid from sql server Pin
PunkIsNotDead29-Apr-10 16:37
PunkIsNotDead29-Apr-10 16:37 
If you're using Visual Studio 2008 or Visual Web Developer 2008, you can see the tools for Ajax Extensions or if is 2005, look here[^]
then add the timer and an update panel like...
HTML
<asp:Timer ID="Tmr_Update" runat="server" ontick="Tmr_Update_Tick">
</asp:Timer>
<asp:UpdatePanel ID="UpdPnl_UpdateEvery_5Sec" runat="server" UpdateMode="Conditional">
< ContentTemplate>
your content here
< /ContentTemplate>
< Triggers>
<asp:AsyncPostBackTrigger ControlID="Tmr_Update" EventName="Tick" />
< /Triggers>
< /asp:UpdatePanel>

You add a trigger and that means that the content template of the update panel will update every Tick event for the Tmr_Update Control...
you can Add the interval of the update like
C#
//On Load Event
Tmr_Update.Interval = 5;//seconds

Ahh don't forget the scriptManager before the tag
HTML
<asp:ScriptManager ID="SM_Detail" runat="server">
< /asp:ScriptManager>

Good luck Laugh | :laugh: Thumbs Up | :thumbsup:
GeneralRe: updated grid from sql server Pin
stassaf4-May-10 1:40
stassaf4-May-10 1:40 
GeneralRe: updated grid from sql server [modified] Pin
PunkIsNotDead4-May-10 18:31
PunkIsNotDead4-May-10 18:31 
Questionhtml controle Pin
tek 200928-Apr-10 7:27
tek 200928-Apr-10 7:27 
AnswerRe: html controle Pin
Not Active28-Apr-10 7:46
mentorNot Active28-Apr-10 7:46 
AnswerRe: html controle Pin
Sandeep Mewara28-Apr-10 19:17
mveSandeep Mewara28-Apr-10 19:17 
GeneralRe: html controle Pin
PunkIsNotDead28-Apr-10 19:51
PunkIsNotDead28-Apr-10 19:51 
GeneralRe: html controle Pin
tek 200928-Apr-10 23:52
tek 200928-Apr-10 23:52 
GeneralRe: html controle Pin
PunkIsNotDead29-Apr-10 16:54
PunkIsNotDead29-Apr-10 16:54 
QuestionWebservice to import data Pin
Priya Prk28-Apr-10 5:05
Priya Prk28-Apr-10 5:05 
AnswerRe: Webservice to import data Pin
T M Gray28-Apr-10 6:37
T M Gray28-Apr-10 6:37 
GeneralRe: Webservice to import data Pin
Priya Prk28-Apr-10 21:05
Priya Prk28-Apr-10 21:05 
QuestionHow to Exprot Vertical Orientated Text Header to Excel Pin
Andraw11128-Apr-10 4:56
Andraw11128-Apr-10 4:56 
QuestionHow to remove the sort link after export gridview to excel Pin
Andraw11128-Apr-10 3:44
Andraw11128-Apr-10 3:44 
AnswerRe: How to remove the sort link after export gridview to excel Pin
Andraw11128-Apr-10 4:14
Andraw11128-Apr-10 4:14 
QuestionDropdownlist control problem Pin
cheguri28-Apr-10 1:56
cheguri28-Apr-10 1:56 
AnswerRe: Dropdownlist control problem Pin
daveyerwin28-Apr-10 2:04
daveyerwin28-Apr-10 2:04 
AnswerRe: Dropdownlist control problem Pin
Ankur\m/28-Apr-10 2:05
professionalAnkur\m/28-Apr-10 2:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.