Click here to Skip to main content
15,902,939 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Generalhelp in cookies Pin
michael_jhons14-Jan-08 21:30
michael_jhons14-Jan-08 21:30 
QuestionTutorial to an web server control Pin
simsen14-Jan-08 21:16
simsen14-Jan-08 21:16 
GeneralRe: Tutorial to an web server control Pin
Abhijit Jana14-Jan-08 21:23
professionalAbhijit Jana14-Jan-08 21:23 
GeneralRe: Tutorial to an web server control Pin
simsen14-Jan-08 21:33
simsen14-Jan-08 21:33 
QuestionCan I trigger a function in asp.net? Pin
hogan.john14-Jan-08 20:35
hogan.john14-Jan-08 20:35 
AnswerRe: Can I trigger a function in asp.net? Pin
Pankaj Garg14-Jan-08 20:37
Pankaj Garg14-Jan-08 20:37 
GeneralRe: Can I trigger a function in asp.net? Pin
Abhijit Jana14-Jan-08 20:40
professionalAbhijit Jana14-Jan-08 20:40 
QuestionRe: Can I trigger a function in asp.net? Pin
Pankaj Garg14-Jan-08 21:00
Pankaj Garg14-Jan-08 21:00 
i was using the timer control in website just for the practise purposes.I saw , the timer control is auto executing after it's time interval if it is a ajax enabled website.
If it is a asp.net we site(partially enabled ajax website , i mean , in the asp.net website , i am dragging the ajax controls) then the timer control is not working , it works if in the form load i write
protected void Page_Load(object sender, EventArgs e)<br />
    {<br />
        Timer1_Tick(sender, e);<br />
    }


the source file code
<form id="form1" runat="server"><br />
    <div><br />
        &nbsp;<asp:ScriptManager ID="ScriptManager1" runat="server"><br />
        </asp:ScriptManager><br />
    <br />
    </div><br />
        <asp:UpdatePanel ID="UpdatePanel1" runat="server"><br />
            <ContentTemplate><br />
                <asp:Timer ID="Timer1" runat="server" Interval="1000" OnTick="Timer1_Tick"><br />
                </asp:Timer><br />
                <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label><br />
            </ContentTemplate><br />
            <Triggers><br />
                <asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" /><br />
            </Triggers><br />
        </asp:UpdatePanel><br />
    </form>

I am unable to understand where i am wrong ?

If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!

GeneralRe: Can I trigger a function in asp.net? Pin
hogan.john14-Jan-08 20:40
hogan.john14-Jan-08 20:40 
GeneralRe: Can I trigger a function in asp.net? Pin
Abhijit Jana14-Jan-08 20:42
professionalAbhijit Jana14-Jan-08 20:42 
GeneralRe: Can I trigger a function in asp.net? Pin
hogan.john14-Jan-08 20:47
hogan.john14-Jan-08 20:47 
GeneralRe: Can I trigger a function in asp.net? Pin
Pankaj Garg14-Jan-08 20:48
Pankaj Garg14-Jan-08 20:48 
GeneralRe: Can I trigger a function in asp.net? Pin
hogan.john14-Jan-08 20:56
hogan.john14-Jan-08 20:56 
AnswerRe: Can I trigger a function in asp.net? Pin
Malcolm Smart14-Jan-08 20:46
Malcolm Smart14-Jan-08 20:46 
GeneralRe: Can I trigger a function in asp.net? Pin
hogan.john14-Jan-08 20:50
hogan.john14-Jan-08 20:50 
GeneralRe: Can I trigger a function in asp.net? Pin
Abhijit Jana14-Jan-08 21:20
professionalAbhijit Jana14-Jan-08 21:20 
GeneralRe: Can I trigger a function in asp.net? [modified] Pin
hogan.john14-Jan-08 21:30
hogan.john14-Jan-08 21:30 
GeneralRe: Can I trigger a function in asp.net? Pin
Abhijit Jana14-Jan-08 21:51
professionalAbhijit Jana14-Jan-08 21:51 
GeneralRe: Can I trigger a function in asp.net? Pin
hogan.john14-Jan-08 22:07
hogan.john14-Jan-08 22:07 
GeneralRe: Can I trigger a function in asp.net? Pin
Abhijit Jana14-Jan-08 22:16
professionalAbhijit Jana14-Jan-08 22:16 
AnswerRe: Can I trigger a function in asp.net? Pin
Abhijit Jana14-Jan-08 21:15
professionalAbhijit Jana14-Jan-08 21:15 
QuestionRe: Can I trigger a function in asp.net? Pin
Pankaj Garg14-Jan-08 21:22
Pankaj Garg14-Jan-08 21:22 
GeneralRe: Can I trigger a function in asp.net? Pin
Abhijit Jana14-Jan-08 21:45
professionalAbhijit Jana14-Jan-08 21:45 
QuestionRe: Can I trigger a function in asp.net? Pin
Pankaj Garg14-Jan-08 21:52
Pankaj Garg14-Jan-08 21:52 
GeneralRe: Can I trigger a function in asp.net? Pin
Abhijit Jana14-Jan-08 21:55
professionalAbhijit Jana14-Jan-08 21:55 

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.