Solved

WebCombo

Posted on 2004-05-03
5
516 Views
Last Modified: 2007-12-19
How do I set the width of a column of a webcombo, I tried this to see whether the width of the combo changes. The width doesnt change though..

Combo_ApptNm.Columns(0).Width.Pixel(445)



Moiz
0
Comment
Question by:Moizsaif123
  • 2
  • 2
5 Comments
 
LVL 27

Expert Comment

by:planocz
ID: 10978025

Hi Moizsaif123,
Check your html code, should read something like this...

<asp:combobox id="MyCombo" runat="server" CssClass="standard-text" Width="232px" AutoPostBack="True"></asp:combobox></td>
0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 10978213
I am using Infragistics and the webcombo is an infragistics control




Moiz
0
 
LVL 15

Accepted Solution

by:
liebrand earned 140 total points
ID: 10988105
Moiz,

I can only get the column to be resized if you have the webcombo databound. If you manually add rows to the webcombo, it does not appear to work. If I were you, I would contact their support -- they are very responsive, and about 99% of the time have an answer (good or bad).

Let me know if you get it figured out.

liebrand
0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 10995739
Im sorry I couldnt reply sooner, I found a way to set the width of the combo. instead of having the columns created on runtime, I created them on design time, and the rows are created on runtime. so on design time I manually fixed the width and the height of the column and its framestyle width....




Moiz
0
 
LVL 15

Expert Comment

by:liebrand
ID: 10996405
Awesome!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now