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

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Having trouble navigating to my "Edit" page in DNNHaving trouble navigating to my "Edit" page in DNN
Previous
 
Next
New Post
11/6/2009 3:00 PM
 

I'm new to DotNetNuke module development and am currently working on a module. I've got it installed on my local testsite and it loads. What I'm trying to do is have a button that says "Add Idea" and when clicked it will take them to the "CreateIdea.ascx" page that I have created.

In the setup controles for my module, I have set the key to "Edit" and asigned this control to my "CretaeIdea.ascx" page.

In the code for the click event for the cmdAdd button I have tried many things from: (the code I'm using is VB.NET)

Response.Redirect(editURL())

to:

Response.Redirect(DotNetNuke.Common.Globals.NavigateURL(TabId, Me.PortalSettings, "", EditUrl()))

And everything I could think of inbetween.

When I just use: Response.Redirect(editURL()) I get the follow error on the page:

A critical error has occurred.
Object reference not set to an instance of an object.

With some of the other code I used, the times I didn't get an error the button took me to a blank page with nothing on it. Seeing as my CreateIdea.ascx does have items on it, I determinded that I wasn't in the right location.

Please ask any questions and I'll do my best to answer them, any help you can provide will be apprisiated. :)

 
New Post
11/9/2009 10:45 AM
 

Also... I get the same error message when I click on the drop down menu for settings...

I think that there is something thta I have done wrong in my application. :S

 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Having trouble navigating to my "Edit" page in DNNHaving trouble navigating to my "Edit" page in DNN


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