Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  FCKeditor Provi...  Object reference not set to an instance of an object
Previous Previous
 
Next Next
New Post 5/12/2006 7:50 AM
User is offline Andreas Ek
5 posts
10th Ranked


Object reference not set to an instance of an object 

Whenever fetching the property Text from the control it gives the error:

Object reference not set to an instance of an object.

I'm using the exact example for TextEditor in DNN documentation:

DotNetNuke Module Developers Guide, page 55.

If using the FreeTextEditor Provider everything works just fine but FCKEditor is just a great control. So perhaps it is a solution for this?

 

 
New Post 5/14/2006 9:59 PM
User is offline Mauricio Márquez
1044 posts
dnn.tiendaboliviana.com
6th Ranked






Re: Object reference not set to an instance of an object 

please post the following:

1) Sample code of how you are creating the editor object and how your are trying to set/get the text property

2) Information about your DNN installation (Version, environment, Fckeditor provider version, etc)


Locopon
Free modules: E-commerce, Complete localization (Portal, page, module settings, skins, etc.), Secure Login, and more
http://dnn.tiendaboliviana.com
 
New Post 5/15/2006 2:54 AM
User is offline Andreas Ek
5 posts
10th Ranked


Re: Object reference not set to an instance of an object 

The problem is solved.
If we put the TextEditor inside an ascx-control and then LoadControl from within the code everything works fine. the FCK-wrapper can't manage to be called directly through code via DotNetNuke.UI.WebControls.TextEditor as an object.

Sample code is exactly the same as in the manual refered earlier. We are using DNN3.2.2 with the latest DSFck2HtmlEditorProvider version.

 

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  FCKeditor Provi...  Object reference not set to an instance of an object
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com
DNNCovered.com - Your Offshore Dotnetnuke Partner
Dnncovered.com is the only Dotnetnuke offshore outsourcing center specializes in DNN skinning and module development with lowest pricing and quality service. Our staff is dedicated to websites based on DNN and our graphic designers are creative and imaginative well enough to provide customers the complete set of skinning solutions and packages
www.dnncovered.com
PointClick.Net DNN Solutions
DotNetNuke Hosting Platform for Business and personal use.
PointClick.Net Hosted Solutions

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP