svk:
i have done the same
it works in one application on the system
but on other application in the same system it gives "object ref error....................."
i even copied the code given by u on a new page but in this second application i get the same error
System.NullReferenceException was unhandled by user code
Message="Object reference not set to an instance of an object."
Source="CuteEditor"
StackTrace:
at CuteEditor.Impl.b..ctor(Type type, String key)
at CuteEditor.Impl.d.a(Type A_0, String A_1)
at CuteEditor.Editor.a.a.i(HtmlTextWriter A_0)
at CuteEditor.Editor.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)
at ASP.mail_send_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in D:\crmpark\crmpark\mail_send.aspx:line 189
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Page.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Hi svk,
Please debug you application and post here which line cause this error.
Regards,
ken