Login
Register
11-03-2010

Resources for the DotNetNuke Community


Support this site

  Support forums  

You need to be logged in in order to post to this forums.
SearchForum Home
  DotNetNuke Development  HelloWorld Tutorial  MinMax Persiste...
 Re: MinMax Persistence
 
imgOfflineMuhammadAzam
1 posts
Joined
8/22/2006

Re: MinMax Persistence
Posted: 22 Aug 06 9:34 AM
Hello

I am converting a module from DNN2.x to DNN3.x I have successsfully upgraded the module and every thing was working fine. Then I changed some javascript code in module's ascx file when i uploaded the module again i get this error message "MinMax persistance type of cookie requires a ModuleId" i have tried all the above solutions but still i am getting the same message.

surprisingly the error is not occuring if i donot make any change in module's acsx file.

please help!!!
imgOfflinekeiyia
1 posts
Joined
4/29/2007

Re: MinMax Persistence
Posted: 28 Apr 07 3:38 PM

What worked in C# for me was

<asp HyperLink NavigateUrl='<%# EditUrl("ItemID", ((int)DataBinder.Eval(Container.DataItem,"ItemID")).ToString()) %>'Visible="<%# IsEditable %>" runat ="server" ID="HyperLink1">

Note: I hade to change EditURL to EditURL, then parse the string to an int, then cast it ToString(). This finally worked. I did not add the MyBase... code in Intialize().
  DotNetNuke Development  HelloWorld Tutorial  MinMax Persiste...
© Vicenç Masanas Terms Of Use Privacy Statement   
.