WebCombo

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
LVL 4
Moizsaif123Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
liebrandConnect With a Mentor Commented:
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
 
planoczCommented:

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
 
Moizsaif123Author Commented:
I am using Infragistics and the webcombo is an infragistics control




Moiz
0
 
Moizsaif123Author Commented:
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
 
liebrandCommented:
Awesome!
0
All Courses

From novice to tech pro — start learning today.