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.0Error in Shaun WalkerError in Shaun Walker's 4.3 StarterKit Tutorial
Previous
 
Next
New Post
11/14/2006 11:38 AM
 
I bet you were using VB too.  I am using C#, so that is probably the difference ;)
 
New Post
11/14/2006 3:52 PM
 

Yep- VWD/VB

Followed the instructions "by the book" and it worked perfectly. That's not to say that the widget has improved my life at all- just that I could get it done.

 



 
New Post
2/1/2007 1:11 PM
 
The following is my widgetInfo.vb BLL that was created using the DotNetNuke 4.0.0 Starter Kit and Templates tutorial. I added the CreatedByUserName property to this class and then tried to modify the getWidget stored procedure adding 'dnn_users.userName As CreatedByUserName' into the field listing. I then tried to populate the objWidget.CreatedByUserName property in the Page_Load event of ViewWidget.ascx.vb. At that point I recieved a runtime error after rebuilding and running the DNN instance so I remed everything out that I added and am ready to drive on with the bug. ' ' DotNetNuke® - http://www.dotnetnuke.com ' Copyright (c) 2002-2006 ' by Perpetual Motion Interactive Systems Inc. ( http://www.perpetualmotion.ca ) ' ' Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated ' documentation files (the "Software"), to deal in the Software without restriction, including without limitation ' the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and ' to permit persons to whom the Software is furnished to do so, subject to the following conditions: ' ' The above copyright notice and this permission notice shall be included in all copies or substantial portions ' of the Software. ' ' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED ' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL ' THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF ' CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER ' DEALINGS IN THE SOFTWARE. ' Imports System Imports System.Configuration Imports System.Data Namespace YourCompany.Modules.Widget ''' ''' The Info class for Widget ''' ''' ''' ''' ''' ''' ----------------------------------------------------------------------------- Public Class WidgetInfo ' local property declarations Private _ModuleId As Integer Private _ItemId As Integer Private _Content As String Private _CreatedByUser As Integer ' Private _CreatedByUserName As String Private _CreatedDate As DateTime ' initialization Public Sub New() End Sub ' public properties Public Property ModuleId() As Integer Get Return _ModuleId End Get Set(ByVal Value As Integer) _ModuleId = Value End Set End Property Public Property ItemId() As Integer Get Return _ItemId End Get Set(ByVal Value As Integer) _ItemId = Value End Set End Property Public Property Content() As String Get Return _Content End Get Set(ByVal Value As String) _Content = Value End Set End Property ' Public Property CreatedByUserName() As String ' Get ' Return _CreatedByUserName ' End Get ' Set(ByVal Value As String) ' _CreatedByUserName = Value ' End Set ' End Property' Public Property CreatedByUser() As Integer Get Return _CreatedByUser End Get Set(ByVal Value As Integer) _CreatedByUser = Value End Set End Property Public Property CreatedDate() As DateTime Get Return _CreatedDate End Get Set(ByVal Value As DateTime) _CreatedDate = Value End Set End Property End Class End Namespace
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Error in Shaun WalkerError in Shaun Walker's 4.3 StarterKit Tutorial


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