Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! (Pro...  Just a heads up - LinqThings4Sale Tutorial
Previous Previous
 
Next Next
New Post 6/28/2008 9:24 AM
User is offline Paul Sellers
270 posts
9th Ranked


Just a heads up - LinqThings4Sale Tutorial 

Came across this while following the LINQ tutorial created by Michael Washington:

If you paste in this code from the website

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

using DotNetNuke;
using DotNetNuke.Security;
using LinqThings4Sale;

namespace DotNetNuke.Modules.LinqThings4Sale
{
  public partial class Categories : DotNetNuke.Entities.Modules.PortalModuleBase
    {
      protected void lnkBack_Click(object sender, EventArgs e)
      {
      Response.Redirect(Globals.NavigateURL(), true);
      }
    }
}

 

You will need to add

using DotNetNuke.Common; or you will get an error ("The name GLOBALS does not exist in the current context) when building the page.

Paul

 
New Post 6/29/2008 9:02 AM
User is offline Mitch Sellers
5719 posts
www.mitchelsellers.com
3rd Ranked




Re: Just a heads up - LinqThings4Sale Tutorial 

Good catch, I'm sure Michael Washington will see this and update accordingly.


-Mitchel Sellers
MCITP, MCPD, MCTS
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Consulting Quotes, and DNN Technical Support Services

I reccomend 3Essentials for shared hosting and BaseCamp for project management
 
New Post 6/29/2008 10:35 AM
User is offline Michael Washington
2848 posts
ADefWebserver.com
5th Ranked










Re: Just a heads up - LinqThings4Sale Tutorial 
Modified By Michael Washington  on 6/29/2008 1:35:28 PM)

Grr The example availiable for download is correct and has that line in there. It must have "dissapeared" somehow when I posted the example. I will fix it today.



Michael Washington
* ADefWebserver.com
* DNN Module Developer's Guide
* IWEB - DNN Web Services
* Silverlight and DotNetNuke
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! (Pro...  Just a heads up - LinqThings4Sale Tutorial
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


TMA Resources
TMA Resources is a software company providing eBusiness solutions for the Association market.
www.tmaresources.com
DotNetNuke Hosting Provider UK
UK leading DotNetNuke Hosting provider. Owned and operated by a Microsoft Gold Certified Partner.
www.DNN-Portals.co.uk
Alliance Systems & Programming Inc
Alliance is not just our name... it's how we do business. We partner with our clients, learning their business processes and standards and then applying our expertise to help them improve their workflow and profitability.
www.Alliancesys.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP