Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Design-time DataList 5 items

Reply
Thread Tools

Design-time DataList 5 items

 
 
Frederic Goulet
Guest
Posts: n/a
 
      02-20-2004
Is there any known workaround to make the DataList display less than 5 items
at design-time?

Thanks

Frederic Goulet


 
Reply With Quote
 
 
 
 
Ken Cox [Microsoft MVP]
Guest
Posts: n/a
 
      02-21-2004
Salut Frederic,

Au lieu de « datalist », voulais-tu dire « listbox »? Si oui, t’aurais
juste à changer la valeur de la property Rows. Essaie donc, 3.

Rather than “datalist”, did you meant “listbox?” If yes, you just have to
change the Rows property to the number of lines. You might try 3.

Ken
Microsoft MVP [ASP.NET]
Toronto



"Frederic Goulet" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Is there any known workaround to make the DataList display less than 5
> items
> at design-time?
>
> Thanks
>
> Frederic Goulet
>
>


 
Reply With Quote
 
 
 
 
Frederic Goulet
Guest
Posts: n/a
 
      02-22-2004
Hi Ken,
No, I really meant the DataList control in the WebControls namespace. Every
time you drop one of those on a web form, the designer display a 5 items
sampling (or rows) and it could be very annoying at design-time. A "Rows"
property would come very handy but this control unlike the ListBox control
work only when bound to a DataSource.

Thanks anyway

Frederic

P.S.: Your french is excellent!

"Ken Cox [Microsoft MVP]" <(E-Mail Removed)> a écrit dans le
message de news:OntRq%23C%(E-Mail Removed)...
> Salut Frederic,
>
> Au lieu de « datalist », voulais-tu dire « listbox »? Si oui, t’aurais
> juste à changer la valeur de la property Rows. Essaie donc, 3.
>
> Rather than “datalist”, did you meant “listbox?” If yes, you just have to
> change the Rows property to the number of lines. You might try 3.
>
> Ken
> Microsoft MVP [ASP.NET]
> Toronto
>
>
>
> "Frederic Goulet" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Is there any known workaround to make the DataList display less than 5
> > items
> > at design-time?
> >
> > Thanks
> >
> > Frederic Goulet
> >
> >

>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Menu Items and Child Menu Items Larry Bud ASP .Net 13 01-07-2008 02:12 PM
Looping through CheckBoxList items doesn't pick up selected ones when items were disabled Bart Van Hemelen ASP .Net 2 09-04-2006 08:35 AM
Setting up a datalist control - Item_DataBound for a datalist in a datalist Nevyn Twyll ASP .Net 8 09-09-2004 10:13 PM
Items in Outbox not moving to Sent Items Ben Lord Computer Support 0 10-23-2003 08:47 AM
grouping items among a list according to items subtag value Gilles Kuhn XML 0 09-15-2003 12:01 PM



Advertisments