I am new to DNN and asp.net, taking my time to get and read books and program with asp.net making data bases attaching them to modules and running them. Later on I am planning on making a web site including forum and wiki using dnn, but would like to understand how to write modules and add my own programs the dnn platform.
So far so good,
I wrote a module that allows a user to add books to a list in a data base, and search for books within that data base, this module works when I run,
But when I add it to the dnn module (which I am able to do) when It loads it does not show the grid inputs that are there, so you can not see any thing within the module.
I take it some script has to be added to a module first to change it so it will run correctly in dnn, is this the case?
Just to recap, the module works 100% when run as a standard web page, I can load it into dnn as a module, but when I add it to a page, there is no content,
I have added a data base table and in the desktop module part I have added one simple file, this works fine until adding it to dnn
The top two lines in the module.ascx
<%@ Control Language="VB" AutoEventWireup="false" CodeFile="AddBooks.ascx.vb" Inherits="DesktopModules_Bookslist_AddBooks" %>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:SiteSqlServer %>"
All the lines in the module.ascx.vb
Imports DotNetNuke
Imports System.Web.UI
Imports System.Collections.Generic
Imports System.Reflection
Imports DotNetNuke.Security.PortalSecurity
Partial Class DesktopModules_Bookslist_AddBooks
Inherits Entities.Modules.PortalModuleBase
End Class
What can I add to make the module work with DNN ?, thank you