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 ListUndesirable Behaviours with Search & Pagination EnabledUndesirable Behaviours with Search & Pagination Enabled
Previous
 
Next
New Post
7/31/2009 1:46 PM
 

I'm using form and List ver. 5.0.2. 

I have seen the following counter-intuitive/undesirable behaviours that may be related, and am hoping that someone can help me to work around them.

Pagination

Example 1: You access the details for a row from the 3rd page of a paginated list.  When you click on the back arrow to return to the list, instead of returning to the 3rd page you are returned to the 1st page. I would think you should be able to browse back and forth through the details of multiple rows without having to find the right page over and over again.

Advanced Search

Example 1: You access the details for a particular row from a search result.  When you click on the back arrow to return to the list, instead of returning to the search result, you are retuned to the list (1st page if pagination is enabled) with no history of the original search. I would think you should be able to browse back and forth through the details of multiple rows in your search result without having to recreate the search over and over again.

Example 2: You access the details for a particular row from a search result. Within the details view the advanced search interface remains at the top of the record however it will not perform a new search on the previous list (i.e. it will not return you to the list view with new results), it will only perform a search on the particular record that you are viewing in detail view, and show or hide the details depending on the search value entered. I would think that either the search interface should be hidden in the detail view or it should perform a search on the original data, not the one result that is displayed in detail view.

I look forward to feedback from the group.

 
New Post
7/31/2009 6:57 PM
 

Both issues are by design. .Net uses view_state, and view_state does not supports nvigation in history.

Pagination in datagrid uses view_state instead of querystrings. FnL uses the  paging control, which offers also an url mode. We used it in UDT til 3.4 in querystring mode, but it had other limitations, for example you can not have multiple paging controls on one page.

If you decide to render your list with an XSL script, it will use a XSLT based paging template which is based on query strings, not on view_state.

 
New Post
8/4/2009 5:17 PM
 

>> If you decide to render your list with an XSL script, it will use a XSLT based paging template which is based on query strings, not on view_state.

I believe that is what I am doing.  I have used the default "advancedtable" XSL Script. 

I have created a workaround for the issue of returning to a search result or master list page from the detail page by changing the back arrow code to be the Javascript back  ( history.go(-1)) but I can't see how to use paging and the search function at the same time (and they go toghether well as if you need one you usually need the other).

I have now noticed two other issues:

Search when not on page 1 of a paged list
I also noticed another issue that is very similar to the others I described in my intial post.  if you have a paged list (e.g. 8 pages) and you search from page 1, the search comprises all 8 pages of the list.  If you begin your search from another page (such as Page 2) I get no results and weird behaviours like the page is now listed as "Page 2 of 1" and then further down I see "First Previous 1" ("Next" & "Last" are greyed out).  This can't be "by design".

Search Results span more than 1 page
If I perform a search on a list and get back enough results that my results are paged, clicking to the "next" page wipes my search, and puts me on the next page of the complete list.  i.e. if I am on Page 1 of a 2 page search result, and click next, I am now on page 2 of 8 of the complete list.

I'm guessing that if I put my mind to it more issues would pop out.

The F&L module is amazing however if you have a large list the ability to combine the search and paging functionality is hugely valuable, and these behaviours from a useability perspective seem like major issues to me.

If you were me (and not a developer) how would ytou approach this problem to use "querystrings" if that is the issue here.  I can't imagine anyone would want to restrict the ability of a site users to browse through search results without having to reinitiate the search for every record.

I am a little stumped as to my next step.
 

 
New Post
8/5/2009 3:45 AM
 

You are right, I can confirm it as bug.

As search input is view_state and paging is using querystring, this doesn't work together.

 
New Post
8/5/2009 11:23 AM
 

Thanks Stefan.

Guess that's that until a future release.  Is there anything more you need from me in terms of formally submitting the bug or will you take it from here and (hopefully) try to get it adderssed in a future release?

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListUndesirable Behaviours with Search & Pagination EnabledUndesirable Behaviours with Search & Pagination Enabled


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