Click here to Skip to main content
15,899,754 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: need syntext for connection string. Pin
Tad McClellan16-Oct-06 18:25
professionalTad McClellan16-Oct-06 18:25 
Questionwhy does visual studio 2k5 keep adding Microsoft.mshtml reference? Pin
Member 9616-Oct-06 10:38
Member 9616-Oct-06 10:38 
QuestionMicrosoft ACT load testing software, does it still work with asp.net 2 apps? Pin
Member 9616-Oct-06 9:04
Member 9616-Oct-06 9:04 
QuestionASP2 PostbackURL and Performance Pin
Naif_Prof16-Oct-06 9:04
Naif_Prof16-Oct-06 9:04 
AnswerRe: ASP2 PostbackURL and Performance Pin
Guffa16-Oct-06 9:19
Guffa16-Oct-06 9:19 
QuestionRe: ASP2 PostbackURL and Performance Pin
Naif_Prof16-Oct-06 11:27
Naif_Prof16-Oct-06 11:27 
AnswerRe: ASP2 PostbackURL and Performance Pin
Guffa16-Oct-06 14:10
Guffa16-Oct-06 14:10 
QuestionASP.NET 2.0 - Adding controls at runtime? Pin
wbjohnson16-Oct-06 8:33
wbjohnson16-Oct-06 8:33 
Hey guys i have a small problem.... im sure you can help

I have a new project, with 2 buttons on Button1 and Button2... The code behind button1 is simple:

Textbox t = new Textbox();
t.Text = "hello world!";
form1.Controls.Add(t);

when i click Button1 - wow! it adds the control! No problem, i noticed that i can click the button as many times as i want and only 1 textbox ever appears. so Click button1, then click Button2 - POW! its vanised!

Whats the correct method of keeping a control "alive" on a page (as well as preserving any events it has?)

Cheers

Will
AnswerRe: ASP.NET 2.0 - Adding controls at runtime? Pin
Member 9616-Oct-06 9:07
Member 9616-Oct-06 9:07 
AnswerRe: ASP.NET 2.0 - Adding controls at runtime? Pin
Guffa16-Oct-06 9:45
Guffa16-Oct-06 9:45 
GeneralRe: ASP.NET 2.0 - Adding controls at runtime? Pin
Member 9616-Oct-06 10:27
Member 9616-Oct-06 10:27 
AnswerRe: ASP.NET 2.0 - Adding controls at runtime? Pin
Guffa16-Oct-06 11:37
Guffa16-Oct-06 11:37 
GeneralRe: ASP.NET 2.0 - Adding controls at runtime? Pin
Member 9616-Oct-06 12:03
Member 9616-Oct-06 12:03 
GeneralRe: ASP.NET 2.0 - Adding controls at runtime? Pin
Guffa19-Oct-06 20:18
Guffa19-Oct-06 20:18 
GeneralRe: ASP.NET 2.0 - Adding controls at runtime? Pin
Member 9620-Oct-06 4:11
Member 9620-Oct-06 4:11 
AnswerRe: ASP.NET 2.0 - Adding controls at runtime? Pin
Guffa16-Oct-06 9:21
Guffa16-Oct-06 9:21 
QuestionRuntime in Asp.Net 2.0 Pin
shapper16-Oct-06 6:27
shapper16-Oct-06 6:27 
QuestionRequested Clipboard operation did not succeed Pin
ampk16-Oct-06 5:40
ampk16-Oct-06 5:40 
QuestionOn DIV tag Pin
sribachana16-Oct-06 4:22
sribachana16-Oct-06 4:22 
AnswerRe: On DIV tag Pin
Mike Ellison16-Oct-06 5:54
Mike Ellison16-Oct-06 5:54 
AnswerRe: On DIV tag Pin
Mike Ellison16-Oct-06 6:47
Mike Ellison16-Oct-06 6:47 
Questioninclude aspx in anotherasp Pin
mamatha_raghu16-Oct-06 3:33
mamatha_raghu16-Oct-06 3:33 
AnswerRe: include aspx in anotherasp Pin
Andrei_KS16-Oct-06 5:11
Andrei_KS16-Oct-06 5:11 
Question!include aspx in anotheraspx Pin
mamatha_raghu16-Oct-06 3:31
mamatha_raghu16-Oct-06 3:31 
AnswerRe: !include aspx in anotheraspx Pin
_AK_16-Oct-06 18:43
_AK_16-Oct-06 18:43 

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.