This is a discussion on DotNetNuke within the ASP and ASP.NET Programming forums, part of the Web Development category; Change ur Web.config according to ur connection string To install the site, click Ctrl-F5 (ie. hold the Ctrl ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Change ur Web.config according to ur connection string To install the site, click Ctrl-F5 (ie. hold the Ctrl key down while clicking on the F5 function key). The application may take a few minutes to build if this is your first installation. Your default web browser will launch and will show you the installation Progress. ![]() Scroll to the bottom of the installation text in the browser window and select "Click Here To Access Your Portal". The default DotNetNuke application will be displayed. ![]() You are now up and running. Login as the Administrator to add pages and content to your web site. So lets examine the DotNetNuke 4.0 ( ASP.NET 2.0 ) benefits: - reduction in the number of developer installation steps - works with Visual Web Developer ( the lowest cost developer tool ) for a highly productive development experience - leverages SQL Server 2005 Express ( the lowest cost database engine ) for a totally local development experience Stay Tuned With me To create a control
__________________ Shaalini.S ![]() Be the Best of Whatever you are... Last edited by shaalini : 02-25-2008 at 11:41 PM. |
| Sponsored Links |
| |||
| Setting Up The Module We will create the module using the following steps: Create the "View" control Register the module in DotNetNuke Create The Directories Open your DotNetNuke website in Visual Studio. Create the View Control Right-click on the "DesktopModules" folder and select "New Folder" Name the folder "SuperSimple" Next, right-click on the "SuperSimple" folder and select "Add New Item..." In the "Add New Item" box that opens: Click on "Web User Control" under "Visual Studio Installed Templates". Enter "SuperSimple.ascx" in the "Name" box. Make sure the "Place code in a separate file" box is checked. Click the "Add" button. The "SuperSimple.ascx" file will be created in the "SuperSimple" folder under the "DesktopModules" folder. Clicking the "plus" icon next to the file will display the associated code behind file "SuperSimple.ascx.vb" (or "SuperSimple.ascx.cs"). Double-click on the "SuperSimple.ascx" file and it will open up in the main editing window. Right now the page will be blank. Click the "Source" button at the bottom of the page to switch to source view.
__________________ Shaalini.S ![]() Be the Best of Whatever you are... Last edited by shaalini : 02-25-2008 at 11:43 PM. |
| |||
| Imports DotNetNuke Imports System.Web.UI Imports System.Collections.Generic Imports System.Reflection Imports DotNetNuke.Security.PortalSecurity Partial Class DesktopModules_SimpleTest_SimpleTest Inherits Entities.Modules.PortalModuleBase Protected Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load If Not Page.IsPostBack Then ShowData("") End If End Sub Protected Sub btnSearch_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSearch.Click ShowData(txtSearch.Text) End Sub Private Sub ShowData(ByVal SearchString As String) searchLabel.Text = SearchString End Sub End Class <asp:TextBox ID="txtSearch" runat="server"></asp:TextBox> <asp:Button ID="btnSearch" runat="server" Text="Click" /><br /> <br /> <asp:Label ID="searchLabel" runat="server"></asp:Label>
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
| |||
| On the next screen enter "Messgae" for the module name and "This module will show messages" for description. Click the UPDATE button at the bottom of the page. ![]() The DEFINITIONS box will appear at the bottom of the screen. Type in "Show Message" and click ADD DEFINITION. ![]()
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
| |||
| The EDIT MODULE CONTROL box will appear. Use the drop-down box to select "add ur control here" for SOURCE and select "view" for TYPE.for ex as shoen in fig ![]()
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
| |||
| The simplest way to add a new page to your website is to use the Add button in the Page Functions area of the Control Panel (at the top of the page). ![]() 1. Click the Add button on the Control Panel. The next page you see will allow you to specify Settings for the new Page you are about to create. 2. Put your cursor in the Page Name field and type a name for your Page. This will be what visitors see in your websites Menu. ![]()
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
| |||
Your website Menu before adding the page Your website Menu after adding the page3. Put your cursor in the Page Title field and type a title for your Page. This will be what visitors see in the titlebar of their web browser when they visit your new Page.
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
| |||
| 4. Select who can look at your Page and who can change its settings. Administrators (like you) can always see your page and make changes to its Settings. But you can choose who else can see it or change it. If your new page will have private information on it, you may want only visitors who have logged in to your website to be able to see it. Check the boxes for who should be able View (see) or Edit (change settings) for your new page. (An “Unauthenticated User” is a website visitor that has not logged in). ![]() 5. Select where on the Menu your Page should be listed. By default, your new page will appear on the menu just like the “Home” page. If you would like for it to appear in a dropdown menu, you can select the page you would like for it to appear beneath. ![]() ![]() 6. When you have finished with these steps, scroll to the bottom of the page and click Update to save your changes! ![]()
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
| |||
| When implementing ASP.NET AJAX in your DotNetNuke module, you will usually discover that calling web services from your client-side code is an efficient method for accessing data because the web services can also be used by other programs, allowing you to reuse the code. The problem with this strategy is that the web services need to be secured and you do not want to transmit unencrypted passwords over the network. Simply encrypting the passwords is not enough because the username / encrypted password combination can be captured with a packet sniffer or retrieved from the web browser cache and used to access the web service. The Solution
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
| |||
| Using the IWeb module you can easily create secure web services. Download and install IWeb Download and install IWeb from IWeb Website > Home. It will create files in a IWeb directory in the App_Code folder: ![]() and in a IWeb directory in the DesktopModules folder: ![]()
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
| |||
| When you place an instance of the module on a page in your DotNetNuke site, you will see the IWeb main screen that provides links to the sample web services client as well as a link to the IWeb configuration page. ![]() Clicking Edit IWeb Configuration will take you to the IWeb configuration screen. ![]()
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
| |||
| In Visual Studio 2005 (or Visual Web Developer Express), right-click on the IWeb folder under the App_Code directory ![]() and select Add New Item. ![]() Select Class for the template and add your web service method |
![]() |
| Thread Tools | |
| Display Modes | |
| |
LinkBacks (?)
LinkBack to this Thread: http://www.discussweb.com/asp-asp-net-programming/5300-dotnetnuke.html | |||
| Posted By | For | Type | Date |
| DiscussWeb IT Community - Technical Support and Technology Discussions | This thread | Refback | 02-25-2008 11:40 PM |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Explain DotNetNuke Multiple Portal Method | oxygen | C# Programming | 1 | 07-23-2007 01:15 AM |
| DotNetNuke | econwriter5 | ASP and ASP.NET Programming | 2 | 04-24-2007 10:57 PM |