Click here to Skip to main content
15,893,663 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionGroup box in asp.net and styling web forms Pin
akubue bona9-Jun-14 7:34
akubue bona9-Jun-14 7:34 
AnswerRe: Group box in asp.net and styling web forms Pin
ZurdoDev10-Jun-14 3:43
professionalZurdoDev10-Jun-14 3:43 
QuestionAutomatically add a numeric value to the SQL Server Database after the expiration of a certain date( Date will vary ) Pin
hilbiazhar9-Jun-14 5:57
hilbiazhar9-Jun-14 5:57 
AnswerRe: Automatically add a numeric value to the SQL Server Database after the expiration of a certain date( Date will vary ) Pin
Richard Deeming9-Jun-14 6:10
mveRichard Deeming9-Jun-14 6:10 
Question[ASP.NET C#] Postback and updatepanel issues. Pin
Member 79124618-Jun-14 11:11
Member 79124618-Jun-14 11:11 
SuggestionRe: [ASP.NET C#] Postback and updatepanel issues. Pin
Dusara Maulik9-Jun-14 2:24
Dusara Maulik9-Jun-14 2:24 
GeneralRe: [ASP.NET C#] Postback and updatepanel issues. Pin
Member 79124619-Jun-14 2:53
Member 79124619-Jun-14 2:53 
GeneralRe: [ASP.NET C#] Postback and updatepanel issues. Pin
jkirkerx11-Jun-14 13:24
professionaljkirkerx11-Jun-14 13:24 
You need to understand the page lifecycle.

When you create controls in Page load, they only persist 1 time. When the page post back to the server, the controls in page load will lose there values because there created again, or may not be created at all.

You need to create the controls in page.init, so the controls persist during postback.


[MSDN Page LifeCycle^]

[Code Project Page Lifecycle^]
GeneralRe: [ASP.NET C#] Postback and updatepanel issues. Pin
Member 791246114-Jun-14 4:21
Member 791246114-Jun-14 4:21 
GeneralRe: [ASP.NET C#] Postback and updatepanel issues. Pin
jkirkerx14-Jun-14 8:33
professionaljkirkerx14-Jun-14 8:33 
QuestionSession for Listbox Pin
Dalina Cheriyan6-Jun-14 3:11
Dalina Cheriyan6-Jun-14 3:11 
AnswerRe: Session for Listbox Pin
ZurdoDev6-Jun-14 10:29
professionalZurdoDev6-Jun-14 10:29 
GeneralHow to increase .net application performance Pin
venumadhav.narla7776-Jun-14 0:39
venumadhav.narla7776-Jun-14 0:39 
GeneralRe: How to increase .net application performance Pin
Richard Deeming6-Jun-14 1:01
mveRichard Deeming6-Jun-14 1:01 
AnswerRe: How to increase .net application performance Pin
thatraja6-Jun-14 9:58
professionalthatraja6-Jun-14 9:58 
Question'Submit' button related errors Pin
Member 87616675-Jun-14 14:26
Member 87616675-Jun-14 14:26 
AnswerRe: 'Submit' button related errors Pin
Richard Deeming6-Jun-14 0:59
mveRichard Deeming6-Jun-14 0:59 
GeneralRe: 'Submit' button related errors Pin
Member 87616676-Jun-14 6:02
Member 87616676-Jun-14 6:02 
GeneralRe: 'Submit' button related errors Pin
Richard Deeming6-Jun-14 7:33
mveRichard Deeming6-Jun-14 7:33 
GeneralRe: 'Submit' button related errors Pin
Member 87616676-Jun-14 7:43
Member 87616676-Jun-14 7:43 
QuestionBeginner: using update_demo.asp - Datatype Mismatch Error Pin
Istteffanny Isloure Araujo4-Jun-14 22:49
Istteffanny Isloure Araujo4-Jun-14 22:49 
AnswerRe: Beginner: using update_demo.asp - Datatype Mismatch Error Pin
thatraja4-Jun-14 23:52
professionalthatraja4-Jun-14 23:52 
QuestionUnable to close a modal pop up after opening an pdf document Pin
aditya kiran maroju4-Jun-14 18:36
aditya kiran maroju4-Jun-14 18:36 
QuestionRe: Unable to close a modal pop up after opening an pdf document Pin
Vasudevan Deepak Kumar13-Jun-14 2:35
Vasudevan Deepak Kumar13-Jun-14 2:35 
Questionhighlight main menu item of current page. Also highlight when sub menu item is selected through javascript in ASP.net Pin
hilbiazhar4-Jun-14 2:41
hilbiazhar4-Jun-14 2:41 

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.