This is a migrated thread and some comments may be shown as answers.

[Solved] Error In Using Rad Editor

1 Answer 21 Views
Upload
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dinesh
Top achievements
Rank 1
Dinesh asked on 06 May 2013, 10:35 AM
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.?

1 Answer, 1 is accepted

Sort by
0
Dinesh
Top achievements
Rank 1
answered on 13 May 2013, 12:32 PM
Please reply.I am waiting for your response..
Tags
Upload
Asked by
Dinesh
Top achievements
Rank 1
Answers by
Dinesh
Top achievements
Rank 1
Share this question
or