Click here to Skip to main content
15,914,642 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Methods being added to web page, not codebehind. Pin
Richard Jones2-Jul-08 9:01
Richard Jones2-Jul-08 9:01 
GeneralRe: Methods being added to web page, not codebehind. Pin
AlexeiXX32-Jul-08 13:53
AlexeiXX32-Jul-08 13:53 
GeneralRe: Methods being added to web page, not codebehind. Pin
Richard Jones3-Jul-08 2:48
Richard Jones3-Jul-08 2:48 
GeneralRe: Methods being added to web page, not codebehind. Pin
AlexeiXX33-Jul-08 3:56
AlexeiXX33-Jul-08 3:56 
QuestionHow to set a TIMER ? Pin
tina->newcoder2-Jul-08 7:03
tina->newcoder2-Jul-08 7:03 
AnswerRe: How to set a TIMER ? Pin
Abhijit Jana2-Jul-08 7:21
professionalAbhijit Jana2-Jul-08 7:21 
QuestionRe: How to set a TIMER ? Pin
tina->newcoder2-Jul-08 8:01
tina->newcoder2-Jul-08 8:01 
AnswerRe: How to set a TIMER ? Pin
Slasher1752-Jul-08 8:45
Slasher1752-Jul-08 8:45 
Not sure if this is what you need but it may help...

Create a standard ASPX Timer control with an AJAX update panel.
...
<br />
<asp:ScriptManager ID="ScriptManager1" runat="server" /><br />
<br />
<asp:Timer ID="tmrClock" runat="server" Interval="1000" OnTick="tmrClock_Tick"></asp:Timer><br />
<br />
<asp:UpdatePanel ID="updPnlClock" UpdateMode="Conditional" runat="server"><br />
            <Triggers><br />
                <asp:AsyncPostBackTrigger ControlID="tmrClock" EventName="Tick" /><br />
            </Triggers><br />
            <ContentTemplate><br />
                <asp:Label ID="lblTime" runat="server" ForeColor="#B22222"></asp:Label><br />
            </ContentTemplate><br />
        </asp:UpdatePanel><br />

...

Code Behind Page:
Subscribe to the Tick event on the ASP Timer control. This one represents a ticking clock.

protected void tmrClock_Tick(object sender, EventArgs e)
{
lblTime.Text = DateTime.Now.ToLongTimeString();
}
AnswerRe: How to set a TIMER ? Pin
N a v a n e e t h2-Jul-08 16:31
N a v a n e e t h2-Jul-08 16:31 
Questionopening the page in the same page but not inside the IFRAME Pin
gottimukkala2-Jul-08 5:45
gottimukkala2-Jul-08 5:45 
AnswerRe: opening the page in the same page but not inside the IFRAME Pin
Abhijit Jana2-Jul-08 6:34
professionalAbhijit Jana2-Jul-08 6:34 
AnswerRe: opening the page in the same page but not inside the IFRAME Pin
niraj_kush7-Jul-08 21:52
niraj_kush7-Jul-08 21:52 
QuestionAsp.net 2.0 User Control or Custom Control Pin
azam3162-Jul-08 5:08
azam3162-Jul-08 5:08 
Questionwrite data from sql table into xml file and then bind it in treeview? Pin
Ashish Kumar Vyas2-Jul-08 5:04
Ashish Kumar Vyas2-Jul-08 5:04 
AnswerRe: write data from sql table into xml file and then bind it in treeview? Pin
Abhijit Jana2-Jul-08 7:00
professionalAbhijit Jana2-Jul-08 7:00 
QuestionRepeaters, Repeaters, Repeaters Pin
Sam Heller2-Jul-08 4:49
Sam Heller2-Jul-08 4:49 
AnswerRe: Repeaters, Repeaters, Repeaters Pin
led mike2-Jul-08 5:01
led mike2-Jul-08 5:01 
Questionstored procedure like statement Pin
eyeseetee2-Jul-08 2:39
eyeseetee2-Jul-08 2:39 
AnswerRe: stored procedure like statement Pin
Sherin Iranimose2-Jul-08 2:50
Sherin Iranimose2-Jul-08 2:50 
GeneralRe: stored procedure like statement Pin
eyeseetee2-Jul-08 2:54
eyeseetee2-Jul-08 2:54 
GeneralRe: stored procedure like statement Pin
Sherin Iranimose2-Jul-08 3:15
Sherin Iranimose2-Jul-08 3:15 
QuestionBest desgin Pin
kjosh2-Jul-08 2:35
kjosh2-Jul-08 2:35 
Questionmessenger on web page Pin
amitsunnuu2-Jul-08 2:19
amitsunnuu2-Jul-08 2:19 
QuestionSQL Server in Remote Machine Not Connecting.........Please Help Pin
codingrocks2-Jul-08 1:58
codingrocks2-Jul-08 1:58 
AnswerRe: SQL Server in Remote Machine Not Connecting.........Please Help Pin
N a v a n e e t h2-Jul-08 2:01
N a v a n e e t h2-Jul-08 2:01 

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.