10462 : I have a large grid in my GanttAsp with about 2500 rows. If I have a row-height of about 22px this gives me a total height of 55000px…

Question

I have a large grid in my GanttAsp with about 2500 rows. If I have a row-height of about 22px this gives me a total height of 55000px…
The problem is that the maximum height seems to be 32767px (2^15-1)!
When I try to set a larger height i get the message “Specified argument was out of the range of valid values. Parameter name: value”

Is there some workaround for this or do I have to live with it?

Thanks a lot

Answer

Actually we had another client with the exact same problem earlier and we introduced a fix that is available in the latest patch:

Gantt_ASP.HeightExtreme = The Height for a server side control is given in the Unit type. This type is limited to 32767 To overcome this restriction set HeightExtreme to a positive value that is your desired height in pixels.

Leave a Reply