Click here to Skip to main content
16,011,374 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problem/bug in .net class library Pin
James T. Johnson31-Jan-02 10:39
James T. Johnson31-Jan-02 10:39 
GeneralRe: Problem/bug in .net class library Pin
31-Jan-02 22:52
suss31-Jan-02 22:52 
GeneralRe: Problem/bug in .net class library Pin
31-Jan-02 23:37
suss31-Jan-02 23:37 
QuestionHow do I use ParseControl? Pin
31-Jan-02 10:04
suss31-Jan-02 10:04 
AnswerRe: How do I use ParseControl? Pin
James T. Johnson31-Jan-02 10:36
James T. Johnson31-Jan-02 10:36 
GeneralRe: Thanks but... Pin
31-Jan-02 10:58
suss31-Jan-02 10:58 
GeneralRe: Thanks but... Pin
James T. Johnson31-Jan-02 11:10
James T. Johnson31-Jan-02 11:10 
GeneralRe: Thanks but... Pin
31-Jan-02 11:33
suss31-Jan-02 11:33 
I'm using the code you provided above, but it still does not work. I'm not doing this in an ASPX page. I am calling ParseControl in a custom web control source (.CS file), that's being compiled into an assembly. And when I compile the assembly, I get the error:
"ParseControl does not exist in the class MyControl"
so I reference it explicitly:
Controls.Add(System.Web.UI.TemplateControl.ParseControl(stringFromDB);

When i compile the assembly I get:
"CS0120: An object reference is required for the nonstatic field, method, or property 'System.Web.UI.TemplateControl.ParseControl(string)'"

I've got to find out how to solve that.
Thank you for all your help.
GeneralRe: Thanks but... Pin
James T. Johnson31-Jan-02 14:36
James T. Johnson31-Jan-02 14:36 
GeneralThank you!! Pin
1-Feb-02 11:09
suss1-Feb-02 11:09 
GeneralJag Arrays again, sorry Pin
31-Jan-02 0:25
suss31-Jan-02 0:25 
GeneralRe: Jag Arrays again, sorry Pin
James T. Johnson31-Jan-02 9:15
James T. Johnson31-Jan-02 9:15 
GeneralJag Arrays Pin
30-Jan-02 1:54
suss30-Jan-02 1:54 
GeneralRe: Jag Arrays Pin
rchiav30-Jan-02 5:17
rchiav30-Jan-02 5:17 
GeneralRe: Jag Arrays Pin
James T. Johnson30-Jan-02 9:36
James T. Johnson30-Jan-02 9:36 
GeneralRe: Jag Arrays Pin
rchiav30-Jan-02 9:54
rchiav30-Jan-02 9:54 
GeneralRe: Jag Arrays Pin
30-Jan-02 20:45
suss30-Jan-02 20:45 
GeneralSockets Pin
rchiav29-Jan-02 17:48
rchiav29-Jan-02 17:48 
GeneralRe: Sockets Pin
James T. Johnson30-Jan-02 9:38
James T. Johnson30-Jan-02 9:38 
GeneralRemove title bar Pin
paulb29-Jan-02 13:54
paulb29-Jan-02 13:54 
GeneralRe: Remove title bar Pin
James T. Johnson29-Jan-02 17:45
James T. Johnson29-Jan-02 17:45 
GeneralThe Final Version Pin
Fayez Al-Naddaf29-Jan-02 10:14
Fayez Al-Naddaf29-Jan-02 10:14 
GeneralRe: The Final Version Pin
James T. Johnson29-Jan-02 12:53
James T. Johnson29-Jan-02 12:53 
GeneralRe: The Final Version Pin
Fayez Al-Naddaf30-Jan-02 5:29
Fayez Al-Naddaf30-Jan-02 5:29 
Generalwindows service Pin
omkamal28-Jan-02 6:18
omkamal28-Jan-02 6:18 

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.