Saturday, July 31, 2010
  Search
 
Register
Login
 
Using DNN to take Advantage of GoDaddy Domain Names
Let's face it, GoDaddy is cheap. Pay for the hosting services and the domain names are $1.99, not a bad deal. And even without hosting services, you can pick up domain names for as low as $6.99. Put ...

Find this article and more in the category

Read This Article . . .

Quick Check for Troubleshooting the CodeEndeavor Ajax Templates
I haven’t just installed the the template and created a module out of the box yet. However, I have come across a few things that I know to check and fix and I’m up and running in no time at all. If y...

Find this article and more in the category

Read This Article . . .

Converting a CSS Template To a DotNetNuke Skin
Creating DotNetNuke Skins can be a time consuming task. But, it's really not that hard and it doesn't have to be if you can use templates to help get started. Why not convert some free templates from...

Find this article and more in the category

Read This Article . . .

Adding Google AdSense with Video
Adding Google AdSense to your DotNetNuke portal has never been easier. By default, a Google AdSense module is added the list of installed modules when your DNN portal is first created. It's easy to ...

Find this article and more in the Modules category

Read This Article . . .

Everything You Never Wanted to Know About the Config File
This is the "pre-" first installment in a series that will cover the parts of the web.config file to give you an idea of how to manipulate and customize your DotNetNuke portal. The web.config fi...

Find this article and more in the category

Read This Article . . .

Upgrading to DotNetNuke Cambrian 5.0 from DotNeNuke 4.x
If you're looking to try out the new DNN Cambrian package, you can upgrade previous DotNetNuke installations with the following steps. Remember, as of right now, the DNN 5.0 Cambrian package availabl...

Find this article and more in the category

Read This Article . . .

Simple Intro to the DNN UserInfo Class
 New DNN developers often wonder how to expose information about logged in users to a custom DotNetNuke module. So, I threw together a very simple example to show how easy it is to begin using the bu...

Find this article and more in the DotNetNuke category

Read This Article . . .

Fixing IE's Hover Problems in DNN
 So you have designed a great skin, skin object or module for DNN and it uses the :hover attribute and looks fantastic in Firefox. Now, you find out that nothing works in IE because IE doesn't suppor...

Find this article and more in the category

Read This Article . . .

Creating a Virtual Directory in IIS
One of the first things you will need to do prior to installing DotNetNuke on a server is to create a virtual directory which will host your DotNetNuke website.  If you have full control over you...

Find this article and more in the IIS & ASP.NET category

Read This Article . . .

Customize Google Analytics for DotNetNuke Search
You can easily set up your Google Analytics account to track the search feature on your DotNetNuke website and take advantage of all the in depth reporting that Google has to offer. It's simple, here...

Find this article and more in the category

Read This Article . . .

Recently Added Articles

Minimize
Article List

 

Quick Check for Troubleshooting the CodeEndeavor Ajax Templates

3/12/2009 1:00:22 AM - By Briana Tarrance

Category: | | Comments 0

 

 

Related Links

  • In order to get past the initial screen, you have to supply a namespace and a path to the DNN website. However, once you’ve done that, change your project reference to the DotNetNuke Library project. Then, add the CodeEndeavors module project as a reference from the DNN website.
    • If your DNN Website references the CodeEndeavors module project and the module project is referencing the website, you can run into problems later that won’t let you compile your projects.
  • I have consistently had trouble with the namespaces that are written throughout the project.
    • First, go to your project properties tab and make sure that your project is named exactly how you want it. (Namespace and Assembly).
    • Do a find and replace throughout the entire project to make sure that your namespaces are correct. I have found that in the .ascx and .vb files that ‘YourCompany’ keeps sneaking in to the names.
    • Check the namespaces in the .js files also. the very first line Type.RegisterNamespace(‘namespace’) –> usually only has the Root Namespace which may not be what you’re using. Then, the class objects that are created within the javascript file will need to be changed as well.
    • For example, if you are using MyCompany.Modules.Ajax as your namespace. Then, on the ViewMyPage.ascx.js file you should have Type.RegisterNamespace(‘MyCompany.Modules.Ajax’) and the next line should read: MyCompany.Module.Ajax.ViewMyPage = function(). You’ll need to make sure that you’ve made all the changes in the js file. There are probably about 5 or 6 in each javascript file.
  • Another thing I’ve noticed is that the .dll file is not directly copied into the website directory. This is taken are of if you have made a project reference to the module from your DNN website however.
  • And finally, in the .dnn manifest file, take out the reference to the assembly because it is not created in the zip file when the build happens. If you don’t remove this, then you’ll receive an error when you try to install the module. So, I just do it first and make sure the install goes as planned.
  • If you get installed and the first screen you see says that the type cant be loaded, then check your bin directory and make sure a copy of the dll is there. If not, copy it over (and make the project reference! :-) and then reload the page.

Most of these errors could be corrected by making some modifications to the templates, but so far its just been easier to make these corrections as I go.

Hope that helps some of you out there!

powered by metaPost
 


 
 
Copyright 2008 by Virtual-Essentials.com Privacy Statement    Terms Of Use