Using VS.NET to create NEW module for Portal Starter Kit
I'm trying to build my 1st NEW module for the portal starter kit, but I'm not sure what VS.NET is doing...it seems to be creating the wrong 'inherits from'
This is the beginning of my new module codebehind file
Public Class Charts
Inherits System.Web.UI.Page
.................................................................................
This is the beginning of an existing module codebehind (that works)
Namespace ASPNET.StarterKit.Portal
Public MustInherit Class Announcements
Inherits ASPNET.StarterKit.Portal.PortalModuleControl
.....................
How to load modules into modules
Title says it all. I want to load (custom) modules within a custom module. But I havent the slightest idea how to do that. Any suggestions? thx
Like this:
Dim _MyControl as _MyControl
_MyControl = CType(Me.LoadControl("MyControl .ascx"), MyControl)
ParentControl.Controls.Add(_MyControl)
Leigh PointerUser Group Champion » Evangelising DotNetNuke Everywhere «
The method LoadControl works, if your loaded custom module doesn't need do raise PostbackEvents :-(
If you need that... Than this way is impossible for you.
I will post how to do it right in...
sub modules, loading custom modules into a parent module
GreetingsI am creating a support system module which will require the ability to add sub modules. For example, there is an admininstrators section in which suport requests are administered, anwsered, solved etc.There is to be another function in the admin section of the support module in which admins can upload a new support form template module, ie, say an admin wants to set up a form for users to lodge a request for new hardware, the form will display all required fields, graphics, validation etc for that request. Another support form template might be to have a new user set up on the acti...
modules, modules
This site appears to be the most comprehensive list of free custom modules:
www.dnnfaq.com
Any other sites? I do like how Rainbow gives you a bucket of them - saves a lot of time over having to snoop around and find some of the DNN ones. Is there also a way to list modules as "certified"? Also - is there a decent repository of skins?
I have recently installed version 2.0. Sure wish there were more modules ready for it! That would make it much easier to evaluate the program and give recommendations to my boss.
The reason there aren't more 2.0 modules yet is becasue it h...
Module in Module
Hi,
Is there a way to place a module inside another module (e.g. A feedback module inside a Text/HTML module) ?
Cheers
Tassos
There is a way to inject controls into a module dynamically based on some criteria like a querystring parameter - is that what you are wanting to do?Dylan Barberread my stupid blog http://codemypantsoff.com
There's a commercial module "wrapper" on Snowcovered that is designed to hold other modules. So it is possible.I don't know if you could put a module holding a module inside a module containing a module, but I wouldn't try. The entire space-time...
Portal starter kit: how to sort in the contacts module?
Hi,
I'm a complete novice, just installed the Portal Starter Kit last week, and am tring to create a staff directory using the delivered contacts module.
Records are displayed in database order so, if a new record is created it will display at the end of the list, not in alphabetical order. Is there a way to sort the list before it is displayed?
Also, does anyone know how to changed the field labels (e.g. from 'contact 2' to 'photo')
Any advice would be much appreciated....
Help with Custom Modules for The Portal Starter Kit
I just made my first custom module for the Portal. As soon as i configure it on tha application and add it to a tab, i get this error:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0234: The type or namespace name 'ArticlesDB' does not exist in the class or namespace 'ASPNET.StarterKit.Portal' (are you missing an assembly reference?)
I thought I did it right, but i guess I didn't get...
Installing a DotNetNuke Module in the Portal Starter Kit
Hi,
I'm new to ASP.Net, so apologies if this is a basic question.
I have created my own portal using the Portal Stater Kit and added modules to it.
We are looking at a product Sigma-Pro by http://www.onyaktech.com/ which seems to be written for DotNetNuke, as it has a .dnn file, and i have successfully added it to my sample DotNetNuke.
We would like to add it to our portal based on the Starter Kit, but are not sure how this can be done. I think the .dnn file is basically am MSI which creates the database and installs the relevant modules, so do i just have to do this all manuall...
How do I determine which page in my module loads when the module is first loaded?
How do I determine which page in my module loads when the module is first loaded? Normally, I have done this by changing my *.dnn file to ommit the <key></key> tag on the ascx file I want to load first in the module; however, I need to be able to refer directly to that page as to forward the user to it. Any ideas?
The initial view of the module is always the view action. You do not need a key assigned to it. You can only have one view type per module.Chris Paterra
Chris, can you elaborate on that a little? I've used multiple pages set to view in modules previousl...
Help understanding module-starter aka Module::StarterHi,
I'm preparing a module for CPAN and I used module-starter to set it up.
I think I understand all the files it created except one:
t/boilerplate.t What does it do?
--
Just my 0.00000002 million dollars worth,
Shawn
Programming is as much about organization and communication
as it is about coding.
My favourite four-letter word is "Done!"
On Jul 30, 2009, at 2:59 PM, Shawn H. Corey wrote:
> Hi,
>
> I'm preparing a module for CPAN and I used module-starter to set it
> up. I think I understand all the files it created except...
Loading Module inside module
Hi there,
How can I load a module inside other module?
Could it be something like having a placeholder and then injecting the module to it?
Any hints?
Thanks in advance,
J
...
Article: Load Modules From Your Own Module
I have made a short article about how to load modules from you costum module.
This is mostly used when you have a complex module which you want to seperate up to several smaller modules and lost the needed modules depending on when to show...
It can be found here
I hope it can be of some use for someone...- Anders
My blog, includes stuff about DNN module development...
WDevs, free blog space, email and more...
DnnBB, forum module for DNN...
Module-Starter's t/module-starter.t has skip_allHi all!
As can be seen here:
* http://module-starter.googlecode.com/svn/trunk/t/module-starter.t
Module::Starter's t/module-starter.t has the following lines:
{{{{{{{{{{
use Test::More;
plan skip_all => "these tests must be completely rewritten";
}}}}}}}}}}
It also seems none of them test for the contents of the files, but only for
their existence.
What can be done about it and when will it be fixed? I wanted to improve the
M-S support for software licences, but now it seems that I cannot add
regression tests for this task easily.
Regards,
Shl...
How do I call a function in global asax on app start after all the modules have been loaded or a specific module has been loaded?
I have tried to hook in to the Application_Start in global.asax, but the problem is that the module that I need hasn't been loaded yet, this is a problem since I need to do a task only once per application start. Any suggestions? Thanks-Nathan
Either separate you needed code and load its model after application start.(change order)OrSet an application varaible value and chekc on this value when your module loaded. Hosam Kamel Remember to click on Mark as answer on the post that helped you
Well the thing is that the init event seems to be...