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  |  

PortalWebHosting
  Ads  
 


  Sponsors  

Meet Our Sponsors

Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
 


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
1553 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
1553 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.

 


TronixSoft
Hosting for local businesses that want more from their websites.
www.TronixSoft.com
The Forerunner Network
The Forerunner Network consists of a group of Dynamic Website & Interactive Membership Portal hosting services that are managed by Forerunner Communications. Our services span a wide range of markets and enable individuals, organizations and businesses to build and manage dynamic, interactive portals and websites.
The Forerunner Network
ZLDNN.COM
We provide commercial DotNetNuke modules.
www.zldnn.com

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