DMXzone Database Connector PHP Support Product Page

Not a problem

Show/Hid Paging controls works inconsistently (sometimes they show, sometimes they don't)

Reported 15 Jul 2015 20:57:48
1
has this problem
15 Jul 2015 20:57:48 Jake M. posted:
I have a page that is using HTML 5 data bindings with paging (showing and hiding the paging buttons accordingly) and a drop-down to set the results-per-page.
Sometimes, the paging doesn't work. The page will load, but the active paging buttons aren't there - as if there were no more pages to navigate. If I use the drop-down to change the number of items per page, it'll activate the paging buttons, or if I reload the page, most of the time it'll work. But it's so inconsistent yet frequent enough that it'll be a problem if I make this page live.

It seems like what's happening is it shows/hides the paging buttons before it knows that there's more pages to be shown. It's completely random. Sometimes it'll work a few times in a row, sometimes it'll fail a few times in a row. Any help would be appreciated.

Replies

Replied 16 Jul 2015 07:45:02
16 Jul 2015 07:45:02 Teodor Kuduschiev replied:
Hello Jake,
It seems you did something wrong. The show/hide either works or not - it is not possible sometimes to work and sometimes not. Please provide a link to your page where we can check it.
Replied 16 Jul 2015 14:16:00
16 Jul 2015 14:16:00 Jake M. replied:
I think I figured this one out - I had both the Page Size in the repeater and the Max Records per page in the data source set to the drop-down select - when this was set, it would be hit-or-miss. When i set the max-records to an actual number and the page size in the repeater to the drop-down, it now seems stable.

I'd struggled with this one for a while before reaching out... seems like I figure these things out only after hitting up support! Thanks!
Replied 16 Jul 2015 21:44:47
16 Jul 2015 21:44:47 Jake M. replied:
Spoke too soon on this - it's still a problem.
Can I send you the link privately so you can see what I'm looking at?
Replied 17 Jul 2015 07:03:56
17 Jul 2015 07:03:56 Teodor Kuduschiev replied:
Please send me the link to
Replied 21 Jul 2015 06:33:54
21 Jul 2015 06:33:54 Teodor Kuduschiev replied:
I've checked our page. You should not filter both - the data source and the repeat region.
Better remove the filter from the repeat region and only use the filter for the Data Source. It should be working just fine.

Reply to this topic