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.0post form in custom mudule developmentpost form in custom mudule development
Previous
 
Next
New Post
3/26/2007 8:24 AM
 
chaloum wrote

Read that plus the links they don’t make sense either.  It's not point in telling the reader to delete everything in the files that are created by the dnn module template in VWD 2005 with code.   It’s confusing and doesn’t help.

After gazing at the five different way to achieve the same thing did notice in the cut and paste code the use of the form view but that also lead me down a path to nowhere.

Wow I am humbled

This tutorial Super-Fast Super-Easy Module (DAL+) does not tell the "reader to delete everything in the files that are created by the dnn module template".



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
3/26/2007 8:37 PM
 
 
Sorry buddy but you do and it starts on page two....
Replace ALL the code with the following code:
 
Namespace YourCompany.Modules.ThingsForSale

Public Class ThingsForSaleInfo

Private _ModuleId As Integer
Private
_ID As Integer
Private
_UserID As Integer
Private
_Category As String
Private
_Description As String
Private
_Price As Double
 
etc.....
I don’t understand why one would use the Starter kit then delete the contence of the files.  That being said... it's your tutorial "Using the DotNetNuke Website Starter Kit " that interests me but it creates more questions than it answers.
It’s the use of the ObjectDataSource:  why doesn’t the class' for the module appear in the ObjectDataSource, but instead need to be typed in? I thought the classes were exposed?
What is the execution sequence? Is the execution path (sequence) button(click)>ObjectdataSource(SelectMethod)>XXXXController.vb >>>not sure from here?? I’m not interested in whether is UI, BI or DAL it's the process that is important.  N-tier is a framework which DNN uses but I just want to know the process for getting data in and out of the system
In the ObjectDataSource is the TypeName the name of the class or the parameter (in the XXXcontroller.vb file) ?
Is the select method a Private function in the XXXcontroller.vb file?
Where does the ModuleID, portalID, itemID  etc come from? 
What is the purpose if the XXXinfo.vb file??  Is this where data cleaning happens and things like moduleID are added?
I've spent several frustrating weeks rummaging through very poor documentation and not getting anywhere so I'm sorry if  i've come across as nasty I'm just frustrated.
 
New Post
3/26/2007 9:03 PM
 
chaloum wrote
 
Sorry buddy but you do and it starts on page two....
Replace ALL the code with the following code:
 
Namespace YourCompany.Modules.ThingsForSale

Public Class ThingsForSaleInfo

Private _ModuleId As Integer
Private
_ID As Integer
Private
_UserID As Integer
Private
_Category As String
Private
_Description As String
Private
_Price As Double
 
I'm not instructing you to replace the Starter Kit code. The Starter Kit code is not used at all in that tutorial. I'm instructing you to replace all the code you see with the code from the tutorial to prevent people from accidently copying the code wrong.
chaloum wrote
It’s the use of the ObjectDataSource:  why doesn’t the class' for the module appear in the ObjectDataSource, but instead need to be typed in? I thought the classes were exposed?
It's a bug in Visual Studio that you have to type in the Object Data Source control parameters.
chaloum wrote
What is the execution sequence? Is the execution path (sequence) button(click)>ObjectdataSource(SelectMethod)>XXXXController.vb >>>not sure from here?? I’m not interested in whether is UI, BI or DAL it's the process that is important.  N-tier is a framework which DNN uses but I just want to know the process for getting data in and out of the system
This article explains it in about as much detail as I can think of:
chaloum wrote
I've spent several frustrating weeks rummaging through very poor documentation and not getting anywhere so I'm sorry if  i've come across as nasty I'm just frustrated.

Please read this 200+ page guide that I spent 4 months writing and provide to the community free of change and tell me if it is poorly written :)

DotNetNuke® 4 Module Development Guide (Download .PDF)



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
3/26/2007 10:17 PM
 

the way it reads is to replace the code. And in some cases the original code looks totally different to the cut an paste code, it's confising, what changed? whats different? In the documentation wouldnt it be better to highlight the changes/modification to the code that way it's clear as to what is being modifyed and changed.

the dal & dal+ is an abstract document and explains it from an n-tier conceptual model point of view, the actual file names in the App_code/module folder are not mentioned so Im still not clear as to what goes where and what calls what. I need it explained in concret not abstract terms and as in my previous question what is the execution path (not a conceptial execution through an N-tier conceptial model), you know button(click)>ObjectdataSource(SelectMethod)>XXXXController.vb >>> ... The actual files and path..

As for the Module Dev guide (which one? there are 3) and again albeit I've flicked through the document (the reason im posting here is because im over with the books and documentation), it doesnt change the position I find myself in; what is the execution path? what calls what in absolute terms? how do I trigger the insert, delete, update etc from an button click?  and what is the object datasource connecting to (which files in the app-code/module folder)?????

As for the VWD bug thanks now I know where that problem lies and can move on,  I just need the other questions answered which I thought were simple questions.

 

 

 
New Post
3/26/2007 10:31 PM
 

Westa

I know how to build a UI in asp.net thats not my issue.  Its the triggering of the dnn classes in the app_code/modules folder that is causing me pain.

the use of the objectdatasource is putting me in the direction im going in but have never used it (ive only used the sqldatsource to trigger stored procs in the sqldb).

in this context the use of classes in unfamiliar and the documentaion I have read roles it into one file where as the dnn uses 4 file and to are clear to me but the info and controll I dont get.

Therefor the setting up of the objectdatasource and configuring it to the correct classes (!!???) in what file (??!!!) and triggering it form a button is causing me alot of problems.

no one seems to beable to answer the question without refering me back to the documentation that dosnt explain what I need to know to get my module working.

I'm using the starter kit to make the modules I have not problem in getting the module up and running but I (without using my own methods) dont know how the trigger the classes in the app_code/modules folder from the UI.

and you or anyone else help me please..... 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0post form in custom mudule developmentpost form in custom mudule development


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