I have developed a module that is basically a simple data capture form. As I need the form to work with JavaScript disabled, to submit the form I use a simple
button.
With JavaScript enabled, the form submits beautifully. With it disabled, upon pressing the button, I get the following exception:
Can anyone help? Should I be able to use a submit button in this way? Please help!
AssemblyVersion: 5.1.4
PortalID: 0
PortalName: Commonwealth Foundation
UserID: 1
UserName: host
ActiveTabID: 208
ActiveTabName: Test
RawURL: /commonwealth/Test/tabid/208/language/en-US/Default.aspx
AbsoluteURL: /Commonwealth/Default.aspx
AbsoluteURLReferrer:
http://localhost/commonwealth/Test/...fault.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 6abc36e2-f2cd-4dc2-ac4d-f161248f8b3c
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.UI.Containers.ActionButtonList.get_ModuleActions
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 DotNetNuke.UI.Containers.ActionButtonList.get_ModuleActions() at DotNetNuke.UI.Containers.ActionButtonList.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---