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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesDNN 6 and the ajax toolkitDNN 6 and the ajax toolkit
Previous
 
Next
New Post
11/9/2011 7:50 AM
 
Hi,<br /> I need your help. i am developing a website in DNN 6. I am using Chris template for my module development. now i want to use ajax component in my edit.ascx file. <br /> <br /> My environment is i am using DNN 6 and .netframework 3.5 for development. Now i add reference ajax control kitt in project reference folder and the i added the directive in the page header<br /> <br /> <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %><br /> <br /> Now  i can drag and drop the ajax component in my page.<br /> <br /> till yet my module build successfully  and in browser its shows the correctly but ajax extender not work on the asp control because i did not added the Ajax Script Manager.<br /> <br /> Now i add script manager. My module build successfully in VS. but when i am going to browse my page in DNN its shows this error.<br /> <br /> A critical error has occurred. an unexpected error has occurred<br /> <br /> Here is Event Viewer Detail<br /> <br />  <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-bottom: 0px; color: #333333; background-color: #eeeeee;"><strong>AssemblyVersion</strong>: 6.0.2</p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-bottom: 0px; color: #333333; background-color: #eeeeee;"><strong>PortalID</strong>: 0</p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-bottom: 0px; color: #333333; background-color: #eeeeee;"><strong>PortalName</strong>: Kontoret Strandvägen 7A - Intranet</p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-bottom: 0px; color: #333333; background-color: #eeeeee;"><strong>UserID</strong>: 1</p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-bottom: 0px; color: #333333; background-color: #eeeeee;"><strong>UserName</strong>: host</p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-bottom: 0px; color: #333333; background-color: #eeeeee;"><strong>ActiveTabID</strong>: 78</p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-bottom: 0px; color: #333333; background-color: #eeeeee;"><strong>ActiveTabName</strong>: Boka</p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-bottom: 0px; color: #333333; background-color: #eeeeee;"><strong>RawURL</strong>: /Boka.aspx</p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-bottom: 0px; color: #333333; background-color: #eeeeee;"><strong>AbsoluteURL</strong>: /Default.aspx</p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-bottom: 0px; color: #333333; background-color: #eeeeee;"><strong>AbsoluteURLReferrer</strong>: http://localhost:82/Admin/LogViewer.aspx</p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-bottom: 0px; color: #333333; background-color: #eeeeee;"><strong>UserAgent</strong>: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.106 Safari/535.2</p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-bottom: 0px; color: #333333; background-color: #eeeeee;"><strong>DefaultDataProvider</strong>: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider</p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-bottom: 0px; color: #333333; background-color: #eeeeee;"><strong>ExceptionGUID</strong>: 8c05edb9-27d4-4b40-a35f-c1333c0665ab</p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-bottom: 0px; color: #333333; background-color: #eeeeee;"><strong>InnerException</strong>: Object reference not set to an instance of an object.</p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-bottom: 0px; color: #333333; background-color: #eeeeee;"><strong>FileName</strong>:</p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-bottom: 0px; color: #333333; background-color: #eeeeee;"><strong>FileLineNumber</strong>: 0</p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-bottom: 0px; color: #333333; background-color: #eeeeee;"><strong>FileColumnNumber</strong>: 0</p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-bottom: 0px; color: #333333; background-color: #eeeeee;"><strong>Method</strong>: DotNetNuke.Web.DDRMenu.DDRMenuControl.OnPreRender</p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-bottom: 0px; color: #333333; background-color: #eeeeee;"><strong>StackTrace</strong>:</p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-bottom: 0px; color: #333333; background-color: #eeeeee;"><strong>Message</strong>: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Web.DDRMenu.DDRMenuControl.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---</p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-bottom: 0px; color: #333333; background-color: #eeeeee;"><strong>Source</strong>:</p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-bottom: 0px; color: #333333; background-color: #eeeeee;"><strong>Server Name</strong>: SHAHIDMAJEED-PC</p>
 
New Post
11/9/2011 8:19 AM
 
Hi Skip.I am having problem using Ajax in my DNN6. I am new to dnn and building my first profestional project in it. I want to use Ajax calander extender what i did. i download Ajax control kitt 3.5 because i am using .netframe 3.5 in vs2010. I am using Chris template for my module development. now what i did in chris template i simplet right click at reference folder and add ajax control kitt dll which is already in bin folder of my DNN directory. after that i add ajax directive at top of the ascx file and then i drag the ajax calander extender to the textbox where i want to use it. till yet its build successfully in the VS and runing well in my web but ajax extender did not working. because i did not add the ajax script manager in the ascx file.now i add script manager in my ascx file and rebuild the module. its build successfully no error. but when i browse the module in the web its give me this errorA critical error has occurred. Object reference not set to an instance of an object.what will the problem i dont know how to solve it.Please help me i need this functionality and my project deadline almost going to finish :(
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesDNN 6 and the ajax toolkitDNN 6 and the ajax toolkit


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