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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsAdding Event CodeAdding Event Code
Previous
 
Next
New Post
3/19/2013 10:35 AM
 

Thanks, I'll look into that.

Have one more problem now!!

Created a form: http://www.elycity.co.uk/thingstodo.aspx, the fields are not wired up yet, click add event and im getting an object not set to reference.

The event viewer is showing:

 

AssemblyVersion: 7.0.3

PortalID: 0

PortalName: The City of Ely Website

UserID: 3

UserName: Facebook-567221822

ActiveTabID: 86

ActiveTabName: Things to do

RawURL: /thingstodo.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://www.elycity.co.uk/thingstodo.aspx

UserAgent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID: 69343d43-68e5-48ec-be0f-a8f5ceea3e39

InnerException: Object reference not set to an instance of an object.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: Categories.Events.AddEvent

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Categories.Events.AddEvent() at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Source:

Server Name: WEBSERVER


 

This is my first attempt at building module but all that is happening is:

Protected Sub btnAddEvent_Click(sender As Object, e As EventArgs) Handles btnAddEvent.Click
            AddEvent()
        End Sub

Works on my development environment fine using v4 .Net Integrated. Everything same but different reults :(


Mark Cooney
Programmer
Ely, Cambridgeshire
07767150058
CambsCreative
mark@cambscreative.co.uk

Visit Ely City Website
 
New Post
3/19/2013 11:35 AM
 
Sorry, probably not best place to post your module build problems, and I'm not best placed to answer them, because I don't know....

Probably worth posting here - http://www.dotnetnuke.com/Resources/F...


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
3/19/2013 2:46 PM
 
Roger

Have you got a starting point for returning a list of events please?

If you want to see my simplified form in action www.elycity.co.uk/thingstodo

Mark Cooney
Programmer
Ely, Cambridgeshire
07767150058
CambsCreative
mark@cambscreative.co.uk

Visit Ely City Website
 
New Post
3/19/2013 2:59 PM
 
To be honest why not use the list view of the module, you can cut it down to a very simple look using the templating.

In the end, if you don't want to use the module for input or output, why not design your own table with exactly what you need in it?

The main data fetch sproc is EventsGetByrange.

Cheers
Roger

DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
3/19/2013 3:00 PM
 
Ah, I see you are using the month view. Have a look at this - http://dnnevents.codeplex.com/wikipag... or this http://dnnevents.codeplex.com/wikipag...

DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsAdding Event CodeAdding Event Code


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