CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.dotnetnuke.custom_modules Tags:
Item Type: NewsGroup Date Entered: 8/5/2005 11:10:58 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 19 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
ozonic
Asp.Net User
AddAction EditURL8/5/2005 11:10:58 AM

0/0

What is the best way to create a new action - that points to a differant file - not the standard moduleEdit.ascx!

matchbx27
Asp.Net User
Re: AddAction EditURL8/5/2005 1:02:58 PM

0/0

If you are using the templates from DNNJungle this property is already in place if not you'll have to create it.

Public ReadOnly Property ModuleActions() As Entities.Modules.Actions.ModuleActionCollection Implements Entities.Modules.IActionable.ModuleActions
 Get
         'Dim Actions As New Entities.Modules.Actions.ModuleActionCollection
                Actions.Add(GetNextActionID,
   Localization.GetString("SomeActionName.Edit", LocalResourceFile),
   Entities.Modules.Actions.ModuleActionType.AddContent,
   "", "", EditUrl("SomeEditFileKeyName"),
   False, DotNetNuke.Security.SecurityAccessLevel.Edit, True, False)

  Return Actions
        End Get
End Property


If you are using Localization then you will put "SomeActionName.Edit" in the Localization file along with a Value.

The String Value inside EditURL() will be the Key as defined in your Module Definitions.

Good Luck.


matchbx
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
VarEDITACTION < TWiki < SysBorg ... Raw buttons simply add ;action=text or ;action=form to the URL for the edit script. ... or ;action=text from the edit URL in the browser and reload. ...
InfoQ: Migrating to Struts 2 - Part III In our case we want to obtain the value of the generated edit URL. You may have noticed that .... Add a new entry ...
Talk:Eliminating index.php from the url - Meta If I try, the edit URL looks something like this: ... Add "action=purge" to your URLs if you changed LocalSettings.php and the pages haven't changed For ...
Talk:Main Page/Archive 1 - SmashWiki [edit] URL. www.smashwiki.com brings you to a blank page with "Nothing to ..... You can add "?action=purge" to the end of the address to refresh the cache. ...
Developer Ramblings - Tips and Traps in Web Development AddContent, "", "", EditUrl("Edit"), false, DotNetNuke.Security. ... putting the correct ModuleActionType - AddContent in the third parameter of AddAction. ...
Multiple Edit Controls in DotNetNuke (DNN) Jan 14, 2008 ... AddContent, "", "", EditUrl("Edit"), false, DotNetNuke. ... the correct ModuleActionType - AddContent in the third parameter of AddAction. ...
Docs For Class DataGrid 20 $dg->setAddUrl ('/index/user-add-action'); 21 22 echo $dg->draw (); .... { ...
Action Menu PA Links not working! - ASP.NET Forums If you set it to true (or if no URL is specified in the Add Action method), ... Add(GetNextActionID, "Edit", "", URL:=EditURL(ControlKey:="Edit"), ...
Koders Code Search: PortalModuleBase.ascx.cs - C# Hidden)] public string EditUrl(string KeyName, string KeyValue, .... Add(action) ; } } } //Make sure the Next Action Id counter is correct int actionCount ...
Palivoda IT Solutions » Blog Archive » HABTM with multiple select ... Next we have to add action to the controller to read and save our ... Now you should be able to see list of countries at the /preferences/edit url, ...




Search This Site:










checking for white spaces

gridlayout or flowlayout?

i feel like i'm taking crazy pills....

visual studio won't regenerate designer.cs class...

need help finding a module!!!

(probably 1,000,xxx) data provider question - somewhat ot

file read/write and syncronization

the remote certificate is invalid according to the validation procedure

catalook questions: discounts

version information

installation problems

where is the visual layout?????????

login mechanism broken by beta 2.

login status error

difference b/w wpf, wcf & wwf

no interface

how to make a page break during the printing ?

registration benefits for express editions?

multiple languages if help is needed

if condition

anyone written their own menu control in vb.net ?

asp.net 2.0 themes

adverageous forums 1.0

seabury video series - blog settings not showing up

unable to use code-behind feature

pulling data from a database to put into a variable

restarting iis 6.0 automatically

calculation problem

dynamically generate controls

check your vs.net and framework versions

 
All Times Are GMT