change source record list line count at run time

change source record list line count at run time

  
Hello,

I need to show a list without paging.

Is there a way to disable the paging on a source record list? One solution would be to put the line count property to a very high value, but isn't there a more elegant way?

Thanks,

Kurt
Hy Kurt,

did you try to delete the RichWidgets\List_Navigation web block that is under that record list?
Hi Kurt,

You can set it to the query list length/Count.
Please notice that the query may also have a MaxRecords limit that (in your case) must be empty.

Regards,
HD
Hélio Dolores wrote:
Hi Kurt,

You can set it to the query list length.
Please notice that the query may also have a MaxRecords limit that (in your case) must be empty.

Regards,
HD
 
Unfortunately I have to contradict myself...
The optimizer uses this value to optimize the own query... so you will have to use a very big number.
There are other solutions, but much uglier :)

Regards,

HD

Hi Dolores,

I was able to use your method on 2 of my tables, but on a third one I get:

Error details:
Cannot compute Count for a data source that does not implement ICollection.

All 3 get their data from advanced queries. I don't see any difference in the properties of the query nor the source record list on screen.
For the moment, I solved it by putting a very high value.
Any idea what the above message could mean?
Hi Kurt,

I'm actually looking on it. This is an internal .Net error that happens when we have a table with line count = 0.
To avoid that it is better to keep with a very high value.

This should be fixed soon.

Best regards,
HD