Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Client APIClient API
Previous
 
Next
New Post
8/8/2007 9:35 AM
 

In my efforts to understand how to build javascript into the module I'm now building  I  downloaded the Web Parts  project and unzipped to my root DNN folder as prescribed.

The result DNN 4.5.5 dies immediately without showing a login screen. All I get is an error  message  saying - An error has occurred.

Can someone tell me what I might do next?

 

 

 

 

 
New Post
8/9/2007 3:01 AM
 

Can nobody tell me if I've followed the correct procedure for installing the client API?

This is  the error when the  statement  ctlSkin = "dnn" was encountered.

 

System.NullReferenceException was unhandled by user code
  Message="Object reference not set to an instance of an object."
  Source="App_Web_n8k6_1lb"
  StackTrace:
       at DotNetNuke.Framework.DefaultPage.Page_Init(Object sender, EventArgs e) in D:\Documents and Settings\Jeff Mowatt\My Documents\Visual Studio 2005\WebSites\DNN455\Default.aspx.vb:line 518
       at System.Web.UI.Control.OnInit(EventArgs e)
       at System.Web.UI.Page.OnInit(EventArgs e)
       at DotNetNuke.Framework.PageBase.OnInit(EventArgs e)
       at System.Web.UI.Control.InitRecursive(Control namingContainer)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

 
New Post
8/9/2007 7:20 AM
 

The error you are getting is on the server-side, and doesn't appear to be related to the clientapi.  It looks like when DNN is injecting the skin object and assigning the id (though your posted code says cltSkin = "dnn", I'm assuming it should be ctlSkin.id = "dnn").  the control is not set correctly.   I have not played with webpart integration, but I'm guessing that something that you are doing with it is causing the dnn rendering to get confused.


 
New Post
8/9/2007 11:31 AM
 

Jon thanks for the reply.

Yes ctlSkin.id = "dnn"

As far as I know I'm not doing anything with web parts, just trying to understand what I need to download and install to get started with Client API and build javascript to

move values between drop down lists. If what I'm installing isn't needed pleas let me know. 

All I've done is created my own module which was working pretty well  before this install wiped out all of my Dnn application.

Jeff

 

 

 
New Post
8/9/2007 12:50 PM
 

The clientapi is already present in your DNN install, all you need to do to use it is register the appropriate javascript.  You can learn more about how its used in this documentThis link also includes other documentation you may find helpful.

I'm guessing your error is coming from something invalid in your module implementation.  Perhaps you should start with my sample HelloAJAX module.


 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Client APIClient API


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out