All Controls in my user control are null...
-
Hey all, I have a simple user control with panel on it. when I create this user control (manualy and not dragging it from solution explorer) somehow all controls inside this user control are null... In the user control I try to use the panel object in some method I've created but the panel object is null, so it throws an exception. I'm sure I've done something wrong but, Do I need to create the inner controls of the user control also?? p.s - I'm using Visual Studio 2005 Team Edition. Thanks, Roy.
-
Hey all, I have a simple user control with panel on it. when I create this user control (manualy and not dragging it from solution explorer) somehow all controls inside this user control are null... In the user control I try to use the panel object in some method I've created but the panel object is null, so it throws an exception. I'm sure I've done something wrong but, Do I need to create the inner controls of the user control also?? p.s - I'm using Visual Studio 2005 Team Edition. Thanks, Roy.
You can download my project from the article I wrote. It will show you how to use user controls if you don't want to add them in the designer. http://www.codeproject.com/useritems/User\_Controls\_Made\_Easy.asp
I didn't get any requirements for the signature
-
You can download my project from the article I wrote. It will show you how to use user controls if you don't want to add them in the designer. http://www.codeproject.com/useritems/User\_Controls\_Made\_Easy.asp
I didn't get any requirements for the signature