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  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  User Defined Ta...  Moving a Record's Order Up or Down
Previous Previous
 
Next Next
New Post 5/25/2008 11:26 PM
User is offline ajsansone
183 posts
www.graphicsphere.net/
9th Ranked


Moving a Record's Order Up or Down 
Modified By ajsansone  on 7/6/2008 2:11:09 PM)

I received an email from one of my website users recently saying that they are willing to do a trade for a higher up spot in the UDT Records. That sounds like a great new feature, to be able to move a record up or down like you can with the UDT Columns.

I want to include an up arrow and down arrow next to the edit icon (blue pencil) in the XSL file that would be visible only to the administrator? Will my sorting method have to be changed from "Created at" in Ascending Order to a new hidden column? I might be thinking to heavily... so when you select the up or down arrow the order number of the record changes simultaneously with all other record numbers, right? How does the order number of Columns work like that?


Anthony John Sansone
Graphicsphere.Net, President
Palm Harbor, Florida, U.S.A.
http://www.graphicsphere.net
View Anthony J. Sansone's profile on LinkedIn
 
New Post 5/26/2008 3:24 AM
User is offline Stefan Cullmann
1551 posts
5th Ranked








Re: Moving a Record's Order Up or Down 

Changing Sorting of a list that way would require a lot of changes to the module.

One work araound: Add a new (invisible) column Sort Order, datatype integer (or string). Apply sorting for this column, and add values inside to sort for.

 


Stefan Cullmann - stefan.cullmann [at] dotnetnuke.com
form and List will be the successor of the User Defined Table module.
----------------------------------------------------------------------
Do you want to import external data to form and List /User Defined Table?
Check out http://www.codeplex.com/Csv2UDTImport
 
New Post 5/26/2008 8:17 PM
User is offline ajsansone
183 posts
www.graphicsphere.net/
9th Ranked


Re: Moving a Record's Order Up or Down 
Modified By ajsansone  on 5/29/2008 12:56:03 AM)

Is there a way to add an expression to the invisible column's default value that adds a +1 integer to the highest Sort Order Integer? Right now I'm getting away with setting the default value to 0 and all new records that users create seems to be sorting the way I want.


Anthony John Sansone
Graphicsphere.Net, President
Palm Harbor, Florida, U.S.A.
http://www.graphicsphere.net
View Anthony J. Sansone's profile on LinkedIn
 
New Post 5/27/2008 12:57 PM
User is offline Stefan Cullmann
1551 posts
5th Ranked








Re: Moving a Record's Order Up or Down 

no, each row is independend.


Stefan Cullmann - stefan.cullmann [at] dotnetnuke.com
form and List will be the successor of the User Defined Table module.
----------------------------------------------------------------------
Do you want to import external data to form and List /User Defined Table?
Check out http://www.codeplex.com/Csv2UDTImport
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  User Defined Ta...  Moving a Record's Order Up or Down
 


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.

 


Live Visitor Tracking & Live Chat For DotNetNuke
Track your visitors in real time and add live chat for sales & support. Free Trial.
www.whoson.com
SINA101
WANT A SPECial sIte iN TAIWAN?
sina101.com
Web Development and Strategy Firm
The Risdall Interactive Agency s websites, strategies, branding, & promotion in digital space.
www.Risdall.net/

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