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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
liebrandCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.