I
Italo Gomes
Hello there,
I'm new on creating WebControls and I'm having problems trying to assign
two webcontrols that I have developed by using a property. Let me explain it
better:
In the first WebControl I declared a property like the following:
private WebControl2 object2;
public WebControl2 Object2
{
get { return object2; }
set { object2 = value; }
}
The property display correctly in the Property Grid, but when I try to
run the application, I get an error message saying that it's not possible to
create an instance of WebControl2 from a string. I have a similar pair of
controls for WinForms and it works perfectly there without doing anything
else, so I don't have any idea of what's wrong.
Can anyone point me some tutorial/how-to/walkthrough about this subject?
Thank you in advance.
Italo Gomes.
I'm new on creating WebControls and I'm having problems trying to assign
two webcontrols that I have developed by using a property. Let me explain it
better:
In the first WebControl I declared a property like the following:
private WebControl2 object2;
public WebControl2 Object2
{
get { return object2; }
set { object2 = value; }
}
The property display correctly in the Property Grid, but when I try to
run the application, I get an error message saying that it's not possible to
create an instance of WebControl2 from a string. I have a similar pair of
controls for WinForms and it works perfectly there without doing anything
else, so I don't have any idea of what's wrong.
Can anyone point me some tutorial/how-to/walkthrough about this subject?
Thank you in advance.
Italo Gomes.