CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_web_developer_2005_express Tags:
Item Type: NewsGroup Date Entered: 7/3/2007 12:04:24 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 4 Views: 152 Favorited: 0 Favorite
5 Items, 1 Pages 1 |< << Go >> >|
mycwcgr
Asp.Net User
Can I set row height of Listbox?7/3/2007 12:04:24 PM

0

I hope to set row height of Listbox control, but I can't find the property. but I can find height property of RowStyle with GridView control!

How can I do?  Many thanks!


SuperCool Multiple ZIP - A utility to unzip multiple files and work with multiple zip files

SuperCool random number generator - random sampling, random selection, random name generator

Web Based Helpdesk, Customer Service, Customer Support Software
Mikesdotnetting
Asp.Net User
Re: Can I set row height of Listbox?7/3/2007 12:31:23 PM

0

 No, I'm afraid you can't.  There are only a few styles that can affect the html <option> element.  Line-height, padding or margins are not among them.


Regards Mike

8 out of 10 questions have already been asked. Their answers can be found using Google. Go on, try it.

If you prefer code samples or tutorials in another language, translate it for free at www.codechanger.com
Chris Pebble
Asp.Net User
Re: Can I set row height of Listbox?7/3/2007 12:32:11 PM

0

Nevermind. Misread the question.

Benson Yu - MSF
Asp.Net User
Re: Can I set row height of Listbox?7/6/2007 1:30:06 AM

0

Hi Chirs,

I don?t think Mikesdotnetting has misread the question. Base on my understanding, I understand that mycwcgr want to set height style for items in ListBox control, he want to set the style easily like the RowStyle in GridView control.

Actually, the items in ListBox control is the html ?option? element. There are only background-color and color styles that can affect the ?option? element. However, the GridView render to client is the table. Hence we can set the style (RowStyle) easily to effect the ?tr? element.

Just for your reference, I have included the articles for ?option? element and ?tr? element.

OPTION Element | option Object
http://msdn2.microsoft.com/en-us/library/ms535877.aspx

Except for background-color and color, style settings applied through the style object for the option element are ignored. In addition, style settings applied directly to individual options override those applied to the containing SELECT element as a whole.

TR Element | tr Object
http://msdn2.microsoft.com/en-us/library/ms535911.aspx

 


Sincerely,
Benson Yu
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Mikesdotnetting
Asp.Net User
Re: Can I set row height of Listbox?7/6/2007 6:27:50 AM

0

Benson Yu - MSFT:

Hi Chirs,

I don?t think Mikesdotnetting has misread the question.

 

I don't think Chris was saying that I misread the question.  I suspect he posted a reply, and then saw that he had misread it, so edited his reply. 


Regards Mike

8 out of 10 questions have already been asked. Their answers can be found using Google. Go on, try it.

If you prefer code samples or tutorials in another language, translate it for free at www.codechanger.com
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Word 2003 bible Authors: Brent D. Heslop, David Angell, Peter Kent, Pages: 869, Published: 2003
Rapid application development with Mozilla Authors: Nigel McFarlane, Pages: 770, Published: 2004
How to do everything with your iPAQ pocket PC Authors: Derek Ball, Barry Shilmover, Dayton Foster, Pages: 448, Published: 2006
The Unofficial Guide to Microsoft Office Word 2007 Authors: David J. Clark, Pages: 573, Published: 2007
Office 2007 for dummies Authors: Wallace Wang, Pages: 432, Published: 2006

Web:
Flash Components for Rich Internet Application Development ... In addition to the Windows lookalike listbox, the ListBox(Silver) component is ... Row Height Control From the Properties Panel, you can configure the height of ... Set Row Height --. Option Two. Option Three. Option Four. Option Five ...
How to change the row height in column listbox? - Developer ... I set large graphics (about 90x50 pixels) and large font (1000 twips in height) to column listbox but the row height still remains the same. ...
Visual Basic :: ListBox Row Height The Height of a Listbox with Checkboxes can be changed (during designtime) in units ..... I know I can set each individual row height using the following ...
How to set List Box/Combo Box row Height in MS Access/Office ... Anyone know how to set the height of rows that are displayed in List ... The odd thing is that you can adjust the height when you adjust the ...
Increase listbox row height and wrap text : text, wrap, listbox Can you tell me why? And if I do increase the width of th elistbox row will the ... Set the height in pixels of each entry in a ListBox or ComboBox control ...

New DLL in project - ng.asp-net-forum ... can i set row height of listbox? vwd and localization · strange problem · data not showing? css via master page not working in design mode ...






need to uninstall visual web developer 2005 express edition

compiling

problem in crystal report viewer control in vwd 2005

visual web developer 2005 ee no source controle ???

compiling dll in vwd?

how can display underline of text in button when mouse hover?

populate dropdown box

drag and drop - contentplaceholder - on the master page

difference between "visual studio 2005 professional" and "visual web developer 2005 express edition"

add web reference error message in visual studio 2005

install file vsi

ibm db2 & vwd

2nd loginview loses loggedin status when member clicks non-member link

external tools with vwd express

data store problem

develop apps for 1.1 using vwd

new express contest - $10,000 and all it takes to start is an idea...

changes in web site administration tool -> security or application raise error

please help. link doesn't work in vwd2005 express. neither does ctrl+f5.

sharing user controls across applications in .net 2.0

enough talk - where the heck is beta 2?

dreamweaver and vwd

visual web developer login / authentication

code page separation

search datagrid

vwd crashes every time i modify css file

hmmmm----how do it start up?!!!!

free text box

testing issues

required some info on visual web developer 2005 express edition

   
  Privacy | Contact Us
All Times Are GMT