i am programatically create radeditor and set it content and convert into pdf below is the code. but give following error
RadEditor radEdit = new RadEditor();
radEdit.SkinID = "DefaultSetOfTools";
radEdit.ContentFilters = EditorFilters.DefaultFilters;
radEdit.ContentFilters = EditorFilters.PdfExportFilter;
radEdit.Content= MakeTable();
radEdit.ExportSettings.OpenInNewWindow=true;
radEdit.ExportToPdf();
ERROR : at Telerik.Web.UI.RadEditor.ExportToPdf() give error Object reference not set to an instance of an object.
please give tell me how do i reslove this issue. ASAP.
RadEditor radEdit = new RadEditor();
radEdit.SkinID = "DefaultSetOfTools";
radEdit.ContentFilters = EditorFilters.DefaultFilters;
radEdit.ContentFilters = EditorFilters.PdfExportFilter;
radEdit.Content= MakeTable();
radEdit.ExportSettings.OpenInNewWindow=true;
radEdit.ExportToPdf();
ERROR : at Telerik.Web.UI.RadEditor.ExportToPdf() give error Object reference not set to an instance of an object.
please give tell me how do i reslove this issue. ASAP.