This question is locked. New answers and comments are not allowed.
Hi,
I am using telerik rad editor in my project and I am getting the text from database and displaying it on Rad editor
I am using this code
RadEditor1.Html = "THIS TEXT IS NOT A LETTER";
RadEditor1.Editable = false;
RadEditor1.Enabled = false;
and i am getting following error:
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Telerik.RadEditorUtils.RadControl.GetUpdatingUpdatePanel(Control target) +101
Telerik.RadEditorUtils.RadControl.IsInAjaxUpdatePanel(Control target) +50
Telerik.RadEditorUtils.RadControl.Page_PreRenderComplete(Object sender, EventArgs e) +21
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +8720206
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1029
Please let me know how can i resolve this.?
I am using telerik rad editor in my project and I am getting the text from database and displaying it on Rad editor
I am using this code
RadEditor1.Html = "THIS TEXT IS NOT A LETTER";
RadEditor1.Editable = false;
RadEditor1.Enabled = false;
and i am getting following error:
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Telerik.RadEditorUtils.RadControl.GetUpdatingUpdatePanel(Control target) +101
Telerik.RadEditorUtils.RadControl.IsInAjaxUpdatePanel(Control target) +50
Telerik.RadEditorUtils.RadControl.Page_PreRenderComplete(Object sender, EventArgs e) +21
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +8720206
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1029
Please let me know how can i resolve this.?