Click here to Skip to main content
15,917,859 members
Home / Discussions / C#
   

C#

 
GeneralRe: Working with "Date/Time" field of "Access Database" in C# Pin
Sourie24-Sep-08 9:01
Sourie24-Sep-08 9:01 
GeneralRe: Working with "Date/Time" field of "Access Database" in C# Pin
Wendelius24-Sep-08 9:04
mentorWendelius24-Sep-08 9:04 
GeneralRe: Working with "Date/Time" field of "Access Database" in C# Pin
Sourie24-Sep-08 10:06
Sourie24-Sep-08 10:06 
GeneralRe: Working with "Date/Time" field of "Access Database" in C# Pin
Wendelius24-Sep-08 10:48
mentorWendelius24-Sep-08 10:48 
GeneralRe: Working with "Date/Time" field of "Access Database" in C# Pin
Sourie24-Sep-08 18:25
Sourie24-Sep-08 18:25 
GeneralRe: Working with "Date/Time" field of "Access Database" in C# Pin
Wendelius24-Sep-08 18:36
mentorWendelius24-Sep-08 18:36 
GeneralRe: Working with "Date/Time" field of "Access Database" in C# Pin
Sourie24-Sep-08 20:13
Sourie24-Sep-08 20:13 
GeneralRe: Working with "Date/Time" field of "Access Database" in C# Pin
meenana24-Oct-10 2:22
meenana24-Oct-10 2:22 
GeneralRe: Working with "Date/Time" field of "Access Database" in C# Pin
RaviRanjanKr24-Oct-10 9:24
professionalRaviRanjanKr24-Oct-10 9:24 
QuestionDesign a Page and Print it ... Pin
I Believe In GOD23-Sep-08 6:24
I Believe In GOD23-Sep-08 6:24 
AnswerRe: Design a Page and Print it ... Pin
Wendelius23-Sep-08 8:21
mentorWendelius23-Sep-08 8:21 
QuestionTaborder for Dynamically-Created Controls Pin
danielhasdibs23-Sep-08 5:29
danielhasdibs23-Sep-08 5:29 
AnswerRe: Taborder for Dynamically-Created Controls Pin
J4amieC23-Sep-08 6:03
J4amieC23-Sep-08 6:03 
GeneralRe: Taborder for Dynamically-Created Controls Pin
danielhasdibs23-Sep-08 6:05
danielhasdibs23-Sep-08 6:05 
AnswerRe: Taborder for Dynamically-Created Controls Pin
teejayem23-Sep-08 6:20
teejayem23-Sep-08 6:20 
GeneralRe: Taborder for Dynamically-Created Controls Pin
danielhasdibs23-Sep-08 6:25
danielhasdibs23-Sep-08 6:25 
GeneralRe: Taborder for Dynamically-Created Controls Pin
teejayem23-Sep-08 6:30
teejayem23-Sep-08 6:30 
GeneralRe: Taborder for Dynamically-Created Controls Pin
danielhasdibs23-Sep-08 6:35
danielhasdibs23-Sep-08 6:35 
AnswerRe: Taborder for Dynamically-Created Controls Pin
I Believe In GOD23-Sep-08 6:33
I Believe In GOD23-Sep-08 6:33 
AnswerRe: Taborder for Dynamically-Created Controls Pin
danielhasdibs23-Sep-08 6:52
danielhasdibs23-Sep-08 6:52 
QuestionChanging Word save directory in C# Pin
Dave Aitch23-Sep-08 4:30
professionalDave Aitch23-Sep-08 4:30 
AnswerRe: Changing Word save directory in C# Pin
selcuks23-Sep-08 4:34
selcuks23-Sep-08 4:34 
GeneralRe: Changing Word save directory in C# Pin
Dave Aitch23-Sep-08 5:03
professionalDave Aitch23-Sep-08 5:03 
QuestionControls parent is null in call back procedure when control is reloaded Pin
Chazzysb23-Sep-08 4:01
Chazzysb23-Sep-08 4:01 
Hi,

.NET 2 VS 2005

I have a panel on a winform, at runtime controls are loaded and removed using something like:
mainPanel.Controls.Clear();
mainPanel.Controls.Add(NewControl);

NewControl is a custom control that makes async calls to a web service. One example is the login screen, first time it works fine - if a user logs out the LoginControl is re displayed in the panel. The problem is that when the control is loaded for a second time, in the call back procedure if you try to reference the controls parent it is always returned as null.

When I make the async call to the web service the parent is fine. When I reference the parent in the call back procedure when the control is first loaded it is fine - however if i remove and re add the control, the parent is null in the call back procedure.

Can anyone shed any light on this?
Ive tried sending a parameter to the constructor of the control and set the parent there but this makes no difference.

Thanks,
Chas
AnswerRe: Controls parent is null in call back procedure when control is reloaded Pin
Wendelius23-Sep-08 8:44
mentorWendelius23-Sep-08 8:44 

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.