Using the following code, I get errers elsewhere in the code that makes no sense. When Icomment out what you see below, the project builds fine. What the heck am I missing here?
Imports
Infragistics.Web.UI.ListControls
wddField =
New WebDropDown
wddField.ID = row(strTable &
"FieldID")
wddField.DataSource = objCommon.ReturnListItems(
"LookupList", "tatus")
wddField.TextField =
"ItemName"
wddField.ValueField =
wddField.DataBind()
tbCell =
New HtmlTableCell
tbCell.Controls.Add(wddField)
I got around this by setting EnableDropDownAsChild to false.
Hello,
Are you able to change the width of the Web Tab?
Let me know if you have any questions with this matter.
Sincerely,Duane HoytDeveloper Support EngineerInfragisticshttp://ko.infragistics.com/support
The rendered html of the WebDropDown is more like an input text box so the behavior is different than an regular html dropdown. In that case just make the width of the Web Tab longer.
This is working now, but you-know-who only knows what changed. I was off yesterday so maybe the computer had a chance to rest? :)
One more followup question. I have these inside a web tab, is there a way to make the drop down popup over the edges of the tab instead of staying within the tab edges and a scroll bar showing up? A regular html drop down just goes right over the edges.
What is row defined as and also what about objCommon?
You can remove the line wddField.DataBind() to see if it will run without errors and will display the list on the dropdown.
Let me know if this works for you.