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.0Help! Totally confused on 1st custom moduleHelp! Totally confused on 1st custom module
Previous
 
Next
New Post
1/17/2006 10:03 PM
 

I've used the starter kit to create a new custom module. 

I ran the generated sql separately in order to create the sql server objects.

When I enter the page that contains the custom module, the list functionality works.  The default record is shown to me, plus an add content and edit content link.

I'm having a few problems though. 

First, the debugger doesn't seem to work with these custom modules.  The breakpoints in the modules never seem to be reached.   So, I reverted to old-fashioned "print statements" to debug what's going on.

If I use this.Page.Response.Write("in mycustom.ascx, at Page_Load start") I see it at the top of the listing screen, above everything else on the page, when I go to a page that has this custom module in it.

The settings page works perfectly, as far as I can tell.  However, if I put a similar print statement in all its routines, the text never shows up.  I even threw an exception on purpose, as the first command in the settings control's routines, but as far as I can tell, it never got thrown.

The Edit page doesn't do anything, as far as I can tell.  It just blanks out that content pane and nothing else happens.  If I put the same type of message or thrown exception in the edit control, nothing different happens.

I'm stumped!

First, how can I get the debugger to work in these controls?  That would probably help me figure out what else is going on. 

Second, any clue as to what's going on?

Thanks in advance!

 
New Post
1/18/2006 11:29 AM
 
davidwendelken wrote

First, the debugger doesn't seem to work with these custom modules.  The breakpoints in the modules never seem to be reached.   So, I reverted to old-fashioned "print statements" to debug what's going on.

The Edit page doesn't do anything, as far as I can tell.  It just blanks out that content pane and nothing else happens.  If I put the same type of message or thrown exception in the edit control, nothing different happens.



The debugger should work - not sure why in your case, but I have no problems.  Are you using F5 to run or Ctl-F5?

The Edit Page being blank indicates that the control was not "registered" with DotNetNuke correctly.  To check this
  1. Go to Host/Module Definitions
  2. Select the pencil icon near your custom module
  3. In the list of controls there should be a listing with a key of "Edit" and a valid control name


Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
New Post
2/1/2006 7:41 AM
 

Found the solution to the edit page not working!

There are two sql scripts (*.SqlDataProvider) created by the starter template.  You have to run both of them.

Still can't get the debugger to work. :(

 
New Post
2/1/2006 1:45 PM
 
That was going to be my next suggestion! *grin*

Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Help! Totally confused on 1st custom moduleHelp! Totally confused on 1st custom module


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