Click here to Skip to main content
15,907,329 members
Home / Discussions / C#
   

C#

 
AnswerRe: Read Another Programs Memory Pin
Rob Philpott30-Nov-05 23:09
Rob Philpott30-Nov-05 23:09 
GeneralRe: Read Another Programs Memory Pin
emiisdev1-Dec-05 5:20
emiisdev1-Dec-05 5:20 
GeneralRe: Read Another Programs Memory Pin
Rob Philpott1-Dec-05 6:07
Rob Philpott1-Dec-05 6:07 
AnswerRe: Read Another Programs Memory Pin
Dave Kreskowiak1-Dec-05 6:23
mveDave Kreskowiak1-Dec-05 6:23 
QuestionTo use CollectionBase or not to use collectionBase. That is the question Pin
Ista30-Nov-05 16:49
Ista30-Nov-05 16:49 
AnswerRe: To use CollectionBase or not to use collectionBase. That is the question Pin
Sean Michael Murphy30-Nov-05 18:13
Sean Michael Murphy30-Nov-05 18:13 
QuestionStatic Controls Pin
TheMajorRager30-Nov-05 13:49
TheMajorRager30-Nov-05 13:49 
AnswerRe: Static Controls Pin
Christian Graus30-Nov-05 14:03
protectorChristian Graus30-Nov-05 14:03 
TheMajorRager wrote:
My problem is that label, errorlabel should contain an error message on it, but if I click a certain button, and then I click back, the errorLabel does not get set back to "" because it does not go to the Page_Load when you click back


This is ASP.NET ? It won't work. Your control is recreated on every post back, no matter what. You need to store the text in viewstate, and restore it, assuming the control is incapable of doing this for you.

TheMajorRager wrote:
What I was trying to do was when I go to the next page, since it would be accessable to the that page since it's static, to change it there to the empty string.


When you move to another page, all contact with the class instance that was running the last page is lost. You have to remember in ASP.NET, you don't get one class instance for the page, you get one every time the page is rendered, which is brand new, unless it's a postback, and then it is still brand new, but can repopulate some fields from viewstate.


Christian Graus - Microsoft MVP - C++
QuestionHow do you get the grabber icon on a toolbars? Pin
TheBlindWatchmaker30-Nov-05 13:40
TheBlindWatchmaker30-Nov-05 13:40 
AnswerRe: How do you get the grabber icon on a toolbars? Pin
Andy Moore1-Dec-05 6:31
Andy Moore1-Dec-05 6:31 
GeneralRe: How do you get the grabber icon on a toolbars? Pin
TheBlindWatchmaker1-Dec-05 11:15
TheBlindWatchmaker1-Dec-05 11:15 
GeneralRe: How do you get the grabber icon on a toolbars? Pin
Andy Moore1-Dec-05 11:21
Andy Moore1-Dec-05 11:21 
QuestionBezier Curves and Text Pin
pende_bhanu30-Nov-05 11:31
pende_bhanu30-Nov-05 11:31 
QuestionQBE Grid Pin
Reanalyse30-Nov-05 11:08
Reanalyse30-Nov-05 11:08 
QuestionHow do you get the "dockable" icon on forms/controls? Pin
TheBlindWatchmaker30-Nov-05 10:51
TheBlindWatchmaker30-Nov-05 10:51 
AnswerRe: How do you get the "dockable" icon on forms/controls? Pin
Judah Gabriel Himango30-Nov-05 11:08
sponsorJudah Gabriel Himango30-Nov-05 11:08 
GeneralRe: How do you get the "dockable" icon on forms/controls? Pin
TheBlindWatchmaker30-Nov-05 13:43
TheBlindWatchmaker30-Nov-05 13:43 
QuestionVariable Name Pin
saborchulo30-Nov-05 10:41
saborchulo30-Nov-05 10:41 
AnswerRe: Variable Name Pin
Turtle Hand30-Nov-05 10:43
Turtle Hand30-Nov-05 10:43 
GeneralRe: Variable Name Pin
Judah Gabriel Himango30-Nov-05 11:12
sponsorJudah Gabriel Himango30-Nov-05 11:12 
AnswerRe: Variable Name Pin
Judah Gabriel Himango30-Nov-05 11:11
sponsorJudah Gabriel Himango30-Nov-05 11:11 
Questionissue of getting the names of all dial-up connections on a given system with API RasEnumEntries Pin
Vlada Nesic30-Nov-05 9:47
Vlada Nesic30-Nov-05 9:47 
QuestionResxResourceWriter not available Pin
malharone30-Nov-05 7:56
malharone30-Nov-05 7:56 
AnswerRe: ResxResourceWriter not available Pin
Dave Kreskowiak30-Nov-05 9:37
mveDave Kreskowiak30-Nov-05 9:37 
GeneralRe: ResxResourceWriter not available Pin
malharone30-Nov-05 10:00
malharone30-Nov-05 10:00 

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.