Question

based on the solution here: Entering values into database from 'unlimited' dynamic controls

i could successfully create dynamic asp.net controls at runtime. so if the user enters 10, it displays 10 textboxes and if the user enters 50 it displays 50. so far it's good. but 50 textboxes would make the page very lengthy.

how should i display the textboxes side-by-side? is paging a good idea?

Was it helpful?

Solution

A scrollable div would be a better option.

Render all the textboxes as children of a div with fixed height and width and set oveflow property to auto.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top