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 ListSample XSL for PagingSample XSL for Paging
Previous
 
Next
New Post
11/14/2006 7:38 PM
 
UDT Gurus,

I am loving the new UDT. I am in the process of checking out the new XSL rendering and I was wondering if there was some sample code on creating paging at the bottom of the results. The CardView is nice but only works with small numbers of rows. Any chance you point me in the right direction of getting that working?

Shane
 
New Post
11/15/2006 1:40 AM
 

Shane,

I am lucky that I was able of fixing the paging inside data grid for UDT3.3.7 (tx to Richard for helping). The xsl doesn't support the paging control so you would need to code your own. As you are not able to access the querystring or viewstate content inside your script it is not easy at all.

I think you have 3 ways to go:

  • Write your own paging using javascript.
  • Change the udt module to enable the current paging control for xsl
  • Change the udt module to support querystrings and write your own xsl to render a paging control

The third option is maybe the easiest. UDT3.3.7 is going to support one query string parameter, its value will be added as xsl argument to the script. This could be your current page...

 
New Post
1/18/2007 8:54 AM
 
I am in the process of of researching how I can add paging to my XSL.
I have a pretty nice XSL with Javascript that Toggles (open/closed) the Visibility of the Body of a message when you click on the Header. One problem that I would like to solve is the "Pageing Issue".

You mentioned "Write your own paging using javascript."
How Exactly would you do this? or does anyone have an Example of how this can be done.

I like the idea of adding a querystring to XSL to help render a paging control, but in the mean time I need something that will work now.

Any help?
 
New Post
1/18/2007 11:48 AM
 

I would not write paging using javascript  as I know my javascript skills.

But if I would need to, I would go this way:

Think of a UDT with 100 rows, and you want to page per 10 records.

I would return 10 html tables using XSLT, but only the first one will be visible. In the footer I would add a next/prev link that executes a javascript function that switches the visibility of each html table.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListSample XSL for PagingSample XSL for Paging


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