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

ASP.NET

 
GeneralRe: Handle Browser close event by pressing [X] Pin
Herman<T>.Instance9-Jun-10 2:35
Herman<T>.Instance9-Jun-10 2:35 
AnswerRe: Handle Browser close event by pressing [X] Pin
Brij8-Jun-10 20:34
mentorBrij8-Jun-10 20:34 
QuestionModalPopupExtender for node in treeview Pin
yesu prakash8-Jun-10 18:25
yesu prakash8-Jun-10 18:25 
AnswerRe: ModalPopupExtender for node in treeview Pin
Brij8-Jun-10 20:48
mentorBrij8-Jun-10 20:48 
Questiondigital solutions job? What say you Pin
cullyk8-Jun-10 15:13
cullyk8-Jun-10 15:13 
QuestionTextBox.Text after Postback (dynamic textboxes) Pin
AliensXY8-Jun-10 9:40
AliensXY8-Jun-10 9:40 
AnswerRe: TextBox.Text after Postback (dynamic textboxes) Pin
Abhijit Jana8-Jun-10 12:31
professionalAbhijit Jana8-Jun-10 12:31 
GeneralRe: TextBox.Text after Postback (dynamic textboxes) Pin
AliensXY8-Jun-10 13:48
AliensXY8-Jun-10 13:48 
Thanks for your reply. I am still having the same problems.
For better discussion I added some code now.

Now I generate textboxes in Page_Init method. Some extract from code:

 // creation of one textbox
TextBox textBox = new TextBox();
textBox.ID = d.Key.ToString();
textBox.TextMode = TextBoxMode.MultiLine;
textBox.Height = Unit.Pixel(107);
textBox.Width = Unit.Pixel(263);


Then I save them in the session object:

Session.Add("1", textBox);
Session.Add("2", textBox2);
Session.Add("3", textBox3);


After submit I recreate them in Page_Init:

TextBox t = (TextBox)Session["0"];
Response.Write(t.ID); // ID is OK!
Response.Write(t.Text); // Text is still empty!



I sucessfuly get all attributes except Text. If I wrote textBox.Text = "something" I would get this text. But I cannot do that since the user has to type the text into the textboxes.
QuestionDataGrid EditTemplate Pin
Paul McGann8-Jun-10 6:48
professionalPaul McGann8-Jun-10 6:48 
AnswerRe: DataGrid EditTemplate Pin
Sandeep Mewara8-Jun-10 6:57
mveSandeep Mewara8-Jun-10 6:57 
Questionimage size in Kb in asp.net c# Pin
trilokharry8-Jun-10 4:46
trilokharry8-Jun-10 4:46 
AnswerRe: image size in Kb in asp.net c# Pin
Sandeep Mewara8-Jun-10 5:04
mveSandeep Mewara8-Jun-10 5:04 
Questioncheckboxes not working Pin
netJP12L8-Jun-10 4:34
netJP12L8-Jun-10 4:34 
AnswerRe: checkboxes not working Pin
Sandeep Mewara8-Jun-10 5:00
mveSandeep Mewara8-Jun-10 5:00 
QuestionRestriction of new password generated using PasswordRecovery control Pin
sahana.C.R8-Jun-10 3:11
sahana.C.R8-Jun-10 3:11 
AnswerRe: Restriction of new password generated using PasswordRecovery control Pin
Peace ON8-Jun-10 4:17
Peace ON8-Jun-10 4:17 
GeneralRe: Restriction of new password generated using PasswordRecovery control Pin
sahana.C.R9-Jun-10 0:00
sahana.C.R9-Jun-10 0:00 
QuestionDisplay message on asp label by using Javascript. Pin
AndieDu7-Jun-10 21:39
AndieDu7-Jun-10 21:39 
AnswerRe: Display message on asp label by using Javascript. Pin
Sandeep Mewara7-Jun-10 21:57
mveSandeep Mewara7-Jun-10 21:57 
AnswerRe: Display message on asp label by using Javascript. Pin
Brij8-Jun-10 0:25
mentorBrij8-Jun-10 0:25 
Questioncan i handle in Global.asax Pin
koolprasad20037-Jun-10 18:56
professionalkoolprasad20037-Jun-10 18:56 
AnswerRe: can i handle in Global.asax Pin
Venkatesh Mookkan7-Jun-10 19:11
Venkatesh Mookkan7-Jun-10 19:11 
AnswerRe: can i handle in Global.asax Pin
Abhijit Jana7-Jun-10 19:16
professionalAbhijit Jana7-Jun-10 19:16 
AnswerRe: can i handle in Global.asax Pin
Manas Bhardwaj7-Jun-10 21:43
professionalManas Bhardwaj7-Jun-10 21:43 
AnswerRe: can i handle in Global.asax Pin
T M Gray8-Jun-10 10:47
T M Gray8-Jun-10 10:47 

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.