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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListUDT Default Sort not SavingUDT Default Sort not Saving
Previous
 
Next
New Post
10/17/2006 12:10 PM
 

settings are stored using the framework, they do not need sprocs in its data provider

sort settings are stored in table TabModuleSettings table, valid keys for sorting are UDT_SortField (fieldID) and UDT_SortOrder ("ASC", "DESC")


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/17/2006 12:33 PM
 
I just checked on another server and had no issues with sorting. please check the installation log for the module upgrade - and maybe it helps to delete exisiting setting entries in moduleSettings and tabmoduleSettings tables.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/17/2006 12:42 PM
 
leupold wrote

settings are stored using the framework, they do not need sprocs in its data provider

sort settings are stored in table TabModuleSettings table, valid keys for sorting are UDT_SortField (fieldID) and UDT_SortOrder ("ASC", "DESC")



Okay.  I can see that the values are indeed getting saved to the DB now.  The field that I want to sort by is ID = 1.  Here is what I see in the table.

UDT_Paging - (empty)
UDT_RenderingMethod - DataGrid
UDT_sortfield - 1
UDT_sortorder - ASC
UDT_UsedCssClasses - UDT
UDT_XslPreDefinedStyleSheet - ~/DesktopModules/UserDefinedTable/XslStyleSheets/BasicTable.xsl
The UDT contains numerous rows of contacts where the first field (Name, ID = 1) is the last name and first name, separated by a comma.  When I think that I have saved the sort, there is a name "Clayton" that continues to appear as the first name in the list and then a name "Crafton" that continues to appear at the bottom of the list.  When I attempt to add another row to test out the sort (just in case those records are not any good for some reason), the new name appears at the bottom of the listing.

Here is what the Name column info looks like:

FieldTitle - Name
Visible - True
FieldOrder - 0
FieldType - String
Required - False
I am unsure of what else to check to get this to work right. 

Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
10/17/2006 1:38 PM
 

1. in ascending order, Clayton shoud be preceeding Crafton

2. try to rename the column, maybe "Name" conflicts with a reserved word

3. it might be, that new rows are allways added at the bottom and get in correct order only on requery.

4. be careful with sorting and paging - there is an issue in the paging control

5. ensure, that module caching is set to 0 in module settings.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/17/2006 2:48 PM
 
leupold wrote

1. in ascending order, Clayton shoud be preceeding Crafton

2. try to rename the column, maybe "Name" conflicts with a reserved word

3. it might be, that new rows are allways added at the bottom and get in correct order only on requery.

4. be careful with sorting and paging - there is an issue in the paging control

5. ensure, that module caching is set to 0 in module settings.



1. Agreed.

2. Renamed it to "Teacher Name" and "Teacher" and received the same result both times.

3. This may be correct.  The sort has always worked when clicking the column names, but not on initial page load.

4. I saw that post.  :)  Thanks.

5. It is.

Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListUDT Default Sort not SavingUDT Default Sort not Saving


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