Click here to Skip to main content
15,888,984 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Send an auto mail Pin
farogh haider14-Dec-09 19:30
farogh haider14-Dec-09 19:30 
QuestionHow to find project template Pin
DotNetXenon10-Dec-09 5:15
DotNetXenon10-Dec-09 5:15 
AnswerRe: How to find project template Pin
Dinesh Mani10-Dec-09 6:34
Dinesh Mani10-Dec-09 6:34 
GeneralRe: How to find project template Pin
DotNetXenon11-Dec-09 4:29
DotNetXenon11-Dec-09 4:29 
Questionto Dinesh Mani Pin
Munteanu Ciprian10-Dec-09 4:10
Munteanu Ciprian10-Dec-09 4:10 
AnswerRe: to Dinesh Mani Pin
Keith Barrow10-Dec-09 4:36
professionalKeith Barrow10-Dec-09 4:36 
AnswerRe: to Dinesh Mani Pin
Blue_Boy10-Dec-09 9:11
Blue_Boy10-Dec-09 9:11 
QuestionUpdating variables in Master Page Pin
Munteanu Ciprian10-Dec-09 3:10
Munteanu Ciprian10-Dec-09 3:10 
Hi everybody! I really need help... I have a Master Page with a menu and 2 Web Content Forms(called FirstWCF and SecondWCF). The menu contains two buttons used for Posting Back the two Web Content Forms. Now on my Master Page I have a label called Label1( Label1.Text="10") On FirstWCF I have a button and when I press it I want the Label1 to display 9, then 8 and so on until it displays 0. I've done this thing so far. The code is the next one:
 protected void Button1_Click(object sender, EventArgs e)
{
Label lbl=(Label)Master.FindControl("Label1");
int tries=Convert.ToInt32(lbl.Text);
if (tries>0)
     tries--;
lbl.Text=tries.ToString();
}


This works just fine. When I'm on the FirstWCF and I press the button the label's text from the Master Page updates. But I got the next problem. When I load the SecondWCF I want the label's text to remain the same. Instead it has again the value "10". To be more clearly, I'm on the first page, I pressed 3 times the button (the label has the value 7), and then I press the menu item which loads the SecondWCF. The label's text becomes again 10 and I want to remain 7. Can anyone help me? I really need help....
AnswerRe: Updating variables in Master Page Pin
Dinesh Mani10-Dec-09 3:30
Dinesh Mani10-Dec-09 3:30 
GeneralRe: Updating variables in Master Page Pin
Munteanu Ciprian10-Dec-09 3:34
Munteanu Ciprian10-Dec-09 3:34 
GeneralRe: Updating variables in Master Page Pin
Dinesh Mani10-Dec-09 6:27
Dinesh Mani10-Dec-09 6:27 
QuestionRegEx,match number 1-24 [modified] Pin
cyhcyhhychyc10-Dec-09 2:52
cyhcyhhychyc10-Dec-09 2:52 
AnswerRe: RegEx,match number 1-24 Pin
Dinesh Mani10-Dec-09 3:05
Dinesh Mani10-Dec-09 3:05 
QuestionASP.Net Performance Pin
Amit Patel198510-Dec-09 2:26
Amit Patel198510-Dec-09 2:26 
AnswerRe: ASP.Net Performance Pin
Abhijit Jana10-Dec-09 2:32
professionalAbhijit Jana10-Dec-09 2:32 
AnswerRe: ASP.Net Performance Pin
Abhishek Sur10-Dec-09 3:03
professionalAbhishek Sur10-Dec-09 3:03 
GeneralRe: ASP.Net Performance Pin
farogh haider14-Dec-09 19:33
farogh haider14-Dec-09 19:33 
QuestionError: missing parameter values when passing parameter in crystal report Pin
I'm a beginner10-Dec-09 0:35
I'm a beginner10-Dec-09 0:35 
AnswerRe: Error: missing parameter values when passing parameter in crystal report Pin
Alliance11115-Feb-10 0:13
Alliance11115-Feb-10 0:13 
Questionproblem sending mail Pin
m@dhu10-Dec-09 0:31
m@dhu10-Dec-09 0:31 
AnswerRe: problem sending mail Pin
Dinesh Mani10-Dec-09 0:40
Dinesh Mani10-Dec-09 0:40 
GeneralRe: problem sending mail Pin
m@dhu10-Dec-09 0:53
m@dhu10-Dec-09 0:53 
GeneralRe: problem sending mail Pin
Dinesh Mani10-Dec-09 0:58
Dinesh Mani10-Dec-09 0:58 
GeneralRe: problem sending mail Pin
m@dhu10-Dec-09 19:41
m@dhu10-Dec-09 19:41 
GeneralRe: problem sending mail Pin
Dinesh Mani10-Dec-09 19:44
Dinesh Mani10-Dec-09 19:44 

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.