Solved

WebCombo

Posted on 2004-05-03
5
527 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Looking for a link to download the latest .NET redistribution package 5 43
How to force output to ascii 2 62
CSS question 16 63
Call to SQL server times out 5 55
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…
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

751 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