Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1495
Creating webdropdown in code behind
posted

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 =

"ItemName"

wddField.DataBind()

tbCell =

New HtmlTableCell

tbCell.Controls.Add(wddField)