Hi To All,
I want to share my experience with this issue and how I solved it. I Googled and searched in this forum but did not find a solution for me. The solution actually is quite simple, it's just a matter of not setting the Visible property of the RadEditor to false. So here's the issue.
I received the error when I have the RadEditor in a user control that is being loaded in another user control (although I believe the problem will be the same if there is only one level of user control). I have a RadEditor in my user control that is set to not visible - Visible="false". In my user control I override the Render method and I have this code:
The exception is thrown at line "base.Render".
I want my RadEditor to be not visible initially and make it visible based on some logic. So what I did is instead of configuring the RadEditor to have Visible="false", I set the property in the code behind. I don't have the most detailed explanation why this happens and I definitely would appreciate if someone can explain it.
Thanks,
Von
I want to share my experience with this issue and how I solved it. I Googled and searched in this forum but did not find a solution for me. The solution actually is quite simple, it's just a matter of not setting the Visible property of the RadEditor to false. So here's the issue.
I received the error when I have the RadEditor in a user control that is being loaded in another user control (although I believe the problem will be the same if there is only one level of user control). I have a RadEditor in my user control that is set to not visible - Visible="false". In my user control I override the Render method and I have this code:
protected override void Render(HtmlTextWriter writer)
{
// some code goes here
base.Render(writer);
}
The exception is thrown at line "base.Render".
I want my RadEditor to be not visible initially and make it visible based on some logic. So what I did is instead of configuring the RadEditor to have Visible="false", I set the property in the code behind. I don't have the most detailed explanation why this happens and I definitely would appreciate if someone can explain it.
Thanks,
Von