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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Action button in container...Action button in container...
Previous
 
Next
New Post
3/1/2008 3:43 AM
 

Hello,

I'm wondering if there's a delete action button already integrated into DNN container. I think using that button will be more convenient than selecting "Delete" from the Actions Menu.

Thanks.

Duc

 
New Post
3/1/2008 9:50 PM
 

anyone?

 
New Post
3/2/2008 4:06 PM
 

In an HTML container:
Add something like [ACTIONBUTTONS:2] where you want the button...
... and add the following to the container.xml file:
 <Object>
  <Token>[ACTIONBUTTON:2]</Token>
  <Settings>
   <Setting>
    <Name>CommandName</Name>
    <Value>DeleteModule.Action</Value>
   </Setting>
   <Setting>
    <Name>DisplayIcon</Name>
    <Value>True</Value>
   </Setting>
   <Setting>
    <Name>DisplayLink</Name>
    <Value>True</Value>
   </Setting>
  </Settings>
 </Object>

For ASCX container add: 
<%@ Register TagPrefix="dnn" TagName="ACTIONBUTTON2" Src="~/Admin/Containers/ActionButton.ascx" %> to the top of the container and add
<dnn:ACTIONBUTTON2 runat="server" id="dnnACTIONBUTTON2" CommandName="DeleteModule.Action" DisplayIcon="True" DisplayLink="True" />
where you want the button at.

 
New Post
3/3/2008 6:58 AM
 

Thanks man!

 
New Post
3/3/2008 7:19 AM
 

I'm guessing it worked how you wanted?  
If it worked, you're welcome.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Action button in container...Action button in container...


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