Using Javascript on the client side like:
document.getElementById('listboxid').size = N;
Using codebehind on server side like:
listboxid.Rows = N;
In both examples N denotes a positive integer. On the serverside Rows
defaults to 4, but you can change it.
On the serverside Height property denotes a height in any acceptable unit
(normally in pixels) that is set on the client side as CSS style.
--
RobertK
{ Clever? No just smart. }
"Angel" <> wrote in message
news:...
> How can I change the number of items that are seen without scrolling in
> DataList.
> I tried with changing DataList.Height but it does not seems to work.
>
> Thanks
> Angel
>
>
>
>
|