Click here to Skip to main content
15,895,813 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Unable to launch the ASP.NET Development Server. Port 'n' is in use Pin
Abhijit Jana13-Jun-10 18:05
professionalAbhijit Jana13-Jun-10 18:05 
Questionaccess ConfigurationManager.AppSettings Pin
Hemant Thaker13-Jun-10 9:03
Hemant Thaker13-Jun-10 9:03 
AnswerRe: access ConfigurationManager.AppSettings Pin
Abhijit Jana13-Jun-10 9:23
professionalAbhijit Jana13-Jun-10 9:23 
AnswerRe: access ConfigurationManager.AppSettings Pin
Abhishek Sur13-Jun-10 9:36
professionalAbhishek Sur13-Jun-10 9:36 
QuestionFCKeditor in ASP.NET 2.0 Pin
Mastersev13-Jun-10 4:26
Mastersev13-Jun-10 4:26 
AnswerRe: FCKeditor in ASP.NET 2.0 Pin
Amit Patel198514-Jun-10 1:28
Amit Patel198514-Jun-10 1:28 
GeneralRe: FCKeditor in ASP.NET 2.0 Pin
Mastersev14-Jun-10 2:19
Mastersev14-Jun-10 2:19 
QuestionPage controls keeps same content after postback? Pin
lvq68413-Jun-10 3:49
lvq68413-Jun-10 3:49 
Hi.

I am fairly new to asp.net, and have a problem with a page I am working on. The page contains some textboxes, and a button. When the button is clicked, the codebehind fetches the textbox contents. If the user did something wrong, he is redirected to the same page again, but before that the textbox contents is saved in the session. When the page loads again the textboxes are now filled with this sessiondata so the user doesent have to input all the data from scratch again. But when the button is clicked the second time, the textbox content I read is the old content, and not the new data the user has typed in. How come?

To make my problem a bit easier to understand:

1. Page loads
2. User types "John" in the name textbox, and fills out other textboxes
3. User clicks the submit button
4. Codebehind reads "john" from the name textbox
5. Codebehind registers an error from the other stuff the user has filled in, and redirects to the same page with all textbox contents saved in session
6. Page loads, and all textboxes are filled from the session data
7. User changes the text in the name textbox to "Joe"
8. User clicks submit
9. Codebehind reads "john" from the name textbox - How come?!

Really hope you can help me understand this!

Thanks alot Smile | :)
AnswerRe: Page controls keeps same content after postback? Pin
Brij13-Jun-10 5:23
mentorBrij13-Jun-10 5:23 
AnswerRe: Page controls keeps same content after postback? Pin
Abhijit Jana13-Jun-10 9:05
professionalAbhijit Jana13-Jun-10 9:05 
GeneralRe: Page controls keeps same content after postback? Pin
Brij13-Jun-10 21:08
mentorBrij13-Jun-10 21:08 
AnswerRe: Page controls keeps same content after postback? Pin
Abhijit Jana13-Jun-10 9:00
professionalAbhijit Jana13-Jun-10 9:00 
GeneralRe: Page controls keeps same content after postback? Pin
lvq68413-Jun-10 21:17
lvq68413-Jun-10 21:17 
QuestionSome text is missing when converting from HTML to PDF! Pin
Member 446383913-Jun-10 1:24
Member 446383913-Jun-10 1:24 
Questioniam getting error in group by condition in ado.net Pin
developerit12-Jun-10 22:37
developerit12-Jun-10 22:37 
AnswerRe: iam getting error in group by condition in ado.net Pin
i.j.russell12-Jun-10 23:23
i.j.russell12-Jun-10 23:23 
QuestionError in dropdownlist binding Pin
mominafiz12-Jun-10 4:38
mominafiz12-Jun-10 4:38 
AnswerRe: Error in dropdownlist binding Pin
Shahriar Iqbal Chowdhury/Galib12-Jun-10 5:11
professionalShahriar Iqbal Chowdhury/Galib12-Jun-10 5:11 
AnswerRe: Error in dropdownlist binding Pin
Blue_Boy12-Jun-10 20:47
Blue_Boy12-Jun-10 20:47 
QuestionScriptManager in Usercontrol is not feasible if I already have an Script Manager in Aspx ? Pin
giantsover11-Jun-10 23:17
giantsover11-Jun-10 23:17 
AnswerRe: ScriptManager in Usercontrol is not feasible if I already have an Script Manager in Aspx ? Pin
Estys12-Jun-10 0:20
Estys12-Jun-10 0:20 
GeneralRe: ScriptManager in Usercontrol is not feasible if I already have an Script Manager in Aspx ? Pin
giantsover12-Jun-10 1:46
giantsover12-Jun-10 1:46 
GeneralRe: ScriptManager in Usercontrol is not feasible if I already have an Script Manager in Aspx ? Pin
Estys12-Jun-10 2:12
Estys12-Jun-10 2:12 
GeneralRe: ScriptManager in Usercontrol is not feasible if I already have an Script Manager in Aspx ? Pin
giantsover12-Jun-10 2:32
giantsover12-Jun-10 2:32 
GeneralRe: ScriptManager in Usercontrol is not feasible if I already have an Script Manager in Aspx ? Pin
Estys12-Jun-10 3:19
Estys12-Jun-10 3:19 

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.