Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Adding a link to a control
Previous Previous
 
Next Next
New Post 9/10/2008 3:23 PM
Unresolved
User is offline Waqar Sadiq
1 posts
10th Ranked


Adding a link to a control 

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/14/2008 10:15 PM
User is offline Prashant Lakhlani
33 posts
10th Ranked


Re: Adding a link to a control 

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

 

 

       

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Adding a link to a control
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


"SalarO" Skinning Graphic Design Branding Services
SalarO develops packaged & custom skins for your DNN at prices you can afford. SalarO is also developing Module development, Hosting, Branding/Logo design as well as Content Transfer Services to complement the core skinning solutions.
www.salaro.com
Data Springs Inc. - Module Development
Data Springs is a leader in the DNN community offering high quality modules, custom module development, enhancements to the DNN core product and overall DNN support.
www.datasprings.com
XCESS expertise center b.v.
Custom made modules and complete solutions for the DNN framework. Maatwerk modules en complete webtoepassingen gebaseerd op het DNN framework.
www.xcess.nl

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP