Click here to Skip to main content
16,004,453 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Connecting to a Web Service? Pin
helloworld202012-Apr-12 15:42
helloworld202012-Apr-12 15:42 
Questioncheck account gmail? Pin
daitranthanhhoa27-Mar-12 22:34
daitranthanhhoa27-Mar-12 22:34 
AnswerRe: check account gmail? Pin
Not Active28-Mar-12 2:53
mentorNot Active28-Mar-12 2:53 
QuestionUrl Rewriting / Vanity url Pin
aroonthapa27-Mar-12 19:36
aroonthapa27-Mar-12 19:36 
Questionasp.net Pin
mla997427-Mar-12 17:57
mla997427-Mar-12 17:57 
AnswerRe: asp.net Pin
Not Active28-Mar-12 2:52
mentorNot Active28-Mar-12 2:52 
AnswerRe: asp.net Pin
Syed Zoheb Ali Sumair16-Apr-12 6:10
Syed Zoheb Ali Sumair16-Apr-12 6:10 
QuestionCountdown timer with updatepanel Pin
treuveni26-Mar-12 20:09
treuveni26-Mar-12 20:09 
Hi,

I'm trying to creat a timer that count down and when it reaches 00:00 to alert with a popup and disable the form.
Here is the client side code:
ASP.NET
<asp:UpdatePanel runat="server" ID="updPanel">
                                        <ContentTemplate>
                                            <div class="visibleDiv">
                                                <asp:Label ID="lblTimer" runat="server" Font-Bold="true" Font-Size="14"></asp:Label>
                                            </div>
                                            <asp:Timer ID="Timer1" runat="server" Enabled="true" Interval="500" OnTick="Timer1_Tick">
                                            </asp:Timer>
                                        </ContentTemplate>
                                        <Triggers>
                                            <asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" />
                                        </Triggers>
                                    </asp:UpdatePanel>



I'm disabling the timer at the Timer_Tick event,
checking when the minutes and seconds are 0.

My problem is that i can't disable the form or the submit button.

Can someone please assist me?
AnswerRe: Countdown timer with updatepanel Pin
Joshua Omundson27-Mar-12 6:00
Joshua Omundson27-Mar-12 6:00 
GeneralRe: Countdown timer with updatepanel Pin
treuveni1-Apr-12 20:43
treuveni1-Apr-12 20:43 
AnswerRe: Countdown timer with updatepanel Pin
jkirkerx27-Mar-12 19:07
professionaljkirkerx27-Mar-12 19:07 
GeneralRe: Countdown timer with updatepanel Pin
treuveni1-Apr-12 20:45
treuveni1-Apr-12 20:45 
QuestionDeleting row of Grid on button click Pin
Chandan Aryan26-Mar-12 1:09
Chandan Aryan26-Mar-12 1:09 
AnswerRe: Deleting row of Grid on button click Pin
treuveni26-Mar-12 20:26
treuveni26-Mar-12 20:26 
GeneralRe: Deleting row of Grid on button click Pin
mla997427-Mar-12 18:01
mla997427-Mar-12 18:01 
AnswerRe: Deleting row of Grid on button click Pin
Raman Ghantiyala27-Mar-12 3:33
Raman Ghantiyala27-Mar-12 3:33 
AnswerRe: Deleting row of Grid on button click Pin
Sharad CG27-Mar-12 20:35
Sharad CG27-Mar-12 20:35 
AnswerRe: Deleting row of Grid on button click Pin
Anudeep Jaiswal - MCA28-Mar-12 22:57
Anudeep Jaiswal - MCA28-Mar-12 22:57 
QuestionTroubles with calling a PageMethod from javascript [solved] Pin
Calla25-Mar-12 23:07
Calla25-Mar-12 23:07 
AnswerRe: Troubles with calling a PageMethod from javascript Pin
Calla26-Mar-12 20:51
Calla26-Mar-12 20:51 
Questioncause of these errors? Pin
ozturkmuhammed24-Mar-12 12:11
ozturkmuhammed24-Mar-12 12:11 
AnswerRe: cause of these errors? Pin
Eddy Vluggen25-Mar-12 3:34
professionalEddy Vluggen25-Mar-12 3:34 
QuestionUpdatePanel with dropdown control. Pin
vipinkrr24-Mar-12 6:22
vipinkrr24-Mar-12 6:22 
AnswerRe: UpdatePanel with dropdown control. Pin
Abhinav S24-Mar-12 16:31
Abhinav S24-Mar-12 16:31 
AnswerRe: UpdatePanel with dropdown control. Pin
MaulikDusara26-Mar-12 2:55
MaulikDusara26-Mar-12 2: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.