Vidds wrote:
Thanks for the reply Craig .But if you can elaborate more on the solution it
would be great.
Regards
Vidds
Here's a quick example starting down those lines, here's the type of
HTML you want spit out by a control:
<div style="width:20 0px; height:100px; overflow:auto;" >
<SELECT size="4">
<OPTION
Value="1">blahb lahblahblahblah blahblahblahbla hblahblahblah</OPTION>
<OPTION Value="2">2</OPTION>
<OPTION Value="3">3</OPTION>
<OPTION Value="4">4</OPTION>
</SELECT>
</div>
so in essence I'd recommend creating a composite custom control for
this, which renders this HTML. They're pretty easy to make, Google on
the terms 'composite control asp.net'.
The toughest part will be matching up the div dimensions to that of the
select box, to make the scrollbars work/line up properly. That's why
it's kinda tricky.
--
craig
Microsoft MVP - ASP/ASP.NET