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.0Adding a link to a controlAdding a link to a control
Previous
 
Next
New Post
9/10/2008 5:23 PM
 

Hello,

I am developing a DNN module in C#.  I would like to add a link in the fotter section of the module, in view mode, to another control.  This is very similar to the link "Add Content" that shows up in the edit mode.  I have added a module action to ModuleActions getter.  I have added the following statement.

 

 

Localization.GetString(AuctionModuleActionType.ListItem, this.LocalResourceFile),AuctionModuleActionType.ListItem, "", "", listItemUrl, false, DotNetNuke.Security.SecurityAccessLevel.View,true, false);

Can anyone please tell me how I can make the link apper in view mode.  Some sample code would be very helpful. Thanks.

 

actions.Add(GetNextActionID(),

 
New Post
9/15/2008 12:15 AM
 

Hi Waqar,

    i think there is an easier way,

   do this:

   1] if the control you want to display is an edit control and does the editing operation for your module, add that control as Edit type of control and you can simply use Edit(NavigateUrl(tabid)) to go to your control. write this statement in the link button click event and add a link button to your view control

  2] when you create an entry of your control in module definition, add a key to your control. And use that key to naviget to that control, it would do like : NavigateUrl(tabid,"controlkey","other url paras or String.Empty"

3] another option is : http://www.codeproject.com/KB/aspnet/DOTNETNUKE_NAVIGATION.aspx

hope this helps

 

 

       


Find out code snippets, tutorials and How Tos' about dotnetnuke at lakhlaniprashant.blogspot.com Umlimited wedding planning tips, free wedding websites and more at http://www.FirstPhera.com an indian dotnetnuke portal dedicated to wedding planning!
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Adding a link to a controlAdding a link to a control


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